Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Game Loop #5

Closed
gbroques opened this issue Mar 24, 2018 · 1 comment
Closed

Add Game Loop #5

gbroques opened this issue Mar 24, 2018 · 1 comment
Projects

Comments

@gbroques
Copy link
Owner

gbroques commented Mar 24, 2018

We need to add the game loop.

Here's some pseudo code of what it might look like:

current_position = 1
while song.is_not_finished(current_position):
    note_sequence = song.get_sequence(current_position)
    play_sequence(note_sequence)
    wait_for_player_to_match_sequence()
    wait_for_cozmo_to_match_sequence()
    current_position += 1

UPDATE: Issue #13 is responsible for completing 1 iteration of the loop. That should hopefully make this issue trivial.

@gbroques gbroques changed the title Add game loop Add Game Loop Mar 24, 2018
@gbroques gbroques added this to To do in Song Match Mar 24, 2018
@gbroques
Copy link
Owner Author

There's a lot of interactions that need to happen to make the game engaging, but aren't necessary for the game's functionality.

Let's worry about the interactions later, and get the core game mechanics finished first.

rlwprog added a commit that referenced this issue Mar 31, 2018
gbroques added a commit that referenced this issue Apr 3, 2018
Song Match automation moved this from To do to Done Apr 3, 2018
gbroques added a commit that referenced this issue Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Song Match
  
Done
Development

No branches or pull requests

1 participant