Monday, March 12, 2012
GnuGo + Node.JS == Go babies!
No such problems with GnuGo (so far), just ran this little test alternating black/white peices on a column and displaying an ascii board (not very useful in the grand scheme, but nice to see things are working much more smoothly :D)
Maybe I'll write an actual module for hooking this up in a nice abstract and easy to use way. I was looking at the node-redis codes last night to get ideas as I was trying to write a module for Fuego (glad I gave up, it seems to be a more powerful computer go player, but all I'm interested is the system for game rules, score keeping and stuff like that).
This bridge will open a lot of web-based go goodies once established :)
One final goal for this is a webpage where everyone can vote on where the current color should move next and after 12 hours or so, count votes and place the stone: a game through democracy/hivemind antics.
and then there's the obvious thing to do: browser-based realtime games against people/cpu with socket.io!
So right now I'm at the point of deciding whether to work hard on this backend glue, or start hacking up an HTML5 canvas/codes for the frontend side of things. Because I could say "ah screw the rest of the Node.JS devs that would like to have a nice gnugo module" and just make everything explicit (vs abstract) for the voting app.