I made a very simple Go board in Processing before. It has both a java and python scripting language Overview \ Processing.org .
It just does everything in a main while loop and it’s pretty easy to draw graphics to the screen.
Other than that I guess to just make a “Go board” you just need some lists or arrays and few functions to update the elements of the arrays, whether with a mouse click or with user input from a terminal for example. It can be a bit more complicated to implement a superko rule, so possibly Japanese rules might be simpler to start with.
Some other things that could be useful:
-
GitHub - eagleflo/goban: A go board made with Python and pygame. – apparently the first thing that came up for me when googling “Go board python”, supposedly made with pygame. I don’t know if it’s any good, if it works etc, but sometimes it’s nice to eyeball the amount of code one might need to write to get started.
-
GitHub - nikzaugg/Go-Game: Simple implementation of the Japanese board game Go – Similarly just Googling to see what other people have done, uses pyglet library apparently.
-
GitHub - lxucs/go-game-easy: A simplified version of Go game in Python, with AI agents built-in and GUI to play. – I didn’t read all of its dependencies.
-
Manning | Deep Learning and the Game of Go I had a friend who started using this book to write a go program and an ai, but I think gave up on it after a while and moved onto writing an ai for a talf game instead, but I think it was reasonable and used python. It does discuss how to implement things like the superko rule etc. I can’t say if it’s worth the price though.
Maybe it’s helpful to someone