Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Latest commit

 

History

History
45 lines (35 loc) · 975 Bytes

README.md

File metadata and controls

45 lines (35 loc) · 975 Bytes

2048

This is an implementation of the game 2048 in the Rust programming language for the testing and development of an expectimax AI solver.

[2048]                   Score:     69872
-----------------------------------------
|  4096   |  2048   |   512   |   16    |
-----------------------------------------
|   16    |   64    |   128   |   32    |
-----------------------------------------
|    8    |   32    |   16    |    8    |
-----------------------------------------
|    2    |    4    |    2    |    4    |
-----------------------------------------

table of contents

usage

To run the game with the expectimax solver:

cargo run -- --solver expectimax

Options:

USAGE:
    2048 [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -s, --solver <solver>    Selects the solver to use

license

LICENSE