Do slightly better math for random NPC placement.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>
Implement NPCFactory and rudimentary AI.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>
Merge branch 'master' of https://github.com/suicidepills/hack-n-slash-sprint

Conflicts:
	js/states/play-state.js

Signed-off-by: Zach Bennett <xslingshot@gmail.com>
Implement baseSpeed, maxSpeed, and speedMultiplier.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>