mirror of https://github.com/dirtbags/moth.git
Fixed imports in roshambo and Gyopi. Renambed badmath statefile.
This commit is contained in:
parent
5a27122cec
commit
6b2c413239
|
@ -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.'
|
||||||
|
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue