An engaging web-based memory game with various themes and difficulty levels, designed for a fun and challenging user experience.
The Advanced Memory Game offers an interactive way to test and improve memory skills with different themes like colors, animals, tech logos, and coding tags. The game features multiple difficulty levels and tracks user scores in a leaderboard.
- Multiple Themes: Choose from Colors, Animals, Tech Logos, and Coding Tags.
- Difficulty Levels: Easy, Medium, and Hard levels to suit different players.
- Leaderboard: Tracks and displays top scores.
- Dark Mode: Switch between light and dark themes.
- User Profiles: Save user information and select from existing users.
- A web browser.
- Clone the repository:
git clone https://github.com/NimnadaUGC/Memory-Game-X.git
- Navigate to the project directory:
cd Memory-Game-X/public
- Open
index.html
in your web browser.
- Ensure the repository is public.
- Enable GitHub Pages in the repository settings.
To connect the game with your Firebase project for authentication and database services, follow these steps:
-
Visit the Firebase Console.
-
Create a new project or select an existing one.
-
Navigate to the project settings to find your Firebase configuration details.
-
Replace the following placeholder values in
script.js
with your actual Firebase project configuration:const firebaseConfig = { apiKey: "YOUR_API_KEY", authDomain: "YOUR_AUTH_DOMAIN", projectId: "YOUR_PROJECT_ID", storageBucket: "YOUR_STORAGE_BUCKET", messagingSenderId: "YOUR_MESSAGING_SENDER_ID", appId: "YOUR_APP_ID", measurementId: "YOUR_MEASUREMENT_ID", databaseURL: "YOUR_DATABASE_URL" };
-
Ensure you enable Firebase Authentication and the Realtime Database in your Firebase project settings.
Before pushing changes to public repositories or deploying, ensure you remove or replace any personal API keys in the script.js
to prevent unauthorized use and potential security risks.
- Open the application.
- Enter your name and select your country.
- Choose a game theme and difficulty level.
- Match pairs of cards as quickly as possible.
- View your score on the leaderboard.
- Fork the repository.
- Create a new branch:
git checkout -b feature/AmazingFeature
- Commit your changes:
git commit -m 'Add some AmazingFeature'
- Push to the branch:
git push origin feature/AmazingFeature
- Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Icons by Font Awesome.
- Game idea inspired by classic memory games.
- Special thanks to Firebase for backend services.