Update tictactoe.py

This commit is contained in:
SpudGunMan
2025-11-02 20:49:03 -08:00
parent 398a4c6c63
commit 1e7887d480

View File

@@ -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"):