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

https://github.com/four43/ship_gen

Generate spaceships on the command line! (Personal Intro to Rust)
https://github.com/four43/ship_gen

cli getting-started procedural-generation rust-lang

Last synced: 9 months ago
JSON representation

Generate spaceships on the command line! (Personal Intro to Rust)

Awesome Lists containing this project

README

          

# S H I P G E N

Generates spaceships on the command line. Benny would love it.

This is a simple little Rust app to get my feet wet with the language as I work through the official rust book.

## Usage

```shell
./ship_gen --help
rocket

USAGE:
ship_gen [OPTIONS] --height

OPTIONS:
-h, --height
--help Print help information
-p, --palette [default: america]
```

Running it spits out ships on stdout, like:
```shell
./ship_gen --height 20


/'\
│ │
/│ │\
│ │
│°│
│°│
│°│
┌┘ └┐
│ │
│ O │
│ │
│ │
│° °│
/│ ^ │\
/_│ | │_\
\_/
( )
·
```

## TODO

* Implement color palettes