Skip to content

themattrix/sed2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048.sed

Build Status

This is a sed implementation of the 2048 game. All of the game logic is in sed. Bash is used to supply the sed script with user input and with pseudo-random numbers.

Use the W, A, S, D keys to control. Run with:

$ ./src/2048.sh

Disable colorized output with:

$ ./src/2048.sh --no-color

Gameplay difference from the original 2048 game:

  • None that I'm aware of :)

Here's a demo of me button-mashing.

Note for OS X users: The version of sed installed by default has different options than the Linux one. Notably, it does not have the extended-regex option -r. A compatible version is available through homebrew: brew install gnu-sed --default-names (the --default-names flag is used to ensure it installs as sed and not gsed). You can also build the latest version from here: http://sed.sourceforge.net/

About

The 2048 game implemented in sed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages