Domain Board Game in QB64
06-07-2015, 05:41 PM
Post: #1
 (Print Post)
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.


Attached File(s) Image(s)

.bas  Domain.bas (Size: 27.75 KB / Downloads: 36)
.pdf  Domain Board Game Rules.pdf (Size: 120.47 KB / Downloads: 85)
Find all posts by this user
Like Post
06-12-2015, 03:37 PM
Post: #2
 (Print Post)

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:

Dedicated to working with computer programming hobbyists, tinkerers, amateurs, and enthusiasts.
Find all posts by this user
Like Post
06-13-2015, 12:15 PM
Post: #3
 (Print Post)
Thank you for trying out my game. Glad you enjoyed playing. This was long overdue posting this game.

Find all posts by this user
Like Post

Forum Jump:

User(s) browsing this thread: 1 Guest(s)

QB64 Member Project - Blokus
QB64 Member Project - STxAxTIC 3D World
QB64 Member Project - Kings Vallery version two
QB64 Member Project - Othello
QB64 Member Project - Touche
QB64 Member Project - Isolation
QB64 Member Project - Bowditch curve
QB64 Member Project - Full Color LED Sign
QB64 Member Project - 9 Board
QB64 Member Project - Sabotage
QB64 Member Project - Martin Fractals version two
QB64 Member Project - Pivot version two
QB64 Member Project - Kings Court
QB64 Member Project - Line Thickness
QB64 Member Project - Color Rotating Text
QB64 Member Project - Spinning Color Wheel
QB64 Member Project - Basic Dithering
QB64 Member Project - Exit
QB64 Member Project - Martin Fractals version three
QB64 Member Project - Dreamy Clock
QB64 Member Project - Color Triangles
QB64 Member Project - Quarto
QB64 Member Project - Foursight
QB64 Member Project - Red Scrolling LED Sign
QB64 Member Project - Kobolts Monopoly
QB64 Member Project - Dakapo
QB64 Member Project - ARB Checkers
QB64 Member Project - OpenGL Triangles
QB64 Member Project - Spiro Roses
QB64 Member Project - MAPTRIANGLE
QB64 Member Project - Domain
QB64 Member Project - Score 4
QB64 Member Project - Rubix's Magic
QB64 Member Project - Martin Fractals version four
QB64 Member Project - Inside Moves
QB64 Member Project - Pivet version one
QB64 Member Project - Algeria Weather
QB64 Member Project - Amazon
QB64 Member Project - Martin Fractals version one
QB64 Member Project - Splatter
QB64 Member Project - RGB Color Wheel
QB64 Member Project - Connect Four
QB64 Member Project - Swirl
QB64 Member Project - Kings Valley verion one
QB64 Member Project - Rotating Background
QB64 Member Project - Point Blank
QB64 Member Project - Qubic
QB64 Member Project - Overboard
QB64 Member Project - Input