The QB64 Edition

Full Version: Foursight Board Game in QB64
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Another Great game Donald Smile where do you find them ?

I have another idea for you...have you ever thought about opening a "History of Board Games Museum"


Anthony.


Below are some Computer Games Museum & Historic...


































Anthony,

Thank you for the replay and trying out my game. I did add a little 3D to this game, not much. The videos you posted are very interesting.

Donald
Donald,

I am going to have to play this game a little bit more, as I haven't quite figured out what I am suppose to do.

The graphics are awesome, and the UI was very easy, but my lack of understanding the game made me scratch my head a bit. I will have to read up on the game to learn how to play it.

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: http://www.TheJoyfulProgrammer.com
Please subscribe to my YouTube Channel at: https://www.youtube.com/channel/UCkkN3_B...c9a1MoUr1A
Please visit me at FaceBook: https://www.facebook.com/thejoyfulprogrammer
Please follow me at Twitter: https://twitter.com/TheJoyfulProg
Please follow me at Google+: https://plus.google.com/+Thejoyfulprogrammer/posts
Please Visit me on Pinterest: https://www.pinterest.com/waltersmind/
Please Visit me on LinkedIn: https://www.linkedin.com/pub/walter-whitman/18/8b4/832
Walter,
The game is really easy to play. At the beginning of the game when you asked to play the Manic, just select No til your used to the regular version first. The game is a simple 4 in a row game. However, before a colored piece can be played, there must white base piece played in that position first. Take a look at the second screenshot I posted, all of the colored pieces are played on op of a white piece. And there's a empty base piece played also. One of the pictures I posted might be a bit confusing. There's a picture of white pieces with 2 colored pieces stacked on top of it. That is NOT how the game is played and hey shouldn't have taken a picture with that arrangement. But, I used the picture because it shows a good image of all the colors. The second thing you should keep in mind is that you are playing half of your opponent's pieces and they are playing half of yours. So be careful of what pieces you have left to play and where you play the base pieces. Your also opponent wins if you make a four in a row of their color and vise versa. If after all the pieces are played and no winner, another round starts. Also, a player wins who ever gets 4 sets of 3 in a row.

Donald

I found a problem with the version I uploaded. It only looked for a win for the current player. Keeping in mind that the opponent can be the winner also, I modified the code to look for both winners. I have included a updated version attached here.
Reference URL's