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!
- Host: GitHub
- URL: https://github.com/cleancut/rusty_sword
- Owner: CleanCut
- License: mit
- Created: 2017-06-25T22:08:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-22T22:28:23.000Z (10 months ago)
- Last Synced: 2025-04-23T15:14:43.235Z (10 months ago)
- Language: Rust
- Size: 282 KB
- Stars: 16
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
- Changelog: CHANGELOG.md
- License: LICENSE
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)
[](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