Skip to content

Commit

Permalink
Merge pull request #1 from simonista/patch-1
Browse files Browse the repository at this point in the history
Reword a comment and fix a typo
  • Loading branch information
jgrahamc committed May 11, 2012
2 parents 473e768 + 6f6de81 commit 620ab1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions simonoids.ino
Expand Up @@ -87,9 +87,9 @@ void setup() {
// RED GRN BLU YLW
int games[4] = { 8, 20, 14, 31 };

// The number of button presses in a complete game. See new_game() for how this is set
// and the plays array contains the button numbers. pos is the current position reached
// in this round.
// The number of button presses in a complete game. The plays array contains the button
// sequence for this round. See new_game() for how these are set. pos is the current
// position reached in this round.
int game;
int plays[31];
int pos;
Expand Down Expand Up @@ -166,7 +166,7 @@ void win() {
clear_leds();
}

// new_game: thinks of a new sequence of lights o flash and sets up a new game
// new_game: thinks of a new sequence of lights to flash and sets up a new game
// ready for play. There are four possible sequence lengths (based on the lengths
// in the original Simon game): 8, 14, 20 and 31. These are selected by clicking
// the RED, BLU, GRN and YLW buttons in that order.
Expand Down

0 comments on commit 620ab1e

Please sign in to comment.