https://www.youtube.com/watch?v=r9viLwXQXgs 👍
The player moves around the board by twisting the potentiometer, and must use the button to attack the enemy, the players health value is shown by the brightness of their neopixel, and every hit will dim the neopixel more. The winner is the first player to fully extinguish the other pixel before they can revive.
Once a players Hp reaches 0 we go into revival mode where the reviving player must scream loud enough and for long enough to revive, before the attacking player can loop around the circuit playground pressing the button at each neo pixel, if the attacking player loops around before the reviving player can comeback to life the attacking player wins, if the reviving player revives then the game keeps going.
Code:https://drive.google.com/file/d/1xM7zkrd1MoUG_O5k8JR1AHqVIbCJZuwW/view?usp=drivesdk

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.