Skip to content

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

License

Notifications You must be signed in to change notification settings

hirschsn/mini2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published