Initial commit of MPLABX version

This commit is contained in:
A.M. Rowsell 2025-07-30 21:48:16 -04:00
commit d80b03bdf0
Signed by untrusted user who does not match committer: amr
GPG key ID: E0879EDBDB0CA7B1
10 changed files with 251 additions and 0 deletions

29
Game.hpp Normal file
View file

@ -0,0 +1,29 @@
/*
* File: Game.hpp
* Author: amr
*
* Created on July 30, 2025, 9:22 PM
*/
#ifndef GAME_HPP
#define GAME_HPP
#include <stdint.h>
#include "Piece.hpp"
class Piece;
enum Players { PL_WHITE, PL_BLACK };
class Game {
public:
Game();
void resetGame(void); // reset the board to a fresh state
uint8_t makeMove(Piece piece, Square start, Square end);
private:
Players currentTurn = PL_WHITE; // start with white
};
#endif // GAME_HPP