dev: Removed Game class as redundant. gitignore updates.

This commit is contained in:
A.M. Rowsell 2025-07-31 16:32:25 -04:00
commit 27b293c302
Signed by untrusted user who does not match committer: amr
GPG key ID: E0879EDBDB0CA7B1
3 changed files with 2 additions and 42 deletions

2
.gitignore vendored
View file

@ -21,6 +21,7 @@
*.properties
*.production
*.debug
*.yml
html/
nbproject/private/
nbproject/Package-*.bash
@ -34,6 +35,7 @@ funclist
nbproject/Makefile-*
disassembly/
.generated_files/
chessmcu_default/
# End of https://www.toptal.com/developers/gitignore/api/mplabx

View file

@ -1,13 +0,0 @@
/*
* File: Game.cpp
* Author: amr
*
* Created on July 30, 2025, 9:22 PM
*/
#include "Game.hpp"
Game::Game() {
}

View file

@ -1,29 +0,0 @@
/*
* 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