Step up/ step down game

Hello, I would like your help in creating a DIY project.
It’s a simple design for a BB pellet shooting game. Concept is player has 15 shots to reach the top JACKPOT (10 bullseye shots) with each bullseye hit (button 1) having a green LED light up and stay lit to show progress going up the ladder with each bullseye hit, however missing the bullseye and hitting the black part (button 2) has one LED go out and player loses one position on the ladder.
Each time LED gets lit, a sound plays and sound plays when the top (10th bullseye hit) JACKPOT is reached. Game can be reset by pressing a reset button (button 3) located on the outside of the target.

Basically I’m like a simple breadboard build for now. 10 LED’s in a vertical line with 2 buttons, button 1 to go up the ladder each press and button 2 to go down the ladder, and a reset button once the 10th LED at the top has been lit.

Great if some can build it for me or introduce me to a company that builds projects or make a list of parts I need to build it myself.

thanks in advance…

Find paid help here...

1 Like

Thank you..

Most of the wiring and parts needed are detailed on:

and

Breadboard-wise, you need the legs of the LEDs on separate lines rather than both on the same connection as you show with:

Turn the LEDs 90° to put the legs in different rows.

Of skip the many discrete LEDs and use a chain of NeoPixels and trade 28 wires and resistors for discrete LEDs for a srtring of smart LEDs with 1 control wire..

1 Like

Thanks Dave.. :bowing_man:

Sounds like fun. I am curious about how it will (eventually) be activated. Developing with pushbuttons is a good idea, how will the real pellets be turned into inputs?


I fed your prose to chatGPT and asked it to spiff it up, just to see if it turns up anything(s) you have not been clear about or didn't think to do.

BB Pellet Shooting Game

Project Overview: BB Pellet Shooting Game

The goal of this project is to design a simple interactive game where the player has 15 shots to achieve the top jackpot by hitting bullseyes. The game uses buttons, LEDs, and sound to track progress. A "ladder" system displays the player's success, with green LEDs lighting up for each bullseye, and LEDs turning off for each missed shot. When the jackpot (10 bullseyes) is reached, a special sound is played. The game can be reset at any time using a reset button.

Requirements

Buttons:

  • Button 1 (Bullseye): The player scores a bullseye when this button is pressed.
  • Button 2 (Miss): The player misses when this button is pressed.
  • Button 3 (Reset): Pressing this resets the game, clearing progress.

LED Indicators:

  • Green LEDs: These light up for every bullseye hit (Button 1) and remain lit to show progress up the ladder.

Sound:

  1. A sound should play when a bullseye is hit or when the jackpot is reached (10 bullseyes).
  2. A sound should play when the player misses.
  3. A reset sound should play when the game is reset.

Game Rules:

  1. The player starts with 15 shots.
  2. Each bullseye hit progresses the player’s position on the ladder.
  3. Hitting a miss (black area) causes the player to lose one position on the ladder.
  4. The top of the ladder represents 10 bullseyes (jackpot).
  5. Once the jackpot is reached, a special sound plays.
  6. If 15 shots are taken, a special sound plays.

Game Reset:

  1. Pressing Button 3 resets the game and clears any progress.
  2. If 15 shots are used, the game ends. The game resets and clears any progress.
    This text will be hidden

a7

How will the white and black parts of the target be differentiated?
Can a pellet just nick the white and go on to hit the black and thus register a hit on both (nearly) simultaneously?

Skeeball.

1 Like

OP is going to shoot BBs at a skee ball game?

I can imagine any "target" game will be destroyed in a short time by the projectiles... but the skeeball example uses concentric rings... so maybe the BB shot or pellet can hit one of a set of concentric rings for a score rather than a full plate of painted rings.

Hello, yes there will have to be concentric ring or a first hit rule which ever gets hit first registers as the point.

Here is an older electric target game not sold anymore for an idea..

Cheers

Support, from below, each ring from an arm, so a hit will be like a punching bag recoiling and then rebounding. When one ring is hit its arm mashes its button. If two rings are hit, the two buttons are mashed, and the higher button scores. (only one will be registered). The button will need to be sensitive.

1 Like

Yes, that would work, I was thinking of have 3 buttons on then out ring so the pellet can hit anywhere however I’ll pull the old game apart and look inside, maybe they have worked out a different way.

The rings in front of the buttons will be stainless steal or strong as the BB pistols have some real power behind them and will smash plastic ones.

Incidentally the fired BB’s are only used once the keep the gun barrel clean so steel rings around the buttons to separate shots is no problem.

I can work out the shell of the game later, for the moment I just need a working prototype to look at and brainstorm.

Regards

I made a timer to measure my "quick draw" reaction time when shooting my 45LC.

The system consisted of a red 12V lamp by the target and a microphone between the target and the shooter. The system measured the delta time between the lamp turning on and the microphone detecting the gun fire, then displayed the time on an LCD.

How about locating a sound sensor behind the target. If it detects the pop of the BB striking the target area without the center target switch engaging, consider it a miss.

2 Likes

also:

impact sensor

1 Like

I've played with three versions of a sketch that fulfills the requirements, all written by chatGPT.

They are quite similar in the approach. All work well with pushbuttons when treated right; all would fail if a sensor's output was brief.

Code found with several sensors

void loop() {
  val = digitalRead (Shock) ;// read digital interface is assigned a value of 3 val

  if (val == HIGH) // When the percussion when the sensor detects a signal, LED flashes
    digitalWrite(Led, LOW);
  else
    digitalWrite(Led, HIGH);
}

is sampling the input very rapidly. It will be necessary to poll frequently. This may be a case where edge triggered interrupts must be used to catch and flag an input.

Or a simple external circuit could be used to latch or stretch the signal.

In one version the LEDs were replaced by a neopixel strip. This does nothing for the sensing problem, but cuts down on wiring and use of output pins.

a7

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.