more documention. now there should be enough info to understand the basics.
This commit is contained in:
parent
ced615642c
commit
f1082743de
1 changed files with 18 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue