home · contact · privacy
Simplify using the curses client to connect to current demo server.
[plomrogue2] / rogue_chat_curses.py
index c5e4f9dae3929446b9e8be79cd9d8b3476433cf5..e0f2f6a096b1ba43599930be8c28febb63444df6 100755 (executable)
@@ -509,6 +509,8 @@ class TUI:
                 end = start + self.game.map_geometry.size.x
                 map_lines_split += [[c + ' ' for c in map_content[start:end]]]
             if self.map_mode == 'terrain':
+                for p in self.game.portals.keys():
+                    map_lines_split[p.y][p.x] = 'P '
                 used_positions = []
                 for t in self.game.things:
                     symbol = self.game.thing_types[t.type_]
@@ -760,4 +762,5 @@ class TUI:
                 self.send('TASK:WRITE %s %s' % (key, quote(self.password)))
                 self.switch_mode('play')
 
-TUI('localhost:5000')
+#TUI('localhost:5000')
+TUI('wss://plomlompom.com/rogue_chat/')