Skip to content

Latest commit

ย 

History

History
120 lines (75 loc) ยท 3.01 KB

File metadata and controls

120 lines (75 loc) ยท 3.01 KB

๐ŸŽฎ GameVerse: Java Classics

GameVerse is a Java-based desktop application featuring three timeless arcade games: Snake, Tetris, and Flappy Bird โ€” all built using Java Swing for the UI and connected with a XAMPP (MySQL) backend to store player scores, profiles, and other data.

๐Ÿ“ Academic project developed as part of our Java coursework, demonstrating skills in GUI programming, OOP design, and database integration.


๐Ÿงฉ Features

  • ๐ŸŽฎ Play three classic games with intuitive keyboard controls.
  • ๐Ÿ‘ค Simple GameVerseManager.login/signup system connected to MySQL via XAMPP.
  • ๐Ÿ† Score tracking and leaderboard system for each game.
  • ๐Ÿ“Š Visual game stats (charts/graphs using JFreeChart).
  • ๐Ÿ’พ Persistent storage of user data using JDBC.

๐Ÿ–ผ๏ธ Games Included

Game Description
๐Ÿ Snake Classic arcade Snake game with speed control
๐Ÿงฑ Tetris Stack the blocks, clear lines, and score!
๐Ÿฆ Flappy Bird Tap to fly and avoid pipes!

๐Ÿ› ๏ธ Tech Stack

  • Java (JDK 8+)
  • Swing (GUI Framework)
  • XAMPP (Apache + MySQL)
  • JDBC (Java Database Connectivity)
  • JFreeChart (for visual score/statistics)
  • Maven (optional for dependency management)

๐Ÿš€ How to Run Locally

  1. Clone the repository:
    git clone https://github.com/shihab-3point14/GameVerse-Java-Classics.git
    cd GameVerse-Java-Classics
  2. Set up XAMPP:
  • Install and run XAMPP.

  • Import the included gameverse.sql file into phpMyAdmin to create the database.

  1. Configure JDBC:
  • Update the database credentials in your Java code (usually found in a DBConnection.java or similar file).
  1. Compile and Run:
  • Open in your IDE (NetBeans, IntelliJ, Eclipse).

  • Build and run Main.java or the launcher class.


๐Ÿ“‚ Project Structure

  • Open in your IDE (NetBeans, IntelliJ, Eclipse).

  • Build and run Main.java or the launcher class.

GameVerse-Java-Classics/
โ”œโ”€โ”€ ClassicalSnake/
โ”œโ”€โ”€ FlappyBird/
โ”œโ”€โ”€ Tetris/
โ”œโ”€โ”€ DataBase/              # SQL file and DB logic
โ”œโ”€โ”€ GameVerseManager       # Manage, Images, sounds etc.
โ”œโ”€โ”€ Main.java              # Entry point
โ””โ”€โ”€ README.md

๐Ÿ“ธ Screenshots

๐Ÿ–ผ๏ธ Login/Register Interface

Log In Register

๐ŸŽฎ Game Menu

Game Menu

๐Ÿ Classical Snake

Classical Snake

๐Ÿงฑ Tetris

Tetris

๐Ÿฆ Flappy Bird

Flappy Bird

๐Ÿ“Š Score Chart

Score Chart


๐Ÿ“œ License

This project is open source and available under the MIT License. Feel free to fork, improve, and build on it for learning purposes!


๐Ÿ“ซ Contact

Have questions or feedback? Reach out via GitHub Issues or email.