/toy_2048_prolog

A implementation of the game 2048 in Prolog

Primary LanguageProlog

Dmeqo

This is a naive and fom scratch implementation of the game 2048 in (SWI-)Prolog.

It does not aim to be a playable game. I'm just training my programming skills and found this game a nice challenge for this week.

And yes, my prolog code sucks, I'm still new in Logic Programming :-)

BTW, Dmeqo stands for Dois Mil e Quarenta e Oito, or something like that, which means Two Thousands Forty Eight in Portuguese.

How to run

First of all install Swi-Prolog version 7.x and then run the run.sh script or compile the code with make and then execute the binary dmeqo.