Yongkang's web game practice.
It includes 3 games:
-
Hammer: a sport game. Use some simple maths to calculator hammer flying curve. The digital number generation in the visual LCD screen is interesting.
-
Tank: an interesting game. User need to control the several switches to assemble tank in different machine factory to destroy enemy.
-
Maze: a simple game but use random Maze generation algorithm. The fog generation is a little tricky.
You can freely use the source to play/learn/modify/redistributation.
-
Download the source.
-
You can package them into a zip file and run them in node-webkit
-
Or you can directly open the index.html in a browser.