Skip to content

convert a procedural simple canvas game code into ES6 code.

License

Notifications You must be signed in to change notification settings

Anuragjain89/es6-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ES6-DEMO

This demo contains a simple canvas game implemented in ES6.

Some parts have deliberately not been converted to ES6 and are left as an exercise for the participants to identify and fix.


A gulp task has already been configured to transpile the source to ES5 code. Please follow the below steps to get started.

  • Install gulp globally.
sudo npm install -g gulp
  • Navigate to the root folder and type in npm install to install local dependencies.
npm install
  • Now type in gulp to transpile the ES6 code into ES5 and generate a bundle file.
gulp
  • Your game is all set. Open the index.html in a browser to see the demo.

About

convert a procedural simple canvas game code into ES6 code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published