'. '

MineSweeper

From APIDesign

Revision as of 09:58, 21 May 2014 by JaroslavTulach (Talk | contribs)
Jump to: navigation, search

MineSweeper is re-implementation of classical computer game available on each Microsoft Windows since the initial introduction in version 3.1. Surprisingly my kids (who otherwise spend hours with tablets) knew nothing about the game until...

I needed a demonstration for DukeScript technology that is using Java to code the application logic and HTML to render its UI. I decided to write a MineSweeper game as a basic demo. I've managed to execute the demo in a browser (via TeaVM) and Android (via DlvkBrwsr), but today I achieved another milestone: the MineSweeper module is available for every user of NetBeans 8.0!

Get the module via Tools/Plugins or visit its plugin page and enjoy your productivity boost!

In case you are interested in trying the code yourself, here is a way to get the sources:

$ hg clone http://source.apidesign.org/html~demo/
$ cd html~demo/
$ hg up -C 3d99b96ffbd4
$ mvn install
$ cd minesweeper/
$ mvn -Pnbrwsr install
# generates target/minesweeper-1.0-SNAPSHOT.nbm

and the system generates an NBM (NetBeans module file) which can be installed into your NetBeans! Give it a try and let's make NetBeans better by using more DukeScript APIs! Don't forget that you can package the same application to run on Android, iOS or in a browser. Become a developer that can: Write once, run anywhere!

Personal tools
buy