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.
- 🎮 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.
| 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! |
- Java (JDK 8+)
- Swing (GUI Framework)
- XAMPP (Apache + MySQL)
- JDBC (Java Database Connectivity)
- JFreeChart (for visual score/statistics)
- Maven (optional for dependency management)
- Clone the repository:
git clone https://github.com/shihab-3point14/GameVerse-Java-Classics.git cd GameVerse-Java-Classics - Set up XAMPP:
-
Install and run XAMPP.
-
Import the included gameverse.sql file into phpMyAdmin to create the database.
- Configure JDBC:
- Update the database credentials in your Java code (usually found in a DBConnection.java or similar file).
- Compile and Run:
-
Open in your IDE (NetBeans, IntelliJ, Eclipse).
-
Build and run Main.java or the launcher class.
-
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🖼️ Login/Register Interface
🎮 Game Menu
🐍 Classical Snake
🧱 Tetris
🐦 Flappy Bird
📊 Score Chart
This project is open source and available under the MIT License. Feel free to fork, improve, and build on it for learning purposes!
Have questions or feedback? Reach out via GitHub Issues or email.






