/py2048

Primary LanguagePython

ABOUT :

This is recreation of the game 2048 coded in python.

GAME INFO :

This version of 2048 game works on terminal. It is dynamic i.e user can enter the required board size and winning value.

Playing the game:

1: Player have to input the size of gameboard and winning value.
2: If the winning value is not an exponent of 2 then it will get approximated to nearest exponent of 2.
3: By moving the tiles to left,right,up or down you have to score upto the target(w) set by you.
4: You can make moves by the keys A,S,D,W (case insensitive).
A - Left
W - Up
S - Down
D - Right
5: After each valid move a '2' will be generated at a random place having value 0.
6: If there is not any 0 in the matrix and if no more valid moves are there then player loses the game.