289684b0f1
Added original source Fixed readme typo (I fat fingered your username again whoops) Fiddling with golang config
19 lines
402 B
Python
19 lines
402 B
Python
#!/usr/bin/python
|
|
|
|
from watbot_config import WatbotConfig
|
|
from watbot_db import WatbotDB
|
|
from watbot_game import WatbotGame
|
|
from watbot_console import WatbotConsole
|
|
|
|
import sys
|
|
|
|
if len(sys.argv) > 1:
|
|
|
|
db = WatbotDB(WatbotConfig)
|
|
game = WatbotGame(WatbotConfig, db)
|
|
con = WatbotConsole(WatbotConfig, game, sys.argv[1])
|
|
|
|
con.main_loop()
|
|
else:
|
|
print "usage: " + sys.argv[0] + " <nickname>"
|
|
|