Arduino the Hunted Game

Introduction: Arduino the Hunted Game

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
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 for more fun projects!

Be the First to Share


    • Puzzles Speed Challenge

      Puzzles Speed Challenge
    • "Can't Touch This" Family Contest

      "Can't Touch This" Family Contest
    • CNC Contest 2020

      CNC Contest 2020


    Aman Kushwaha623
    Aman Kushwaha623

    3 years ago

    Hello Sir,
    I am Aman Kushwaha and I was making this following instructable:
    made by you.

    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!
    But i need one help regading to this,
    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).
    I need help(sketch and how to add lcd) as soon as possible.
    Any reply from you will help me a lot in my project.
    I am waiting for any reply from you!