Command line based customizable 2048
Simply run make
from root dir
Before game starts program asks follwing :
- base number for the game; numbers that appear will always be power of the base user indicates
- size of grid; grid will be n by n
- goal for the game; number user will be trying to reach
Basic rules are same as usual 2048. Please refer to following link on how to play 2048 : https://www.wikihow.com/Play-2048
For each rouond, new grid will be displayed and asks for direction, type in following numbers to move tiles
- 0 = up
- 1 = down
- 2 = left
- 3 = right
type in q
to quit and p
to generate random tile