The QB64 Edition

Full Version: Domain Board Game in QB64
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello everyone,

Domain is a 2 player board game I originally wrote in GW-BASIC on the Tandy 2000 computer close to 30 years ago. It was the first complex game I wrote with a lot of variables to keep track of. I start remaking it in QB64 almost a year ago, but ran into a lot of errors, mostly typos. Not all of them were syntax errors, though I wished they were, easy enough to fix. Most of my errors wrong variable names with wrong values. I fixed problem after problem and got fed up with it and got put on the back burner with the rest of my games I have problems with. I finally dug it back out and hopefully fixed everything.

The game is played with 2 sided Tetris like pices on a 9 X 9 playing board. With player 1 white and player 2 is blue. Players take turns placing a piece on the board. At the beginning of the game, players choose between STANDARD LEVEL, INTERMEDIATE LEVEL AND EXPERT LEVEL. Choosing STANDARD LEVEL, both player can pick any piece to play from a pool of pieces both players have access to. Choosing INTERMEDIATE LEVEL, the pieces are slip up and each player has an equal amount of each piece.

When playing the STANDARD AND INTERMEDIATE LEVELS, when a player plays a piece on the board that is beside an opponents piece, each opponent's piece beside it flips to the players color. In EXPERT LEVEL, all the pieces surrounding the piece flips to the opposite color including the player's own pieces.

If a player can no longer play any pieces they have left, their turn is skipped until neither player can play another piece and the game ends. The winner is the player who has most of the squares on the board covered with their color. Each piece points is equal to the number of spaces it takes up on the board.

At the beginning of the game, players choose 1, 2 or 3 to choose the LEVEL. After the LEVEL is chosen, player 1's smallest piece is displayed on the right side of the board. Using UP ARROW and DOWN ARROW will advance through the playable pieces they have left. Pressing ENTER will choose that piece and and a small cursor block will appear in the center of the board. Pressing BACKSPACE will allow the player top select a different piece to play. Each piece on the right side of the board has 1, 2 or 3 small colored squares on them that indicate how the piece will be positioned. The cursors on the board will reflect the same colors as the blocks on the piece. The cross only requires 1 cursor location on the board to indicate the center of the the piece. The L shaped piece requires 3 cursors on the board to indicate first the location of the corner of the L and then the location of each leg of the L. All of the rest of the pieces only has 2 cursor locations on the board. At any time before the piece is placed on the board, you can press BACKSPACE to re-select the previous cursor.

I would suggest playing a few practice games to get a feel for how the game is played and how to place pieces on the board.

I have included a copy of the rules to the game.

Hope you enjoy playing.


This was a very fun game as well, and I enjoyed it, though the UI (User Interface) took a little bit of getting use to, which appears to be the nature of the game any way.

But overall, this game really had me thinking, and I had a load of fun. It made me think of chess with all the thinking you will have to do, especially since you do not know what piece your opponent will play next.

Thank you so much for sharing this awesome game. I have never heard of it before (as with a lot of the games you have shared), and it makes me want to go out and buy them.

Walter Whitman
The Joyful Programmer
a.k.a: Waltersmind
Please visit my website at:
Please subscribe to my YouTube Channel at:
Please visit me at FaceBook:
Please follow me at Twitter:
Please follow me at Google+:
Please Visit me on Pinterest:
Please Visit me on LinkedIn:
Thank you for trying out my game. Glad you enjoyed playing. This was long overdue posting this game.

Reference URL's