mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-06 09:51:24 +02:00
Update golfsim.py
This commit is contained in:
+3
-1
@@ -325,6 +325,8 @@ def playGolf(nodeID, message, finishedHole=False):
|
||||
total_strokes += hole_strokes
|
||||
total_to_par += hole_to_par
|
||||
|
||||
debug = f"System: GolfSim: Player {nodeID} finished hole {hole} with {hole_strokes} strokes,{hole_shots}+{putts} putts, and {hole_to_par} to {hole_strokes}-{par}par"
|
||||
print(debug)
|
||||
if not critter:
|
||||
# Show player hole/round scoring info
|
||||
if putts == 0 and hole_strokes == 1:
|
||||
@@ -371,6 +373,6 @@ def playGolf(nodeID, message, finishedHole=False):
|
||||
else:
|
||||
# Show player the next hole
|
||||
msg += playGolf(nodeID, 'new', True)
|
||||
msg += "\n🏌️♀️[D, L, M, H, G, W, End]🏌️"
|
||||
msg += "\n🏌️[D, L, M, H, G, W, End]🏌️"
|
||||
|
||||
return msg
|
||||
|
||||
Reference in New Issue
Block a user