game logic to split from html
install jasmine
add specs
Merge pull request #1 from i2bskn/master

split of game logic and add specs.