Skip to content

The project uses a 7-segment display, two buttons, and two LEDs to create a simple competitive game scenario. The main goal is to count down from 3 to 0 on the 7-segment display and determine the winner based on when the players press their buttons (either before or after the countdown reaches 0)

Notifications You must be signed in to change notification settings

29ardayildiz/Push_Or_Perish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Push Or Perish

This project is a simple reflex-based game called Push and Perish, developed using the MSP430G2553 microcontroller. Players must watch the countdown on a 7-segment display and press a button at the right time to win.

Game Rules:

  • Countdown: The 7-segment display counts down from 3, 2, 1, 0.
  • Winning Conditions:
    • If a player presses the button before reaching 0, the other player automatically wins.
    • If both players wait until 0 and then press, the first player to press wins.
  • LED Indicators:
    • The winning player’s LED lights up.
  • Game Restart:
    • After determining a winner, the game waits 3 seconds and restarts automatically.

Hardware Components

Component Connection Ports Description
MSP430G2553 Port 1, Port 2 Microcontroller
7-Segment Display P1.0 - P1.7 Display numbers
Buttons (x2) P2.0, P2.1 Player inputs
LEDs (x2) P2.2, P2.3 Winner indication
Resistors (10kΩ, 220Ω) Pull-up and LED resistors Safe operation

Team Members

Name - Surname Github Account Department
Arda YILDIZ 29ardayildiz CENG
Barkın SARIKARTAL barkinsarikartal CENG
Çağdaş GÜLEÇ Cagdas-Gulec CENG
Doğukan POYRAZ dogukanpoyraz CENG

Documents

Project Video

About

The project uses a 7-segment display, two buttons, and two LEDs to create a simple competitive game scenario. The main goal is to count down from 3 to 0 on the 7-segment display and determine the winner based on when the players press their buttons (either before or after the countdown reaches 0)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •