Chess NEA Project
Find a file
localuser e9aa6d4927
All checks were successful
Build executables / Run tests (push) Successful in 1m17s
Merge pull request 'Feature/add game bar' (#10) from Feature/add-game-bar into main
Reviewed-on: #10
2026-07-08 01:03:02 +01:00
.forgejo/workflows Fix release workflow 2026-06-24 12:05:22 +01:00
assets Add game clock functionality and integrate into a new UI GameBar. Added timeout and insufficient material end conditions. 2026-07-08 01:01:33 +01:00
src Add game clock functionality and integrate into a new UI GameBar. Added timeout and insufficient material end conditions. 2026-07-08 01:01:33 +01:00
tests Offset board position by top bar height, transition to WindowDefaults dataclass for position offsets 2026-06-24 11:47:35 +01:00
.editorconfig Repo update (#1) 2026-06-21 00:20:49 +01:00
LICENSE Big push, added a lot of functionality, notably en-passant being a hacky implementation 2026-05-29 16:40:31 +01:00
pytest.ini Offset board position by top bar height, transition to WindowDefaults dataclass for position offsets 2026-06-24 11:47:35 +01:00
README.md Fix badge caching 2026-06-21 00:36:11 +01:00
requirements-dev.txt Fix build dependency issue 2026-06-24 11:53:37 +01:00
requirements.txt Update CI 2026-06-21 15:25:55 +01:00

Chess NEA Project

Build Release Python License

A chess game, written in Python with the pygame-ce library, for my A-Level OCR Computer Science NEA.

Requirements

  • Python 3.10 or newer
  • Git, or download a .zip of the source code
  • pygame-ce package

Installation

Windows Powershell:

git clone https://git.tsbprodesk.co.uk/localuser/chessnea.git
cd chessnea
py -m venv venv
.\venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt
python src\main.py

Linux/macOS:

git clone https://git.tsbprodesk.co.uk/localuser/chessnea.git
cd chessnea
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
python3 src/main.py

Development

Follow the same steps as Installation, but ensure you use requirements-dev.txt instead of requirements.txt. Run unit tests with:

Linux/macOS:

cd chessnea
source venv/bin/activate
python3 -m pytest -n auto -q

Windows Powershell:

cd chessnea
.\venv\Scripts\Activate.ps1
python -m pytest -n auto -q