Skip to content

Latest commit

 

History

History
75 lines (55 loc) · 1.95 KB

README.md

File metadata and controls

75 lines (55 loc) · 1.95 KB

Tron Light Cycles Game

Authors: Nafis Molla

Overview

This project is a modern remake of the classic Tron Light Cycles game. Our version includes both single-player and two-player modes, featuring an AI opponent for the single-player mode and a sleek, simple menu screen for easy navigation.

Features

  • Single Player Mode: Compete against an AI-controlled bike.
  • Two Player Mode: Play against a friend on the same device.
  • Menu Screen: Navigate easily through a clean and intuitive menu.
  • Simple Controls: Use the keyboard to control the bikes.
  • Sleek Design: Enjoy a visually appealing and user-friendly interface.

Controls

Player 1 (Yellow Bike)

  • Move Up: Arrow Up
  • Move Down: Arrow Down
  • Move Left: Arrow Left
  • Move Right: Arrow Right

Player 2 (Green Bike)

  • Move Up: W
  • Move Down: S
  • Move Left: A
  • Move Right: D

Menu Navigation

  • Select Option: Enter
  • Move Selection Up: Arrow Up
  • Move Selection Down: Arrow Down

Game Rules

  • Avoid crashing into walls or bike trails.
  • The game ends when a bike crashes.
  • The last bike remaining wins the game.

Setup and Installation

  1. Ensure you have Java and LibGDX installed.
  2. Clone the repository to your local machine.
  3. Open the project in your preferred Java IDE (e.g., IntelliJ IDEA, Eclipse).
  4. Run the MyGdxGame.java file.

Assets

The game uses several texture assets for bikes, backgrounds, and logos. Ensure the following files are available in the project's asset folder:

  • yellowbikeL.png
  • yellowbikeR.png
  • yellowbikeU.png
  • yellowbikeD.png
  • greenbikeL.png
  • greenbikeR.png
  • greenbikeU.png
  • greenbikeD.png
  • tronlogo.png
  • Instructions.png
  • background.jpg
  • betterlogo.png
  • greenwon.png
  • yellowwon.png
  • grey.jpg

License

This project is licensed under the MIT License.

Acknowledgments

Special thanks to the LibGDX community for their support and resources.