Skip to content

mattdowdell/invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

invaders

GitHub tag (latest by date) Minimum Supported Rust Version GitHub Workflow Status

A Space Invaders TUI in Rust, built using tui and crossterm.

Demo

invaders-demo.mov

Install

To install, use cargo:

cargo install --git https://github.com/mattdowdell/invaders --tag v0.0.3

See here for a full list of tags.

Usage

To run the game:

# using build from `cargo install`
invaders

# with source code
cargo run

Some settings are available to tune gameplay:

  • -h, --help: Print help information
  • --max-cannon-lasers <MAX_CANNON_LASERS>: The maximum number of cannon lasers that can be present (default: 1).
  • --max-invader-lasers <MAX_INVADER_LASERS>: The maximum number of invader lasers that can be present (default: 3).
  • --mystery-ship-interval <MYSTERY_SHIP_INTERVAL>: The interval in ticks between appearances of the mystery ship (default: 2000).
  • --start-level <START_LEVEL>: The level to start at (default: 0).
  • --tick-length <TICK_LENGTH>: The number of milliseconds per tick (default: 50)

About

Space Invaders TUI in Rust

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages