MiniGame-Madness
|
A class that represents the game of Chess. More...
#include <Chess.h>
Public Member Functions | |
void | generateBoard () |
Generate the game board. More... | |
A class that represents the game of Chess.
void Chess::generateBoard | ( | ) |
Generate the game board.
The board is represented as a 2D graph of ChessSquare structs.
Each square contains the type of the piece, the color of the player that owns the piece, and the color of the square.
The boards shape and size will change based on the number of players.