game: moved to channel 87

This commit is contained in:
schneider 2011-12-23 20:52:29 +01:00
parent 9b4eaa0606
commit e2b7287256
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ def receivedPacket(packet):
pos=1
game = r0ketrem0te.game.Game('COM4', "testgame", 83,
81, [ord(x) for x in 'REM0T'], 2, True)
87, [ord(x) for x in 'REM0T'], 2, True)
game.bridge.registerCallback(receivedPacket)
class Application(tornado.web.Application):

View File

@ -29,7 +29,7 @@ class Pong:
pygame.init()
self.rem0te = r0ketrem0te.game.Game('/dev/ttyACM0', "pong", 83,
81, [ord(x) for x in 'REM0T'], 2, True)
87, [ord(x) for x in 'REM0T'], 2, True)
self.rem0te.registerPlayerCallback(self.playercallback)
self.player_right = Rem0tePlayer(self.rem0te)

View File

@ -7,7 +7,7 @@ import Queue
def receivedPacket(packet):
pass
game = r0ketrem0te.game.Game('/dev/ttyACM0', "testgame", 83,
81, [ord(x) for x in 'REM0T'], 2, True)
87, [ord(x) for x in 'REM0T'], 2, True)
queue = Queue.Queue()
game.bridge.registerQueue(queue)
game.bridge.registerCallback(receivedPacket)