Commit 67a1ab54 authored by Constantin's avatar Constantin
Browse files

stoooopid buuuaags

parent a1b4bea1
......@@ -3,7 +3,7 @@ import selectors
import socket
import labyrinth
import random
import treasure
from treasure import Treasure
class Game:
def __init__(self, labyrinthFileName, adminPW, logFileName=None, port=1234):
......@@ -11,7 +11,7 @@ class Game:
self.admins = []
with open(labyrinthFileName,'r') as f:
self.labyrinth = labyrinth.Labyrinth(game=self,stream=f)
treasure = treasure.Treasure()
treasure = Treasure()
ttile = random.choice(self.labyrinth.getFreeTiles())
self.sock = socket.socket()
import thing
class Treasure(Thing):
class Treasure(thing.Thing):
def __str__(self):
return "the treasure"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment