Skip to content

gabrielvictorcf/just-asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img

Just asteroids is a clone of 'Atari Asteroids' rendered and played entirely on the terminal with it's own game engine. It was made out of curiosity on how a computer draws lines or objects to the screen, and how those are interactible.

With that in mind, what better way to learn that besides making a small game engine and game!

Also, check out Javidx9's channel! My implementation is inspired on his video about asteroids.

Installing

just-asteroids uses python's keyboard module, so although a regular install will suffice on windows, linux will need a root install

Pip install

# use sudo if on linux
pip install git+https://github.com/gabrielvictorcf/just-asteroids#egg=justasteroids

Manual/Git install

git clone https://github.com/gabrielvictorcf/just-asteroids
cd just-asteroids
pip3 install . # sudo pip3 install . if on Linux

How to play

As of now, just-asteroids requires some manual adjustments:

  • Resize terminal window: 305 columns x 105 rows
  • Change font size to 6

After that, just open the game and press enter when you're ready!

Controls

enter: start game
left-arrow: left rotate
right-arrow: right rotate
up: thrust
space: shoot
b: brake

About

A terminal app for playin good ol' Asteroids 🕹️

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages