A very Simple Python Based Scoring Engine
Currently In the works.
Note: See the current development branch for more featured, although bleeding edge, code.
python 2.5+
Python MySQLdb
MySQL 5.0+
Apache 2.2+
mod_python
In order for the side to work, mod_python must be installed and your apache configure should look something like this.
...
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
DirectoryIndex page.py
AuthBasicAuthoritative off
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
PythonAuthenHandler auth
AuthType Basic
AuthName "Restricted Area"
require valid-user
</Directory>
...
Your database structure should be something like the following.
PyScore
PS_Users User_Name:Text User_Password:PASSWORD() Total_Points:Int
PS_Challenges Challenge_Completed:CSV Point_Value:Int Challenge_Text:Text Challenge_Answer:Text
More detailed information to come.