diff --git a/mesh_bot.py b/mesh_bot.py index ee70d6c..2189268 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -483,7 +483,7 @@ def handleGolf(nodeID, message): # create new player logger.debug("System: GolfSim: New Player: " + str(nodeID)) golfTracker.append({'nodeID': nodeID, 'last_played': time.time(), 'cmd': 'new', 'hole': 1, 'distance_remaining': 0, 'hole_shots': 0, 'hole_strokes': 0, 'hole_to_par': 0, 'total_strokes': 0, 'total_to_par': 0}) - msg = "Welcome to 🏌️GolfSim⛳️" + msg = f"Welcome to 🏌️GolfSim⛳️\n" msg += f"Clubs: (D)river, (H)igh Iron, (M)id Iron, (L)ow Iron, (G)ap Wedge, Lob (W)edge\n" msg += playGolf(nodeID=nodeID, message=message) diff --git a/modules/golfsim.py b/modules/golfsim.py index 6b0ce1e..87d8e4f 100644 --- a/modules/golfsim.py +++ b/modules/golfsim.py @@ -207,7 +207,7 @@ def playGolf(nodeID, message): last_cmd = 'putt' else: msg += "You have " + str(distance_remaining) + " yards left." - msg += "Club?[D, H, M, L, G, W]🏌️" + msg += f"\nClub?[D, H, M, L, G, W]🏌️" # save player's current game state, keep stroking for i in range(len(golfTracker)): diff --git a/modules/mmind.py b/modules/mmind.py index f022c92..8628cce 100644 --- a/modules/mmind.py +++ b/modules/mmind.py @@ -16,10 +16,10 @@ def chooseDifficultyMMind(message): msg += "Please enter either '(N)ormal' or '(H)ard'" if usrInput == "n": - msg += "The colors to choose from are: R🔴, Y🟡, G🟢, B🔵" + msg += f"The colors to choose from are:\nR🔴, Y🟡, G🟢, B🔵" elif usrInput == "h": valid_colorsMMind += "OP" - msg += "The colors to choose from are R🔴, Y🟡, G🟢, B🔵, O🟠, P🟣" + msg += f"The colors to choose from are\nR🔴, Y🟡, G🟢, B🔵, O🟠, P🟣" return msg