open_ttt_lib
Open source Rust library that provides common Tic Tac Toe logic that can be used by other Rust applications.
:warning: This library is currently under development and has not yet been published to crates.io.
Usage
Add this to your Cargo.toml
:
[]
= "0.1.0"
Below is an example of using this library. Two AI opponents to play a game of Tic Tac Toe until one is victorious.
use ;
See the documentation for additional examples and details on using the library.
Benchmarks
This library includes benchmarks that you can use to evaluate if the library fits in with your performance goals. Use the following command to run the benchmark suite:
cargo bench
Feature Requests
Feel free to request new features. File a feature request describing the feature you would like and what benefit you will get from the feature. A user story is one way to capture this information:
As a user I want goal/desire so that benefit.
Reporting Issues
If you find an issue please include the following information in your report:
- Summary of the problem.
- Steps to reproduce the issue or code snippet that demonstrates the issue.
- The expected behavior.
- Version of the library being used.
Contributing
Contributions are welcome! See CONTRIBUTING.md for details on how to contribute to this project.
License
The library is licensed under the MIT license.