Jump to content

2048: Difference between revisions

50 bytes removed ,  5 years ago
m
No edit summary
Line 3,903:
\\ Win is also a statement but we can use it as a variable too.
Win=False
'For i=0 to 15: Append EmptyTiles, i: next i
ExitNow=False
BoardDirection=BoardtileRight
Line 4,038 ⟶ 4,037:
 
</pre>
 
=={{header|Maple}}==
This application requires a bunch of different components to properly run when being as close to the mobile game as possible. These components are: A math container for the grid, an arrow key for each direction, a restart button, a text box to display the game over/highscore/arrow key to start messages, labels for score and highscore, and textboxes for the highscore and score values. Once these are created, change the names to the ones in the main body of code, and include the proper procedures for the 4 arrows and the restart button.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.