My wip abomination of a 2048
Go to file
David Husicka 0ea91127bc finally finished 2021-12-28 21:34:06 +01:00
.vscode finally finished 2021-12-28 21:34:06 +01:00
res Minor fixes 2021-12-24 14:02:00 +01:00
src finally finished 2021-12-28 21:34:06 +01:00
.gitignore Initial commit 2021-11-15 09:57:27 +01:00
README.md Minor fixes 2021-12-24 14:02:00 +01:00
meson.build move source files into it's own dir 2021-12-11 10:18:43 +01:00

README.md

2048

A school project

To build, you need following developement dependencies: meson, sdl2, sdl2_image, sdl2_ttf, ncurses. You can get these dependecies the following way:

Arch Linux

sudo pacman -S meson sdl2 sdl2_image sdl2_ttf ncurses

Ubuntu

sudo apt install meson libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev ncurses-dev

Builing and Running

To build, copy paste following:

meson builddir
meson compile -C builddir

To run, run:

./builddir/src/2048

Usage

You can pass --help as an command line argument to print help message. You can force incomplete TUI mode that exists for a demonstration of portability and independence on SDL. This TUI mode is incomplete only because it's missing few UI elements and not because it is not feasible. You can also force other sizes of the game area (square ones are recommended).

Note

This project uses open source font. You can find the font licence file in the resource folder.