Dominoes is the classic two player game where you take turns to place a domino on one open end of the domino board and try and beat your opponent by running out all your dominoes first or containing the lowest total points when nobody could make a move.


At the start of the game you and your opponent are assigned 7 dominoes.
The system would randomly choose a domino from either your dominoes or your opponent’s dominoes as the first-centre-domino to begin the game.
Each player then alternately takes a turn placing a suitable domino on one open end of the domino board.
After one player places a domino, the system automatically checks the dominoes in the other player’s hand.
If he isn’t able to make a move, his turn is skipped.
Then if both players aren't able to make a move, system would add up the total of tiles in each one and whoever has the lowest total wins the game.
If both players have the same points, it’s a draw game and nobody wins.

Useful Links

To start playing, use the links below to get a working example that will let you immediately play a full game of Dominoes then start tweaking the code to add your strategy.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License