Created
September 23, 2020 16:46
-
-
Save TottiLuukkanen/c98c9a9e5688941f15fc6e358ad2b997 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 ] sfx0 | |
[ > 2 | 2 ] -> [ | 3 ] sfx0 | |
[ > 3 | 3 ] -> [ | 4 ] sfx0 | |
[ > 4 | 4 ] -> [ | 5 ] sfx0 | |
[ > 5 | 5 ] -> [ | 6 ] sfx0 | |
[ > 6 | 6 ] -> [ | 7 ] sfx0 | |
[ > 7 | 7 ] -> [ | 8 ] sfx0 | |
[ > 8 | 8 ] -> [ | 256 ] sfx1 | |
[ > 256 | 256 ] -> [ | 512 ] sfx2 | |
[ > 512 | 512 ] -> [ | 1024 ] sfx3 | |
[ > 1024 | 1024 ] -> [ | 2048 ] | |
random [ no Player ] -> [1] | |
============== | |
WINCONDITIONS | |
============== | |
some 2048 | |
======= | |
LEVELS | |
======= | |
Message In case you would like some relaxing background music, give the icon in the top right corner two clicks! | |
...... | |
..2... | |
2..... | |
...... | |
....E. | |
....E. | |
Message Too easy, huh? Well here's a smaller grid! | |
...E | |
.2.E | |
.... | |
..2. | |
Message Congratulations! | |
Message You've won the game! | |
Message You could try to beat the game even faster! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment