A search-based "AI" player of the famous 2048 game forked from the dev.family implementation using Rust (Yew) and compiled to WASM. Currently, we make use of several heuristics, e.g. monotonicity and smoothness, inside of an expectimax tree search.
The simplest way to run is via docker:
docker build -t wasm-2048 .
docker run -it --rm -p 8080:8000 wasm-2048
Then open http://127.0.0.1:8080 and watch the computer play itself. Hopefully it makes it to 2048!