https://github.com/alokmenghrajani/go-chess
A minimalistic chess program written in Go.
https://github.com/alokmenghrajani/go-chess
chess-engine golang
Last synced: 11 days ago
JSON representation
A minimalistic chess program written in Go.
- Host: GitHub
- URL: https://github.com/alokmenghrajani/go-chess
- Owner: alokmenghrajani
- Created: 2015-08-03T00:20:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-09T00:27:03.000Z (over 9 years ago)
- Last Synced: 2025-03-26T00:03:00.579Z (28 days ago)
- Topics: chess-engine, golang
- Language: Go
- Size: 137 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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.