https://github.com/chamikamunithunga/astroxtellar-codes
https://github.com/chamikamunithunga/astroxtellar-codes
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chamikamunithunga/astroxtellar-codes
- Owner: chamikamunithunga
- Created: 2025-04-04T05:14:05.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-04T05:38:27.000Z (2 months ago)
- Last Synced: 2025-04-04T06:24:28.317Z (2 months ago)
- Language: PHP
- Size: 16.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
ASTROXTELLAR - Space Exploration Quiz Game
Note: The submitted source code includes only the backend because the full project is too large to upload. You can find the complete source code in this repository.
ASTROXTELLAR is an interactive web-based game designed to immerse players in the fascinating world of space exploration. It combines fun and educational quizzes on astronomy and space, challenging players with timed quizzes, a badge system, and a leaderboard. Players can explore space-related content, customize their virtual identity, and share their achievements with others.
About
ASTROXTELLAR is built to educate and engage players by testing their knowledge on space and astronomy through a series of interactive quizzes. With categories covering planets, stars, galaxies, and space missions, the game rewards players with badges, points, and achievements for every challenge they complete.Key Features:
Three quiz categories: Planets, Stars, and Galaxies.
Earn badges and bonus points for correct answers.
Leaderboard to track top players.
Virtual identity system with customizable astronaut avatars and profiles.
Share achievements and badges on social media.
Features
Interactive Space Quizzes: Timed challenges with three quiz categories.Badge System: Earn unique badges based on performance and achievements.
Leaderboard: Compare your progress with other players globally.
Virtual Identity: Create and personalize your astronaut profile with achievements.
Share Achievements: Social media integration for sharing badges and rankings.
Space Exploration Content: Links to articles, resources, and official websites of leading space agencies like NASA and SpaceX.
Bonus Points & Limited-Time Challenges: Special quizzes with time-based rewards.
Technologies Used
Frontend: HTML, CSS, JavaScriptBackend: PHP
Database: MySQL
Authentication: PHP sessions and secure login system
Version Control: Git/GitHub
Social Media Integration: Twitter, Facebook, Instagram APIs
Installation
To set up ASTROXTELLAR locally, follow these steps:Clone the repository:
bash
Copy
Edit
git clone [https://github.com/yourusername/astroxtellar.git](https://github.com/chamikamunithunga/AstroXTellar-codes)
Navigate to the project folder:bash
Copy
Edit
cd astroxtellar
Set up the database:Import the astroxtellar.sql database schema to your MySQL database.
Configure your environment:
Update the PHP files to connect to your local database credentials.
Start the PHP server:
bash
Copy
Edit
php -S localhost:8000
Open the game in your browser:Go to http://localhost:8000
Game Architecture
The game follows a client-server architecture with the following components:Frontend (Client-Side)
Built using HTML, CSS, and JavaScript for an interactive UI and game logic.Handles real-time updates, avatar customization, badge display, and leaderboard functionality.
Backend (Server-Side)
PHP handles user authentication, session management, and database interaction.MySQL stores user profiles, leaderboard rankings, badges, and quiz results.
Database Schema
Users Table: Stores player profiles, rankings, badges, and social links.Badges Table: Keeps track of badges earned by users.
Leaderboard Table: Manages the top players and their scores.
Gameplay
Starting the Game:
Sign up/Login: Create an account or log in to save progress.Choose Quiz Category: Select from three categories – Planets, Stars, or Galaxies.
Start the Challenge: Answer space-related questions within a time limit.
Earn Points & Badges: Correct answers lead to points and badges. Bonus points for speed!
Track Progress: Check your position on the leaderboard and strive to improve your rank.
Virtual Identity:
Customize your astronaut avatar and profile.Unlock new badges and titles as you progress in the game.
Share your achievements with others on social media.
Contributing
We welcome contributions to ASTROXTELLAR. If you'd like to help improve the game, please follow these steps:Fork the repository.
Create a new branch.
Make your changes and commit them.
Push your changes to your fork.
Open a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.Contact
For any questions or feedback, feel free to reach out:Email: [email protected]
GitHub: [https://github.com/chamikamunithunga/AstroXtellar](https://github.com/chamikamunithunga/AstroXTellar-codes)
