2048: Difference between revisions

Content added Content deleted
No edit summary
Line 3,903: Line 3,903:
\\ Win is also a statement but we can use it as a variable too.
\\ Win is also a statement but we can use it as a variable too.
Win=False
Win=False
'For i=0 to 15: Append EmptyTiles, i: next i
ExitNow=False
ExitNow=False
BoardDirection=BoardtileRight
BoardDirection=BoardtileRight
Line 4,038: Line 4,037:


</pre>
</pre>

=={{header|Maple}}==
=={{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.
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.