Rule in the 2048 game (Developers)
Hello! Only today I discovered the game 2048
It is really very nice and very addictive game. And simple enough for DOS port. There even already exist a pretty DOS port. And what is kind for me, it is done in pascal and it is compilable in Turbo pascal, Freepascal and even TMT pascal.
I am considering a reimplementation in graphic mode but I do not understand the rule about placing a new cells in the board.
In the DOS source it is in function boardPlace
in the ENGINE.INC.
What the function does: in the random free cell on the board places a new cell - which in the 90% probability is the cell "2" and in the 10% probability cell "4".
My question is: This is the same algorithm like in the original implementation?
---
DOS-u-akbar!
Complete thread:
- Rule in the 2048 game - Laaca, 25.07.2022, 00:46
- Rule in the 2048 game - jadoxa, 25.07.2022, 03:22
- Rule in the 2048 game - bretjohn, 25.07.2022, 22:39