Skip to content

Instantly share code, notes, and snippets.

@acbart
Created October 27, 2023 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acbart/b73efc776dd894df811303275a0e7a8f to your computer and use it in GitHub Desktop.
Save acbart/b73efc776dd894df811303275a0e7a8f to your computer and use it in GitHub Desktop.
Designer Game Milestone Examples
"""
This is my milestone 1 submission of Galaga. I only got a few features done, unfortunately.
Here is the link to my video:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
## Galaga Features
# Milestone 1
[X] Spaceship exists
[X] Spaceship moves
[ ] Holding keys
[X] Screen limits
# Milestone 2
[ ] Aliens exist
[ ] Aliens move
[ ] Aliens wrap
[ ] Aliens reset
[ ] Aliens hurt
# Milestone 3
[ ] Shoot lasers
[ ] Lasers move
[ ] Offscreen lasers
[ ] Lasers hurt
[ ] Game over
[ ] Show stats
# Extra Credit
[ ] Explosions
[ ] Menus
[ ] Items
[ ] Tractor Beams
I used some additional images though, you can find them on this imgur page:
https://imgur.com/gallery/yed5Zfk
"""
from designer import *
from dataclasses import dataclass
@dataclass
class World:
pass
# Rest of game goes here...
start()
Instructions: copy the text below into a comment at the top of your Python file.
Put an X into the [ ] boxes for each milestone you believe you have finished.
## Galaga Features
# Milestone 1
[ ] Spaceship exists
[ ] Spaceship moves
[ ] Holding keys
[ ] Screen limits
# Milestone 2
[ ] Aliens exist
[ ] Aliens move
[ ] Aliens wrap
[ ] Aliens reset
[ ] Aliens hurt
# Milestone 3
[ ] Shoot lasers
[ ] Lasers move
[ ] Offscreen lasers
[ ] Lasers hurt
[ ] Game over
[ ] Show stats
# Extra Credit
[ ] Explosions
[ ] Menus
[ ] Items
[ ] Tractor Beams
Instructions: copy the text below into a comment at the top of your Python file.
Put an X into the [ ] boxes for each milestone you believe you have finished.
## Simulator Features
# Milestone 1
[ ] Sheep exist
[ ] Wolves exist
[ ] Animals move
[ ] Animals live
[ ] Animals die
# Milestone 2
[ ] Smooth movement
[ ] Wolves eat
[ ] Animals reproduce
# Milestone 3
[ ] Grass exists
[ ] Grass lives
[ ] Sheep eat
[ ] Grass grows
[ ] Green grass
[ ] Show stats
# Extra Credit
[ ] Stable Settings
[ ] Fancy Stats
[ ] Plot Stats
[ ] Control Panel
[ ] Hunters
[ ] Evolution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment