From f1082743dea1ec56b1a9905aa6c860617d0d8484 Mon Sep 17 00:00:00 2001 From: phear Date: Tue, 6 Sep 2005 19:04:28 +0000 Subject: [PATCH] more documention. now there should be enough info to understand the basics. --- documentation/development/README_DEVEL | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/documentation/development/README_DEVEL b/documentation/development/README_DEVEL index 031671a..91d90c2 100644 --- a/documentation/development/README_DEVEL +++ b/documentation/development/README_DEVEL @@ -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: