/asm2048

Low level 2048 game implementation with SDL2

Primary LanguageCMIT LicenseMIT

Low level 2048 game implementation with SDL2

Demo

Try it out

Install on Arch Linux (AUR)

yay -S 2048-gui-git

Prerequisites

Build tools:

  • gcc ≥ 10.2
  • make ≥ 4.3
  • cmake ≥ 3.18

Libraries:

  • sdl2 ≥ 2.0.12
  • sdl2_gfx ≥ 1.0.4
  • sdl2_ttf ≥ 2.0.15

Compilation

This project uses cmake for build proccess. To compile the source code, run following commands:

git submodule update --init --recursive
cmake CMakeLists.txt
make

Executing

This project is targeted for x86_64 GNU/Linux. While C code should be portable, parts written in assembly are not.

./asm2048