This is a very very bad amalgamation of the names 'Guile' and 'Gomoku' but I'm sticking with it. The idea is to build a gomoku-like game in guile in the process of learning to use guile
Gomoku is a strategy board game originating from Japan, where it is referred to as gomokunarabe.
You can read more on Wikipedia
Guiloku is an implementation of Gomoku in Guile
Guiloku depends on:
- Install GNU Guix - I recommend the binary installation
- Clone Sly
git clone git://dthompson.us/sly.git
- Change directory into sly:
cd /path/to/sly
- Build and install Sly
- Set up build environment:
guix environment -l guix.scm
- bootstrap build environment and configure:
./bootstrap && ./configure
- Build sly:
guix build -f guix.scm
- Install sly:
guix install -f guix.scm
- Set up build environment:
- Clone guiloku:
git clone [email protected]:fredmanglis/guiloku.git
- Change directory into guiloku:
cd /path/to/guiloku/
- Run guiloku
guile -s guiloku.scm
Note: Annotations in red do not appear in actual screens
On launch:
2 moves in:
And a win whenever there are 5 consecutive stones:
The intention is to implement a simple game of Gomoku, for fun and also to learn both GNU Guile and Sly
It is also meant to teach me how to use the GNU Guix package manager
I intend to add/implement some of the following features and fixes:
- Make the game playable manually
- Figure out the entire flow of signals and how they are updated
- Fix failure caused by pressing 'n' to start new game
- Implement automatic game completion when a player gets 5 consecutive stones
- Implement updates to status messages
- Add theming (background and go-stones)