The Hunted Game
This project helps create a game called the hunted. One person will wear the arduino with an IR Sensor, 3 LED's and a Buzzer. You will start out with 3 lives represented by the LED's. Once shot 3 times your dead. The hunter will use a remote control from home, universal works best. Play with a friend that has it as well and you can play IR Tag.

Needed Components:

1x Breadboard
3x LED's
1x Arduino
1x Speaker
3x 220 Ohm Speakers
1x 100 or 220 Ohm Speaker

Components can be found at http://egrobotics.com/store/
This Project uses and Arduino Board and IR Add-on Kit


The Code:

#define IRsensorPin 6
void setup(){
  pinMode(3, OUTPUT);
  pinMode(8, OUTPUT);
  pinMode(9, OUTPUT);
  pinMode(10, OUTPUT);
  digitalWrite(10, HIGH);
  digitalWrite(9, HIGH);
  digitalWrite(8, HIGH);
void loop(){  if (digitalRead(IRsensorPin)==LOW && digitalRead(8) == HIGH){
digitalWrite(8, LOW);
  if (digitalRead(IRsensorPin)==LOW && digitalRead(8) == LOW && digitalRead(9) == HIGH){
    digitalWrite(9, LOW);
  if (digitalRead(IRsensorPin)==LOW && digitalRead(9) == LOW && digitalRead(8) == LOW){
    digitalWrite(10, LOW);
    analogWrite(3, 150);


Go to www.instructables.com/member/EGRobotics/ for more fun projects!
Hello Sir, <br>I am Aman Kushwaha and I was making this following instructable: <br>https://www.instructables.com/id/LDR-Robot/#comment <br>made by you.<br><br>I was trying to make a good project with Arduino Uno R3.. So i decided to make this awesome LDR Robot with your awesome instructables.. And i sucessfully made it!<br>But i need one help regading to this,<br>As i am a absolute beginner with arduino, i need help in sketch, i need to add a 16x2 LCD on LDR Robot, which shows values (and robot direction) by LDR and IR sensors same as what is seen on serial monitor (by clicking Ctrl+shift+M).<br>I need help(sketch and how to add lcd) as soon as possible.<br>Any reply from you will help me a lot in my project. <br>I am waiting for any reply from you!<br>Thanks.

About This Instructable




More by EGRobotics:Electronic Christmas Tree Ornament Simple Electric Motor Electric Generator Powering LEDs 
Add instructable to: