Created
September 23, 2020 16:22
-
-
Save TottiLuukkanen/af9749ae4496695aa56be0b1111d0c8e to your computer and use it in GitHub Desktop.
2048 (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title 2048 | |
author Robin, Milla, Tino, Totti | |
homepage www.aalto.fi | |
youtube CKAc3nYEatw | |
noaction | |
======== | |
OBJECTS | |
======== | |
Background | |
lightblue | |
1 | |
white lightgrey | |
00000 | |
00000 | |
00100 | |
00000 | |
00000 | |
2 | |
white grey | |
00000 | |
00100 | |
00000 | |
00100 | |
00000 | |
3 | |
white darkgray | |
00000 | |
01000 | |
00100 | |
00010 | |
00000 | |
4 | |
white black | |
00000 | |
01010 | |
00000 | |
01010 | |
00000 | |
5 | |
white darkblue | |
00000 | |
01010 | |
00100 | |
01010 | |
00000 | |
6 | |
white blue | |
00000 | |
01010 | |
01010 | |
01010 | |
00000 | |
7 | |
white lightblue | |
00000 | |
01010 | |
01110 | |
01010 | |
00000 | |
8 | |
white lightred | |
00000 | |
01110 | |
01010 | |
01110 | |
00000 | |
256 | |
white red | |
00000 | |
01110 | |
01110 | |
01110 | |
00000 | |
512 | |
white darkred | |
00000 | |
01110 | |
01110 | |
01110 | |
00000 | |
1024 | |
white orange | |
00000 | |
01110 | |
01110 | |
01110 | |
00000 | |
2048 | |
white yellow | |
00000 | |
01110 | |
01110 | |
01110 | |
00000 | |
======= | |
LEGEND | |
======= | |
. = Background | |
Player = 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 256 or 512 or 1024 or 2048 | |
Q = 256 | |
W = 512 | |
E = 1024 | |
R = 2048 | |
======= | |
SOUNDS | |
======= | |
sfx0 35354707 | |
sfx1 50561103 | |
sfx2 36214503 | |
sfx3 78336708 | |
endgame 111111111111111111111111111111 | |
endlevel 63354508 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Player | |
====== | |
RULES | |
====== | |
[ > player | no Player] -> [ | > player ] sfx0 | |
[ > 1 | 1 ] -> [ | 2 ] | |
[ > 2 | 2 ] -> [ | 3 ] | |
[ > 3 | 3 ] -> [ | 4 ] | |
[ > 4 | 4 ] -> [ | 5 ] | |
[ > 5 | 5 ] -> [ | 6 ] | |
[ > 6 | 6 ] -> [ | 7 ] | |
[ > 7 | 7 ] -> [ | 8 ] | |
[ > 8 | 8 ] -> [ | 256 ] sfx1 | |
[ > 256 | 256 ] -> [ | 512 ] sfx2 | |
[ > 512 | 512 ] -> [ | 1024 ] sfx3 | |
[ > 1024 | 1024 ] -> [ | 2048 ] | |
random [ no Player ] -> [1] | |
============== | |
WINCONDITIONS | |
============== | |
some 2048 | |
======= | |
LEVELS | |
======= | |
.... | |
.2E. | |
..E. | |
..2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment