You are not logged in or registered. Please login or register to use the full functionality of this board...
The QB64 Edition
Foursight Board Game in QB64 - Printable Version

+- The QB64 Edition (http://www.thejoyfulprogrammer.com/qb64/forum)
+ Thread: Foursight Board Game in QB64 (/showthread.php?tid=394)



Foursight Board Game in QB64 - Donald Foster - 06-01-2015 06:17 PM

Hello all,

Foursight is a 2 player board game I originally wrote over 25 years ago in GW-BASIC. I have slightly modified the graphics to make the pieces look more 3D. I believe there is also a iphone app game. What makes this game very interesting is that you play half of your pieces and your opponent plays the other half of your pieces.

The object of the game is to either get 4 of your pieces in a row or get 4 sets of 3 in a row through a series of rounds. Rows of 3's and 4's can be form up and down, across and diagonal.

The game board is a 4 X 4 with places to stack your pieces to be played. There are also on the top and bottom of the board 5 positions to place a scoring marker numbered from 0 to 4. Each player has 8 white base pieces (2 stacks of 4), 4 of their color playing pieces and 4 of their opponent's pieces. Player 1 is gold and plays the pieces on the left side of the board and player 2 is red-orange and plays the pieces on the right side of the board. Player 1 has a gold arrow as a cursor to select a stack of pieces to play 1 from and player 2 has the red-orange cursor.

After choosing which color piece o play by pressing ENTER with arrow pointing to the desired stack, another cursor (white) appears on the game board. Use ARROW keys to move the cursors. If after you choose a piece to play and you wish to change your mind, press BACKSPACE to choose a different piece.

The basic rules are: Players take turns placing a piece on the board. A white base piece must be played at a location before a colored piece can be played at that same location. Only 1 colored piece can be stacked on a base piece. As each player creates a 3 in a row, their color marker will advance. If after all the pieces are played on the board and neither player has a 4 in a row or have no made 4 3 in a rows, the
board is reset and another round starts.

At the beginning of the game, you have the option of playing the Manic variation. On this option, players only play on 1 level, no stacking pieces on the game board. Each player has 3 of their color pieces, 3 of their opponent's color pieces, 1 white piece which is played as a wild piece and 1 white dead piece (upside down). The white wild piece can be used to make patters for both players. So, it is possible for both players to form 3 in a row and 4 in a row on the same move. Not listed in the rules, but I added to the game: If after placing a wild piece, there is a 4 in a row formed for both players, the game is a draw. And if after placing a wild pieces the 4th 3 in a row is made for both players, then the game is a draw. If after placing a piece and more than 4 3 in a row has been made, the player is only credited for 4.

I found a unique situation while playing this game with myself, you might want to try to avoid. If player 1 plays up all 8 of their base tiles and player 2 is stacking a colored piece on each one, when it gets back to player 1's turn again, they have no legal moves left, because they have no more base piece left to play and they can't play a colored piece because there's no vacant white base pieces on the board. After thinking about this problem, I decided to do nothing, but advise of the situation. The computer won't find that situation for you. You'll just have to restart the game.

I have included a copy of the rules.

Hope you enjoy playing.

Donald