jvallver / 2048

PHP console version of 2048

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2048

PHP console version of 2048

← a → d ↓ s ↑ w | quit - q

 --------------------------- 
|      |      |      |      |
 --------------------------- 
|      |      | 2    | 4    |
 --------------------------- 
|      | 2    | 8    | 2    |
 --------------------------- 
| 8    | 32   | 16   | 4    |
 ---------------------------

The objective of this project is to practice PHP.

Gameplay

Use the keys w,a,s,d for move the tiles. You win if you get the 2048 piece. In each round a new piece appear with value 2 or 4. Do not let the board fill or you will lose the game. Good luck!

About

PHP console version of 2048

License:MIT License


Languages

Language:PHP 100.0%