Skip to content

Low level 2048 game implementation with SDL2

License

Notifications You must be signed in to change notification settings

filiparag/asm2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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