Skip to content

sjbeskur/drones-attack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drones-attack

A simple console game for learning Rust

Build instructions

Install Rust lang https://www.rust-lang.org/tools/install

  1. confirm your installation
cargo --version
  1. Clone this repo and cd to the project directory
git clone https://github.com/sjbeskur/drones-attack.git
cd drones-attack
  1. Build and run drones-attack using cargo
cargo build
cargo run

or compile standalone binary using the following:

./build.sh

the drones-attack binary will be placed in the "target" folder. To run the binary directly:

cd target
./drones-attack

Game play


left arrow - moves player left

right arrow - moves player Right

space - fires missile

esc - quits the game

alt text

About

A simple console game for learning Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published