ATtiny84/85‎ > ‎

Tug-o-War

Hardware: Easy to construct.

Software: Easy to program (only 66 lines of code needed for core functionality).

Creativity: Students can choose how to implement the extensions listed below.
  • Indicate the end of the game (for example: blink the LED closest to the winner).
  • Add sounds during the game to provide feedback to the players when they press a button.
  • Add sounds or jingles when the game ends to indicate which player has won.
  • Use different sounds/jingles for each player.
  • Use a random seed to change the delay pattern.
  • Advanced: Recode the entire project using events instead of looping/polling (a great way to compare competing techniques).
Comments