Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Versioned go games and shit

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 gogogo
Octocat-spinner-32 logs
Octocat-spinner-32 run
Octocat-spinner-32 tmp
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.org
Octocat-spinner-32 go-go-web.py
Octocat-spinner-32 go-go.py
Octocat-spinner-32 mongrel2.conf
Octocat-spinner-32 requirements.txt
Octocat-spinner-32 setup.py
Octocat-spinner-32 tests.py
README.org

Version controlled Go game/client/library

INSTALL

$ git clone git://github.com/sshirokov/gogogo.git

$ cd gogogo

$ virtualenv –no-site-packages ve

$ . ve/bin/activate

$ pip install -r requirements.txt

$ python setup.py develop

$ go-go.py

Side Effects

This will create a `pwd`/data/default directory as a bare git repo

It will store the game board there as board.json

Remove the repo to remove state

Controls

The default driver will tell you when your game is over and the score

To run the web server

./go-go-web.py #To launch the web server

Show state

$ go-go.py

Move

$ go-go.py x y #(0,0) -> (18, 18) ; (x, y) with (0,0) at bottom right (18, 18) top right

Skip

$ go-go.py –skip

TODO-list

Maintain multiple branches

Need a way to update a default game and to be able to rewind and start a new named game.

Something went wrong with that request. Please try again.