This project was created for udacity's nanodegree, the purpose is to develop a game using javascript best practices and very fun to play :)
You can play online going to: link
The player has to reach the water without colliding with any bug along the way, use UP DOWN RIGHT and LEFT key to move the player
The project was created using typescript/html/css, to be able to compile it you should first install typescript compiler:
$ npm install -g typescript
Then enter /ts folder and type:
$ tsc -t es6 --outDir ../js/dist app.ts
Opening html directly from your machine won't work, because app.js is loaded as a javascript module, so you should run a local web server in root folder:
$ npm install live-server
Then go to root folder of project(/) and start the server:
$ live-server