Fixed imports in roshambo and Gyopi. Renambed badmath statefile.

This commit is contained in:
Paul S. Ferrell 2009-10-05 15:43:24 -06:00
parent 5a27122cec
commit 6b2c413239
3 changed files with 4 additions and 3 deletions

View File

@ -11,10 +11,11 @@ try:
except: except:
import sys import sys
sys.path.append('/home/pflarr/repos/gctf/') sys.path.append('/home/pflarr/repos/gctf/')
from ctf.flagd import Flagger, irc from ctf.flagd import Flagger
from ctf import irc
class Gyopi(irc.Bot): class Gyopi(irc.Bot):
STATE_FN = 'pi.state' STATE_FN = 'badmath.state'
SALT = b'this is questionable.' SALT = b'this is questionable.'

View File

@ -1,6 +1,6 @@
#! /usr/bin/env python3 #! /usr/bin/env python3
import game from ctf import game
class Roshambo(game.TurnBasedGame): class Roshambo(game.TurnBasedGame):
def setup(self): def setup(self):