This is a homework assignment for my Game AI class, and of course, there're a lot more to be done. I tried to use grammar technique to build the platform.
The artwork is done by Kenney (http://www.kenney.nl/).
Control method is easy:
ENTER KEY --> Confirm
Z --> Fireball
X --> Jump
Arrow Keys --> directions
If you have trouble running the game on your broswer, it could be dowloaded here: https://www.dropbox.com/s/9ycdi5fdnma09pp/Lil%20Spaceman.jar?dl=0