Mercurial > zrpn
changeset 63:21049efe1631
Start client on multiplayer.
| author | Rene Dudfield <renesd@gmail.com> |
|---|---|
| date | Sun, 08 Jul 2012 11:12:47 +0200 |
| parents | 0a3b44b8d303 |
| children | d7d2c570f4c8 a30eaedf058a |
| files | zrpn/main.py |
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/zrpn/main.py Sun Jul 08 10:55:19 2012 +0200 +++ b/zrpn/main.py Sun Jul 08 11:12:47 2012 +0200 @@ -9,6 +9,7 @@ import board import display +import client screen = display.Display() @@ -43,7 +44,8 @@ Game(screen).run() def multi(self): - raise NotImplementedError("Add multiplayer") + client.Client('localhost', 10000).run() + menu = MainMenu(menu=("m:Zombies Robots Pirates Ninjas", ("f:single", "Single Player"), ("f:multi", "Multiplayer"), ("f:exit", "Quit")))
