Skip to content

etleyden/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethan's Chess Implementation

Repository Guide

subdirectory what's in it
board basic game logic
test perft tests

Use/Run

Task Command
Initial Build (Windows using g++) cmake -S . -B build -G "MinGW Makefiles"
Initial Build (Arch Linux using g++) cmake -S . -B build -G "Unix Makefiles"
Simple Build cmake --build build
Build and run tests: cmake --build build --target run_tests
Install the library [untested]: cmake --install build --prefix /usr/local
Clean up build artifacts [untested]: cmake --build build --target clean

Current Implementation Plan

  • Initialize the Board from FEN notation (pieces only)
  • Write tests for FEN notation -> board (pieces only)
  • Write tests for basic movement generators for each piece. This will use the FEN notation board generation. (mock underlying logic)
  • Write basic movement generators. Movement generators must come in two varieties: a. return a bitmask of valid moves, b. return a string list of valid moves (i.e. "e1 e4"). Not concerened about en passant, castling, or other special moves at this point.
  • Add in tests + logic for special moves
  • Write Perft tests
  • Implement text-based gameplay interface
  • Implement graphical gameplay interface
  • Other cool stuff probably

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published