Skip to content
A minimalistic chess program written in Go.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
core Fixes a bug (with move generation) + more tests. Aug 1, 2015
logger Split ai into mate & logger. Aug 2, 2015
mate Split ai into mate & logger. Aug 2, 2015
selfmate A few more test cases. Aug 9, 2015
README.md Updates README. Aug 3, 2015

README.md

A minimalistic chess program written in Go.

The main purpose for writing this was to spend a few days hacking on some Go code to improve my coding skills (specifically my Golang knowledge).

I proceeded in the following steps:

  1. parse and pretty print a chess board
  2. generate a list of valid moves
  3. write some code to solve "mate in N" puzzles, use some well known puzzles as test cases.
  4. write some code to solve "selfmate in N" puzzles, use some well known puzzles as test cases.

Overall I'm pretty happy to have achieved both: I have a piece of code which solves chess puzzles and I have significantly improved my knowledge of Go. Some parts of my code are a little ugly, but I don't think it's worth my time polishing this side project.

You can’t perform that action at this time.