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 (

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: