Skip to content

Instantly share code, notes, and snippets.

View Digikid13's full-sized avatar

Justin Cruz Digikid13

  • Disqus
  • San Francisco, CA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am digikid13 on github.
  • I am digikid13 (https://keybase.io/digikid13) on keybase.
  • I have a public key whose fingerprint is AFFD B70B 426A 28A3 5139 7B2F 1F50 2658 F9DD B752

To claim this, I am signing this object:

Deck Build:
5 Ranged
3 Melee
2 Flying
1 Spell
2 AoE
2 Tank(ish)
Average Elixir Cost: 4.1 (Decent)
Goal is to have a good mix ground and air units, and low and high cost units. This deck lets me play Prince & Hog, wait for 2 elixir and play minions for a hard push. Also I can play musketeer and spear goblins behind a tower to deal with a push along with some minions.
@Digikid13
Digikid13 / bpm.js
Created October 5, 2015 05:04
Accurate BPM timer
/**
* This code is based off http://www.sitepoint.com/creating-accurate-timers-in-javascript/
* This is my adaptation to make it work with bpm, using this you can create abstract timers that are based off other measures
*/
// bpm is the number of beats in a minute
var bpm = 128;
// stop is just a var to let you stop the loop from continuing manually
var stop = false;