Skip to content

Commit

Permalink
Make re-appearance interval longer
Browse files Browse the repository at this point in the history
The kids could not keep up with the pace, so they were getting
demotivated. We increase the re-appearance interval a bit.
  • Loading branch information
mristin committed Dec 23, 2022
1 parent 665eb6b commit e944201
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions danceamole/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def __init__(self, game_start: float, game_end: float) -> None:
MoleState(
action=MoleAction.LINGERING_BENEATH,
start=game_start,
end=game_start + 2 + int(random.random() * 10),
end=game_start + 2 + int(random.random() * 13),
)
for _ in range(8)
]
Expand Down Expand Up @@ -273,7 +273,7 @@ def handle_in_game(
):
mole_state.action = MoleAction.LINGERING_BENEATH
mole_state.start = now
mole_state.end = now + 2 + random.random() * 10
mole_state.end = now + 2 + random.random() * 13

else:
assert_never(mole_state.action)
Expand Down

0 comments on commit e944201

Please sign in to comment.