ChodeGames/chodewars — pull request #3 by matthew-parlette (2013-05-14 21:06:09+00:00)
Title: Create player account

This turned out to be a pretty big branch, but that is mainly due to having to add the base database functions and game class functions.

There will eventually be some configuration options, but for now only a flat file database will be created when the game is initialized. When a user is logged in (through google), then that user can create a player for the game. So there are two entities, a user (which is a google account) and a player (which is a game account).

When you run chodewars.py and load the page, you'll first be asked to login. Once you do that, you should see an option to create a player. Type in your player's name here and click create. Once this is done, you should be redirected to the main page to see a welcome message for your newly created player.

You can see the logs in chodewars.log if you need to troubleshoot something or see what's happening behind the scenes.