text/gemini
I had been wanting, for the past few weeks, to build a playable board game over gemini. My having more or less finished a proof of concept today is timely given fox's post¹ about having made a gemini version of I Ching divination (super cool, check it out if you have not seen it). I have made the game Othello (sometimes called Reversi, though the rules differ very slightly).
=> gemini://rawtext.club/~sloum/cgi/othello/ You can play it here
Caveats:
* The CPU is the dumbest CPU player possible (it picks at random from the available legal moves), but will sometimes surprise you.
* Games that end up in a position where you would need to pass get stuck, as I have not built passing into the system yet and am deciding to be lazy about it since it doesn't happen that often in my experience.
* It is a little rough around the edges in terms of user experience.
The above having been said, have fun! I have enjoyed playing a few games. I only crashed molly brown once while working on it, though we are unsure what caused the crash as nothing was logged at the time of crash. I converted the logic from a JS version I made many years ago, so it is based on real old code for me and I only cleaned it up a little in the process. I'll probably wait a little bit, but I may convert my pico-8 cart² of Isola over to gemini. If that happens and goes well then maybe gomoku will be next after that. That would exhaust all of the board games I have written cpu players for (in order of quality of cpu play).
```
- - - - -
```
=> gemini://tilde.black:1965/users/fox/journal/20200716-i-ching.gmi ¹ Fox's I ching post
=> https://www.lexaloffle.com/bbs/?tid=29441 ² My Isola Pico-8 cart
This content has been proxied by September (ba2dc).