Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini2048

Minimal, terminal-based clone of the popular game 2048 written in C. Should work on any POSIX-compatible system. (For others, e.g. Windows, remove the termios stuff and the ANSI color sequences.)

screenshot

Why yet another clone? Why "mini"?

2048 is an simple game. So should be it's implementation:

  1. Single C file,
  2. No dependencies but libc (and POSIX terminal interface + compatible terminal emulator),
  3. Only ~200 sloc.

Usage

Use w/a/s/d or 8/4/5/6 keys to move the blocks.

License

See LICENSE (ISC).

About

Minimal, terminal-based clone of the popular game 2048 written in C.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages