Reaction game 4-2

Reaction game 4-2

thingiverse

This Game is a Reaction Challenge for Two Players. Both Participants Position Their Finger at the Indicated Spot on the Unit's Side. By Doing So, They Ensure Equal Distances to the Buttons. Turn On the Unit or Press the Reset Button if It's Already Powered Up. The Center LED Will Light Up and Then Go Dark. The First Player to Press a Button After the LED Turns Off Wins. Their LED Will Illuminate, Indicating Their Victory. Mark the Winning Point on the List and Press Reset for Another Round. The First Player to Achieve Five Points Earns a Free Beer. Beer Affects Reaction Time, Giving the Losing Player an Advantage. int LightSide = 1; int LeftLight1 = 0; int RightLight2 = 2; int Player1Pin = 4; int Player2Pin = 3; void setup() { pinMode(LightSide, OUTPUT); pinMode(LeftLight1, OUTPUT); pinMode(RightLight2, OUTPUT); pinMode(Player1Pin, INPUT); pinMode(Player2Pin, INPUT); digitalWrite(LightSide,HIGH); delay(5000); digitalWrite(LightSide,LOW); } void loop(){ digitalWrite(LeftLight1, LOW); digitalWrite(RightLight2, LOW); int Player1Value = digitalRead(Player1Pin); int Player2Value = digitalRead(Player2Pin); if(Player1Value == HIGH && Player2Value == HIGH){digitalWrite(LeftLight1, LOW); digitalWrite(RightLight2, LOW);} else{digitalWrite(RightLight2, Player1Value); digitalWrite(LeftLight1, Player2Value); delay(3000);} digitalWrite(LeftLight1, LOW); digitalWrite(RightLight2, LOW); }

Download Model from thingiverse

With this file you will be able to print Reaction game 4-2 with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Reaction game 4-2.