gc
github.com/alokmenghrajani/go-chess
go get github.com/alokmenghrajani/go-chess
gc

github.com/alokmenghrajani/go-chess

A minimalistic chess program written in Go.

go get github.com/alokmenghrajani/go-chess
Readme

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.

GitHub Stars

11

LAST COMMIT

7yrs ago

MAINTAINERS

0

CONTRIBUTORS

1

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v0.0.0-20150809002639-8426ef0d3c33
1yr ago
No alternatives found
No tutorials found
Add a tutorial