# Tit-for-tat: a game theory toolbox [![GitHub](https://img.shields.io/badge/github-walkie%2Ftit--for--tat-mediumorchid?logo=github)][github-repo] [![crates.io](https://img.shields.io/crates/v/t4t?label=crates.io)][t4t-crate] [![docs.rs/t4t](https://img.shields.io/badge/docs.rs-t4t-blue?logo=docs.rs)][t4t-docs] [![GitHub actions workflow status](https://img.shields.io/github/actions/workflow/status/walkie/tit-for-tat/rust.yml?logo=rust)][github-build] Tit-for-tat (t4t) is a [game theory][wiki-game-theory] library with a focus on experimentation over formal analysis, and expressiveness over performance. It provides flexible types and traits for defining games and strategies, then executing them to observe the results. ## Examples and documentation - See the [crate documentation on docs.rs][t4t-docs] for documentation and code examples. - The companion crate [t4t-games][games-crate] provides games and strategies implemented with this crate. ## Reach out If you use this library for something, or are considering using it, I'd love to hear about it! Please get in touch using the contact info on my [GitHub profile][github-profile]. [github-build]: https://github.com/walkie/tit-for-tat/actions [github-profile]: https://github.com/walkie [github-repo]: https://github.com/walkie/tit-for-tat [t4t-crate]: https://crates.io/crates/t4t [t4t-docs]: https://docs.rs/t4t [games-crate]: https://crates.io/crates/t4t-games [games-docs]: https://docs.rs/t4t-games [wiki-game-theory]: https://en.wikipedia.org/wiki/Game_theory