Space Explorer is an interactive web-based game where players take on the role of an astronaut on a mission to explore the mysterious Planet Xyphora, collect ancient artifacts, and battle hostile aliens.
- Astronaut Journey: Explore the alien planet and collect valuable artifacts.
- Alien Encounters: Face alien enemies and defend yourself.
- Artifact Collection: The goal is to collect 3 artifacts to win the game.
- Rounds: Multiple rounds with increasing difficulty.
- Responsive Design: Optimized for both desktop and mobile devices.
- HTML: Markup language for structuring the game.
- CSS: For styling the UI and game elements.
- JavaScript: Game logic and interactivity.
- Orbitron Font: A cool, futuristic font used for the game text.
- External API/Assets: Giphy, Tenor and Forbes for the background images.
To run this project locally:
-
Clone the repository to your local machine:
git clone https://github.com/ThulaniMthembu/space-explorer.git
-
Navigate to the project directory:
cd space-explorer
-
Open the
index.html
file in your browser to play the game.
- Start the Game: Click the "Start" button to begin.
- Collect Artifacts: Navigate through Planet Xyphora and gather 3 artifacts.
- Fight Aliens: Engage in battles with hostile aliens when they appear.
- Complete Rounds: Progress through multiple rounds as the game gets harder.
space-explorer/
│
├── index.html # Main HTML file
├── styles.css # CSS file for styles
├── script.js # JavaScript file for game logic
└── README.md # This README file