An open API service indexing awesome lists of open source software.

https://github.com/cleancut/rusty_sword

Rusty Sword: Game of Infamy!
https://github.com/cleancut/rusty_sword

Last synced: 4 months ago
JSON representation

Rusty Sword: Game of Infamy!

Awesome Lists containing this project

README

          

# Rusty Sword: Game of Infamy!

Rusty Sword is a terminal-based arcade game used to demonstrate the [Rust] programming language
through live-coding presentations. It has been tested on macOS, Linux, and Windows.

## To play

- [Install Rust] if you don't have it already.
- If you are on Linux, install the [Linux dependencies] listed for [rusty_audio]
- Clone the "Rusty Sword" repository, and change directory to it with your terminal. For example:
```
git clone git@github.com:CleanCut/rusty_sword.git
```
- Build and run to play!
```
cargo run --release
```

## Gameplay instructions

- The `☥` represents you, and the arrow symbol next to you is your rusty sword.
- Use arrow keys or WASD keys to move. Your sword will always point in the direction you are moving.
(You are not particularly skilled at swordfighting, apparently).
- Monsters will attempt to eat you. If they touch you, they will succeed and the game will be over.
- Touching a monster with your rusty sword will instantly kill it (naturally, since monsters are
unsafe).
- Have fun!

## Screencast (minus audio)

[![asciicast](https://asciinema.org/a/308544.svg)](https://asciinema.org/a/308544)

[Install Rust]: https://www.rust-lang.org/tools/install
[Linux dependencies]: https://github.com/CleanCut/rusty_audio#dependencies-on-linux
[Rust]: https://www.rust-lang.org/
[rusty_audio]: https://github.com/CleanCut/rusty_audio