Skip to content

PhillipXT/asteroids-mpizka

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boot.dev Asteroids

Asteroids game from the boot.dev course "Build Asteroids using Python and Pygame"

  • Run python main.py to play
  • Chose a game-mode from the main menu
  • Left Right turn the ship
  • Up accelerates
  • Space shoots
  • Q exits the game or goes back to the main menu
  • P pauses/unpauses the game

Endless Mode

Asteroids spawn continuously from the edges of the screen. Try to survive as long as possible! If your ship flies into the void (leaves the screen) or an asteroid hits it, it's game over!

Level Mode

You start at Level 1 and progress by destroying all the asteroids. For each level, 2 large asteroids will spawn at the edges of space. When an asteroid hits you, it's game over! How far can you go? Both asteroids and your ship can go over the edge of the screen to reappear on the other side.

When you finish a level, press N to progress to the next!

Taurus Mode

In this variant of Endless Mode, you take control of the mighty Taurus-Class Mobile Defense Platform to protect the terran sector from asteroids!

The Taurus doesn't turn, but can accelerate in any direction due to its multi-thruster array. Its many gun-emplacements allow it to fire in any direction, and the large onboard-reactor can even power the mighty Mjolnir Defense Cannon.

You control movement with the Arrow-Keys or WASD and fire using the mouse. Mouse-LEFT fires the normal plasma gun, Mouse-RIGHT fires the Mjolnir Cannon on a 5 second cooldown.

Versions

Access the desired version by checking out main at the indicated tag.

  • v1.0.0 Base version after the Course goal was reached
  • v1.1.0 Code and technical improvements
  • v1.1.1 Gameplay improvements (score display and aceleration)
  • v1.2.0 Graphics update
  • v1.2.1 Level-Mode and Menus
  • v1.2.2 Better font and Taurus-Class player ship

Roadmap

Changes planned or already implemented

Technical improvements

  • Exit with Q
  • Cleaning up group-assignment logic
  • Replace the asteroid-generation logic
  • Track and destroy out-of-screen objects
  • Stateful game loop

New game features

  • Acceleration
  • Score Display
  • Wrap-Around for ship & asteroids
  • Game-Over Screen
  • Background image
  • Restart
  • Pause and Resume
  • New ship available
  • New asteroid classes
    • Magnetite
    • Titanium
    • Black Hole
  • Better Endless Mode rules
  • Ship selection

Graphics

  • Sprites for asteroids and spaceship
  • Spaceship exhaust while accelerating
  • Shot sprites
  • EXPLOSIONS!
  • Better font

License

Licensed under "The Unlicense". For more information, see LICENSE

Attributions

This Project uses the following amazing open source projects:

Monogram font by Vinícius Menézio - https://datagoblin.itch.io/monogram

For more information, see NOTICE.txt

About

A version of the asteroids game by mpizka

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%