Skip to content

This is a fun asteroid avoid game, orginally made for my AP Computer Science Portfolio. Feel free to use the code and learn from it.

Notifications You must be signed in to change notification settings

llucasandersen/Stavoider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Stavoider

🎮 Game Description

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.

🛠️ Features

  • 🚀 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.

🎮 How to Play

  1. Start the Game: Run the script to open the main menu.
  2. Main Menu:
    • Click "Play" or press "Enter" to start the game.
    • Click "Exit" to close the game.
  3. Tutorial:
    • Follow the on-screen instructions to learn how to play.
  4. Game Controls:
    • W or Up Arrow: Move Up
    • A or Left Arrow: Move Left
    • S or Down Arrow: Move Down
    • D or Right Arrow: Move Right
  5. Avoid Asteroids: Navigate your spaceship to dodge the incoming asteroids.
  6. Collect Green Asteroids: Gain points and special powers to destroy other asteroids.
  7. Typing Mini-Game: Type the displayed sentence correctly within the time limit to score bonus points.
  8. End Game: Your final score is displayed, and you can choose to play again or exit.

📜 Instructions

  1. Ensure you have Python installed on your system.
  2. Install the necessary modules:
    pip install turtle pygame google-generativeai
  3. Place the game script and audio files in the same directory.
  4. Run the script to start the game:
    python stavoider.py

📚 About Me! (The Developer)

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.

📧 Contact

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! 🚀

About

This is a fun asteroid avoid game, orginally made for my AP Computer Science Portfolio. Feel free to use the code and learn from it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published