minicrossterm/examples/program_examples
2018-09-22 22:42:11 +02:00
..
first_depth_search added unittests, fixed getting terminal position and tested code 2018-09-22 22:42:11 +02:00
snake chagnes 2018-08-25 11:04:42 +02:00
command_bar.rs Tested unix improved some exampels 2018-08-24 23:51:39 +02:00
logging.rs Unix errors fixed and started with testing 2018-08-12 20:41:08 +00:00
README.md updated doc 2018-08-25 12:00:39 +02:00

This folder will contain some examples of how to use this crate in an 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:

    This is an search algorithm implemented visually. This program uses the following functionalities: cursor movement, coloring, alternate screen and terminal clearing. To run this use cargo run in the directory of first depth search.

  • Snake

    This is a snake game implemented with this library. To run this use cargo run in the directory of snake.

  • Command Bar:

    This is a terminal application where multiple threads write to the output while you can enter commands asynchronously. To run this use cargo run --example command_bar

  • Logging:

    This is an async logging program to demonstrate asynchronous logging with an queue. To run this use cargo run --example logging