Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perfect Tic-Tac-Toe Player #3

Open
BartMassey opened this issue Aug 7, 2018 · 2 comments
Open

Perfect Tic-Tac-Toe Player #3

BartMassey opened this issue Aug 7, 2018 · 2 comments

Comments

@BartMassey
Copy link

BartMassey commented Aug 7, 2018

http://github.com/BartMassey/ttt-bench has implementations of a perfect Tic-Tac-Toe player in a bunch of languages, including Rust. You're welcome to it. Because the code is being used as a benchmark the implementations were written to be comparable rather than idiomatic.

There's also http://github.com/BartMassey/popcount which contains popcount implementations in C and Rust, and http://github.com/BartMassey/ciphersaber which contains ciphersaber implementations in Rust, C and Haskell. This last is much more tutorial than the other two.

@mone27
Copy link
Owner

mone27 commented Aug 7, 2018

Many thanks! I'll check them soon and add to the project.

@BartMassey
Copy link
Author

There's also http://github.com/BartMassey/borda-count, which contains C and Rust versions of Borda Count along with 12 different Haskell versions and 2 Prolog versions. The Rust version is twice as fast as the C version for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants