From 27b293c3022bafeb0af3452dd2f5c9b3658e4b33 Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Thu, 31 Jul 2025 16:32:25 -0400 Subject: [PATCH] dev: Removed Game class as redundant. gitignore updates. --- .gitignore | 2 ++ Game.cpp | 13 ------------- Game.hpp | 29 ----------------------------- 3 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 Game.cpp delete mode 100644 Game.hpp diff --git a/.gitignore b/.gitignore index da897e4..f034f68 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/Game.cpp b/Game.cpp deleted file mode 100644 index 924b1da..0000000 --- a/Game.cpp +++ /dev/null @@ -1,13 +0,0 @@ -/* - * File: Game.cpp - * Author: amr - * - * Created on July 30, 2025, 9:22 PM - */ - -#include "Game.hpp" - -Game::Game() { -} - - diff --git a/Game.hpp b/Game.hpp deleted file mode 100644 index 3716a55..0000000 --- a/Game.hpp +++ /dev/null @@ -1,29 +0,0 @@ -/* - * File: Game.hpp - * Author: amr - * - * Created on July 30, 2025, 9:22 PM - */ - -#ifndef GAME_HPP -#define GAME_HPP - -#include -#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 - -