This project was designed to apply the knowledge of object-oriented programming.
In this project, each piece was coded as an object with specific attributes. Furthermore, multiple classes were created to facilitate the game's design.
I was responsible for creating the movements of the knight, king, and rook. I also worked on handling the exceptions for each piece.
I worked on the logic that creates a fake board to simulate the requested movement. Then, I checked for any expectations and either provided an exception to the terminal if the movement was not possible or made the current board equal to the fake board if the movement was legal.
I helped debug the code with the rest of my team, and I contributed to the code for the makefile and the aesthetic of the board.
Our final version also includes a custom piece that resembles an Among Us character. It has its own logic but still operates within the framework of the game.




You may also like

Back to Top