MineSweeper
From APIDesign
(Difference between revisions)
(New page: Minesweeper is a classical computer game available on each Windows since the initial introduction of Windows 3.0. I needed a demonstration for ...) |
|||
Line 1: | Line 1: | ||
[[wikipedia:Microsoft_Minesweeper|Minesweeper]] is a classical computer game available on each [[Windows]] since the initial introduction of [[Windows]] 3.0. | [[wikipedia:Microsoft_Minesweeper|Minesweeper]] is a classical computer game available on each [[Windows]] since the initial introduction of [[Windows]] 3.0. | ||
- | 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]]), but today I achieved another milestone: the [[MineSweeper]] module is available for every user of [[NetBeans]] 8.0! | + | 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]]), 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 [http://plugins.netbeans.org/plugin/53864 plugin page]! | Get the module via ''Tools/Plugins'' or visit its [http://plugins.netbeans.org/plugin/53864 plugin page]! |
Revision as of 12:21, 15 April 2014
Minesweeper is a classical computer game available on each Windows since the initial introduction of Windows 3.0.
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), 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!
In case you are interested in trying the code yourself, here is a way to get 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!