A simple human vs CPU TicTacToe game, powered by Go. You can play it here: http://hectorj.net/TicTacToe/
There is currently 2 ways of using this package:
- Build your own UI and just use the library
go run TicTacToe/web/server/main.go -listen=":80"
will start an HTTP server on port 80
Coming soonish: a GopherJS version
I made this mainly to train myself in Go, but I chose TicTacToe because this game was one of my first successful project (as in working, finished, and doing someting "useful") as a kid.
At the time I was using C++ and Qt4 and implemented the minmax algorithm found on the internet. You can see my old code there: https://github.com/hectorj/TicTacToe-qt4