Tuesday, January 13, 2015

Mastermind

I quite like JavaScript and wanted to know a little more about drag and drop so I decided to make an online version of Mastermind.

Visual Studio makes it easier to write JavaScript.  It has good IntelliSense and you can quickly locate your functions and variables. You can also debug the JavaScript by stepping through the code line by line.

In the game, you can drag the pieces from anywhere.  For instance you can take a piece from the row below and drag it up.

The game can be played here: mastermind.azurewebsites.net.

If you are curious about the JavaScript then you can download it from here and save it to your computer.  (You may get security warnings).

Rinus

No comments:

Post a Comment