Since I learned go, my usual pet-project is to implement a functional go board that 2 players could use to play go on. It’s usually pretty crappy and I abandon it at some point, as I don’t intend it to be actually used. It’s mainly to have something to work on while I try to familiarize myself with a new platform (or not really new, but my previous experience is severely outdated).
At first I couldn’t remember the last time I did that, but I just recalled that the last time was only a few years ago when I decided I needed to catch up a bit with web development (in my job I hardly do that at all). So I made this quick and dirty contraption:
It’s in Dutch (sorry about that).
In the screen shot above (from white’s point of view), black just resigned after white captured a stone and it says “You win by Infinity points” at the top. At the bottom it says that white has 1 prisoner.
This is the main page (https://goserver.goratings.eu/), which represents a playing room. Inside the room are tables with a go board and chairs:
The symbol in the upper left represents your ID. “Bordmaat” means “Board Size”, “Actie” means “Action”.
Each row below represent a table with a go board and chairs. In this case there is one table with a 9x9 board and one with a 13x13 board. New empty tables will be spawned when existing tables are occupied. You can sit down at a table by clicking “Zitten” (=sit down).
You can open another browser tab (on the same computer or a different one, or a phone) on the home page to represent a different player wondering around in the playing room, looking for game to play or watch.
As soon as 2 players sit at a table, the game starts.
Any more users that join the table will be spectators (“Kijken” = Watch).
Those table mechanics are somewhat similar as the Yahoo Games version of go used to be (or maybe it still exists?).
I also stole the visual representation of the go board.
I never finished it though (scoring is one important missing piece) and I’m pretty sure it’s quite buggy.
It is even somewhat embarrassing to show it, so please don’t report bugs, as I have no intention of maintaining that thing (I don’t even know if I still have the source code laying around somewhere).