Skip to content

123vivekr/play2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

play2048

Play 2048 on the command line. This game is implemented in rust-lang.

How to play?

  1. Clone this repo
git clone [email protected]:123vivekr/play2048.git
  1. Enter play2048 directory
cd play2048
  1. Start the CLI game!
cargo run <board_dimension> [target]

Parameters:

  • board_dimension: Dimensions of the board. Example 4 for a 4x4 board.
  • target: Target to achieve to win the game. (Must be a power of 2). Example 2048. (Defaults to 2048)

Example: cargo run 4 2048

About

2048 implemented in rust-lang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages