Stavoider is a fun and challenging asteroid avoidance game originally created for my AP Computer Science Portfolio. In this game, you control a spaceship and try to avoid incoming asteroids while collecting green asteroids to destroy other asteroids. The game also includes a typing mini-game to add an extra layer of excitement.
Developed by Lucas Andersen, this game combines elements of classic arcade action with modern gameplay mechanics.
- 🚀 Player Control: Use the WASD or Arrow keys to navigate your spaceship.
- 🌟 Asteroid Avoidance: Dodge orange asteroids to stay alive.
- 🟢 Collect Green Asteroids: Gain special powers to destroy other asteroids.
- ⏲️ Countdown Timer: Adds excitement before the game starts.
- 🎵 Sound Effects: Immersive audio experience with background music and sound effects.
- ✍️ Typing Mini-Game: A unique mini-game where you type sentences to score points.
- 🏆 Scoring System: Tracks your score and displays it at the end of the game.
- Start the Game: Run the script to open the main menu.
- Main Menu:
- Click "Play" or press "Enter" to start the game.
- Click "Exit" to close the game.
- Tutorial:
- Follow the on-screen instructions to learn how to play.
- Game Controls:
W
orUp Arrow
: Move UpA
orLeft Arrow
: Move LeftS
orDown Arrow
: Move DownD
orRight Arrow
: Move Right
- Avoid Asteroids: Navigate your spaceship to dodge the incoming asteroids.
- Collect Green Asteroids: Gain points and special powers to destroy other asteroids.
- Typing Mini-Game: Type the displayed sentence correctly within the time limit to score bonus points.
- End Game: Your final score is displayed, and you can choose to play again or exit.
- Ensure you have Python installed on your system.
- Install the necessary modules:
pip install turtle pygame google-generativeai
- Place the game script and audio files in the same directory.
- Run the script to start the game:
python stavoider.py
I'm Lucas Andersen a passionate programmer and student at Cleburne High School with over six years of programming experience. I created this game as part of my AP Computer Science Portfolio to demonstrate my skills in game development and creativity.
Feel free to reach out to me via Instagram at @llucasandersen or via email at lucas@lucasserver.cloud for any questions or feedback.
Enjoy the game and happy dodging! 🚀