minicrossterm/examples/program_examples/README.md

25 lines
982 B
Markdown
Raw Normal View History

2019-06-22 02:10:46 +10:00
This folder will contain some examples of how to use this crate in a real live environment.
If you have created a game or something feel free to upload it, would be a great help for other people and me to make this crate better!
The programs are:
- First depth search:
2018-08-22 02:05:53 +10:00
2019-06-22 02:10:46 +10:00
This is a search algorithm implemented visually. This program uses the following functionalities: cursor movement, coloring, alternate screen and terminal clearing.
2018-08-25 20:00:39 +10:00
To run this use `cargo run` in the directory of first depth search.
2018-08-22 02:05:53 +10:00
- Snake
This is a snake game implemented with this library.
2018-08-25 20:00:39 +10:00
To run this use `cargo run` in the directory of snake.
2018-08-22 02:05:53 +10:00
- Command Bar:
This is a terminal application where multiple threads write to the output while you can enter commands asynchronously.
2018-08-25 20:00:39 +10:00
To run this use `cargo run --example command_bar`
2018-08-22 02:05:53 +10:00
- Logging:
2019-06-22 02:10:46 +10:00
This is an async logging program to demonstrate asynchronous logging with a queue.
To run this use `cargo run --example logging`