MiniGame-Madness
Public Member Functions | List of all members
Chess Class Reference

A class that represents the game of Chess. More...

#include <Chess.h>

Public Member Functions

void generateBoard ()
 Generate the game board. More...
 

Detailed Description

A class that represents the game of Chess.

Member Function Documentation

◆ generateBoard()

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.


The documentation for this class was generated from the following files: