wasm-terminal-2048

The game 2048 is written in Rust that can be played with the GUI in a command line terminal or a browser by using webassembly. Both share the same library that contains the game logic.

Demo

Command line (Left) / Browser (Right)

command line demo browser demo

Build & Run

Command line

Webassembly (web native)

Note: build NodeJS package by changing the build options in wasm-pack in build.sh wasm-pack build options

Documentation

Features

LICENCE

MIT LICENCE