Dominosa - domino board puzzle
|
|
Solving it
Dominosa represents a domino board, where all the pieces are placed on the board, and the user must locate those pieces.
The easiest way to understand the objective is to press the 'solution' button on the board above: it will show a valid solution of the puzzle (there can be many such solutions)
I first saw this game on the great Ubuntu remix distribution. The game itself is credited to O.S. Adler, who designed it on 1874
Development
I developped this game's version as a way to write again Javascript code (which I hadn't done for the best of 2 years). The logic of the game is very simple, and the implementation even simpler.
The original implementation fitted in 200 lines, extended to around 600 after proper comments were included, and some funcionality -show the domino pieces already allocated- added. And, even better, there are just a few places where cross functionality code had to be implemented.
It is tested under the latest versions (July 2010) of Firefox, Chrome, Safari, and Internet Explorer 6, 7 and 8.
Download
This file dominosa.zip contains the 3 files required for the game. It is distributed under GNU v3 license.
Copyright (C) 2010 Luis M Pena, lu@coderazzi.net This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses.