The full source code to the 2048 clone, written in Phaser 3.
Emanuele Feronato has released the code to his game 4096: "Built with Phaser 3, it’s the good old “2048” game but you can only get up to 4096. Once you have a 4096 tile, you can make it grow bigger.
I want to share with you the uncommented source code, a commented version will follow, meanwhile this is a good way to learn stuff like:
- game scenes
- scale management
- bitmap texts