filiparag / asm2048

Low level 2048 game implementation with SDL2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Low level 2048 game implementation with SDL2

License:MIT License


Languages

Language:C 88.5%Language:Assembly 7.4%Language:CMake 2.4%Language:C++ 1.7%