mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-11-06 17:02:29 +01:00
Update tictactoe.py
This commit is contained in:
1 parent
398a4c6c63
commit
1e7887d480
1 file changed
+5
-2
@@ -122,9 +122,12 @@ class TicTacToe:
|
||||
return msg
|
||||
|
||||
# Add refresh/draw command
|
||||
if input_str in ("refresh"):
|
||||
if input_str in ("refresh", "board", "b"):
|
||||
self.update_display(nodeID, status="refresh")
|
||||
return "Display refreshed."
|
||||
if mode == "2D":
|
||||
return self.show_board(nodeID) + f"Pick 1-{max_pos}:"
|
||||
else:
|
||||
return "Display refreshed."
|
||||
|
||||
# Allow 'new', 'new 2d', 'new 3d'
|
||||
if input_str.startswith("new"):
|
||||
|
||||
Reference in new issue
Block a user