1 / 6
Micro:bit Reaction Game
Zamów wydruk tego modelu
Obliczymy ostateczną cenę na podstawie wybranego pliku. Sprawdzisz ją i zaakceptujesz przed płatnością.
Zapisane na tym urządzeniu.
Micro:bit Reaction game cover for Micro:bit V2 IO Expansion Board
- Ocena
- 0 / 5
- Polubienia
- 1
- Pobrania
- 13
- Wydruki
- 0
- Wyświetlenia
- 361
- Oceny
- 0
Aktualizacja u źródła:
Informacje o modelu
- Źródło
- Printables
- Kategoria
- Other Ideas
- Licencja
- Creative Commons — Attribution
Reaction game
How does this game work?
A game for two players. The game engine displays an "icon" on the LEDs after a randomly long time (3-10 s) after the game restarts, and at the same time (without delay) starts a tone of 1.5 s. This indicates the start of the game. The player's task is to press the "button" before the opponent. The "button" can be pressed immediately after the LEDs are lit, while the tone is still sounding.
Results
- Player 1 was faster → then the display shows "1"
- Faster was player 2 → then display shows "2"
- They both pressed the "button" at the same moment (within the computer's reaction time) → then the display shows "R" → Draw
- Player 1 pressed the "button" one or more times before the game started → then the display shows "B"
- Player 2 has pressed the "button" one or more times before the game starts → then the display shows "A"
- Both players have pressed the "button" one or more times before the game starts → then the display shows "C" → Cheater
Tutorial & code on my github