In an interactive terminal, enter
python ChessVar.py
and see:
Note: this game uses unicode chess characters, designed for white pieces to look white on a white/light background. So the piece colors appear inverted on a black background. WHITE is the pieces that start on the bottom of the board, and BLACK is the pieces at the top of the board.
For better Black/White visual accuracy, try a light theme, like the "Novel" theme on the macOS Terminal (pictured below) or PyCharm's light mode.
Developed for an Intro to Computer Science II (Spring 2024) assignment. The original commit history is preserved. This is a two-player game, with a focus on rule enforcement and game-state logic rather than a computer opponent.
A test file is included with a small set of working unit tests for core game logic. It also preserves testing notes and a commented-out manual integration test sequence originally embedded in ChessVar.py during development and later removed to satisfy Gradescope runtime constraints.
Original course assignment materials and design analysis are preserved in docs/,
including the original specification and planning notes.
This following web-based implementation was used as a reference when learning the Atomic Chess ruleset and exploring gameplay strategy: