Skip to content

webcodecs/jsminesweeper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsminesweeper created with es2015 code

How to play

No server needed, just open the index.html file in the browser.

But first build the JS file as described below!

Transpile es2015 to es5 JS

I created this project to practice a bit modern javascript. To transpile it to es5 JS use babel. First install babel and the es2015 preset:

npm install

and then build into /lib either with npm:

npm run build

or directly with babel:

babel src --no-comments --minified -o lib/game.js

when using babel, simply add the -w argument to watch for changes during editing the src files:

babel src --no-comments --minified -w -o lib/game.js

TODO

Make apps out of it for linux, mac and windows with http://appjs.com/ and phone apps with http://phonegap.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 83.1%
  • HTML 16.9%