Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 2.36 KB

README.md

File metadata and controls

60 lines (42 loc) · 2.36 KB

The Labyrinth

Overview

The Labyrinth is an exciting arcade game where players use joysticks to control a puzzled platform, navigating a ball through the maze and into the winning box. The game also records the time taken to complete the puzzle, which is then displayed as the high score.

Components Used

  • Arduino UNO: The microcontroller used to interface all components.
  • Joysticks: Used to control the movement of the platform.
  • LCD Displays: Shows game status and high scores.
  • Metal Gear Servo MG995: Controls the tilt and movement of the platform.
  • IR Sensor: Detects when the ball reaches the winning box.

Features

  • Joystick Controls: Precisely control the platform to navigate the ball.
  • Dynamic Puzzle: Challenging and engaging puzzle layout.
  • High Score Tracking: Time taken to complete the puzzle is recorded and displayed.
  • Interactive Display: LCD displays show game information and high scores in real-time.

Model Image

model image

Getting Started

Prerequisites

  • Arduino IDE
  • Basic knowledge of electronics and Arduino programming

Installation

  1. Clone the Repository:

    git clone https://github.com/IkkiOcean/Labyrinth_Game.git
    cd the-labyrinth
  2. Open the Project in Arduino IDE:

    • Open the-labyrinth.ino file in the Arduino IDE.
  3. Install Required Libraries:

    • Ensure you have the following libraries installed in your Arduino IDE:
      • Servo
      • LiquidCrystal
  4. Upload the Code:

    • Connect your Arduino UNO to your computer and upload the code from the-labyrinth.ino.

How to Play

  1. Start the Game: Power on the Arduino. The LCD will display "Ready" when the game is ready to start.
  2. Navigate the Ball: Use the joysticks to tilt the platform and navigate the ball through the puzzle.
  3. Reach the Winning Box: The IR sensor will detect when the ball reaches the winning box and stop the timer.
  4. High Score: The LCD will display the time taken to complete the puzzle. Try to beat your high score!

Contact

If you have any questions or feedback, feel free to open an issue or reach out to me at [email protected].

Enjoy playing The Labyrinth and challenge yourself to beat the high score!