more documention. now there should be enough info to understand the basics.

This commit is contained in:
phear 2005-09-06 19:04:28 +00:00
parent ced615642c
commit f1082743de

View file

@ -11,6 +11,24 @@ want to create your own goban images? Simple: just replace the images in
imgsource/ with the desired ones. then run generate_goban_images.py and
the new images get written to img/.
------------------------------------------
overview of the files:
main.py - the main script. Essentially a wrapper that prints the
traceback if something went wrong.
login.py - this file contains functions for login and game
selection/modification.
goban.py - code for displaying a goban as a html page.
psql.py - all functions directly accessing the database.
init_webgo.py - re-initialize the whole game. deletes everything and
sets some defaults.
helper.py - small functions for string manipulation etc.
generate_goban_images.py
- recreate the goban images. just run from console.
------------------------------------------
coding guidelines
tab == 4 whitespaces.
function names are lowercase with _ as a seperator.
------------------------------------------
some code snippets for reference: