play-2048-0.1.0 is not a library.
Visit the last successful build:
play-2048-1.0.0
2048-rs
This is a Rust implementation of the famous 2048 game which runs in the terminal.
In addition to the standard user inputs, an AI can be used to perform the moves. This AI leverages the expectiminimax algorithm to recommend the best next move at each step.
Installation from source
> git
> cd
> cargo
Some parameters, like the probability of drawing a 4 tile, can be changed by passing additional parameters to the cargo run
command:
> cargo
To get the list of available options, simply run:
> cargo
License
Apache 2.0/MIT
All original work licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.