Author Topic: Eigenstate Board Game in QB64  (Read 3048 times)

0 Members and 1 Guest are viewing this topic.

Offline Donald Foster

  • Newbie
  • Posts: 63
    • View Profile
Eigenstate Board Game in QB64
« on: November 07, 2020, 10:11:16 pm »
Hello Everyone,

Eigenstate is a 2 player abstract strategy board game. The game is played on a 6 X 6 checkered like game board, although the light and dark squares have no importance in the game.

Each player has each 6 identical pieces, player 1 with 6 dark pieces and player 2 with 6 light pieces. The pieces are placed on their back row respectively.  There is a red dot in the center of each piece representing current position in relationship to directions and number of spaces it can move. Don’t confuse this with it’s actual location on the board. There are 24 holes in the piece surrounding the center red position on each piece. These holes when filled with a peg denotes positions on the board this piece can move in future moves in relation to where it currently located. At the start of the game, player 1, who is moving up the board from its starting location, has a peg in the position 1 up from the red center already installed. This means that piece can only move forward up the board 1 space. Whereas player 2 has a peg installed on the lower side of the peg indicating it can only move downward 1 space. As play continues, each player will be placing more pegs onto their pieces to add more choices of direction and distance a piece can move on future moves. Each player is in direct control of how a piece can move in future moves. Also, each piece can move like a Knight in Chess in the sense that it can jump over other pieces and can not be blocked. We will discuss when and how pegs are added to pieces shortly.

Each player’s turn consists of 2 moves: First a player chooses 1 of their pieces and moves it to any playable location on the board from their position according to the directions and distances from the center red dot. If no legal moves are possible, then that portion of their turn omitted. Then they make their Second move by placing 2 pegs on any of their pieces on the board. The 2 pegs be placed on the same piece if wished or on 2 separate pieces. Then their turn ends and goes to the next player.

When a piece lands on another pieces, during the first part of the move, that piece is captured and removed from the board including player’s own piece if captured.

The game ends and a winner is declared in 1 of 2 situations: If you reduce you opponent down to 1 piece, you win. Or if both players has exactly 2 pieces left each and you have filled all 24 holes with pegs on 1 of your pieces, you win.

Computer Game Play:
At the start of your turn, you’ll see on the right side of the screen your piece indictor representing your turn. You are asked to choose a piece to move. Left click on the piece you wish to move. A red cursor will surround that piece indicating it has been selected. Other black cursor(s) will appear on the board indicating where your legal moves are. If you change your mind and want to move a different piece, left click on the same piece and it will be deselected. When clicking on 1 of the playable locations, your piece will move to that new location. If during this turn you have no playable pieces, there will be a message displayed “You have no Playable Moves”, “Press <ENTER> to Continue”. Next, you are asked to choose a piece to place a peg and also mentions that you are placing the first peg. Left click on the piece you wish to place a peg on. A larger copy of the piece chose will be drawn on the right side of the board. You are asked to choose an empty peg hole to place a peg. Left click on the empty hole and the enlarged piece will be removed and a peg will be added to the chosen piece. Then you are asked to choose the second piece to add a peg. You can pick the same piece again or choose a different piece. After placing the second peg, the turn passes to the other player until there is a winner.

This game summery can be downloaded and printed as a reference.

Hope you enjoy playing
Donald

* Eigenstate Board Game.bas (Filesize: 12.25 KB, Downloads: 201)
* Eigenstate Board Game Rules.docx (Filesize: 311.38 KB, Downloads: 201)
* Eigenstate Board Game Summery.docx (Filesize: 14.33 KB, Downloads: 203)
Eigenstate Screenshot.png
* Eigenstate Screenshot.png (Filesize: 51.78 KB, Dimensions: 1037x761, Views: 224)