Last active
February 7, 2025 23:39
-
-
Save Zaydiscool777/d54dba014e029ef7d1b30703653b8e74 to your computer and use it in GitHub Desktop.
[Chess Battle Advanced] (PuzzleScript Script)
This file contains hidden or 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 hidden or 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 [Chess Battle Advanced] | |
author Zayd Mohammed | |
homepage https://beacons.ai/zaydiscool777/ | |
(debug) | |
verbose_logging | |
======== | |
OBJECTS | |
======== | |
(Touch) Grass . | |
lightgreen green | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
Icely (Puzzles) + | |
lightblue green red blue purple | |
11022 | |
11022 | |
00000 | |
33044 | |
33044 | |
C(hess) | |
black white red | |
01110 | |
10000 | |
10000 | |
01110 | |
22222 | |
B(attle) | |
black white red | |
11110 | |
10001 | |
11110 | |
10001 | |
22222 | |
A(dvanced) | |
black white red | |
00100 | |
01010 | |
01110 | |
01010 | |
22222 | |
Target | |
lightblue (darkblue cant be seen) | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Wall | |
brown darkbrown | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Player | |
black orange white blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
Crate | |
orange | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Pawn | |
orange | |
00000 | |
0.0.0 | |
0.0.0 | |
0.0.0 | |
00000 | |
Knight | |
orange | |
00000 | |
0.0.0 | |
00000 | |
0.0.0 | |
00000 | |
TPawn | |
blue | |
00000 | |
0.0.0 | |
0.0.0 | |
0.0.0 | |
00000 | |
TKnight | |
blue | |
00000 | |
0.0.0 | |
00000 | |
0.0.0 | |
00000 | |
BadPawn | |
red | |
00000 | |
0.0.0 | |
0.0.0 | |
0.0.0 | |
00000 | |
BadKnight | |
red | |
00000 | |
0.0.0 | |
00000 | |
0.0.0 | |
00000 | |
MCrate | |
orange yellow | |
11111 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
MPawn | |
orange yellow | |
11111 | |
0.0.0 | |
0.0.0 | |
0.0.0 | |
00000 | |
MKnight | |
orange yellow | |
11111 | |
0.0.0 | |
00000 | |
0.0.0 | |
00000 | |
MTPawn | |
blue yellow | |
11111 | |
0.0.0 | |
0.0.0 | |
0.0.0 | |
00000 | |
MTKnight | |
blue yellow | |
11111 | |
0.0.0 | |
00000 | |
0.0.0 | |
00000 | |
MBadPawn | |
red yellow | |
11111 | |
0.0.0 | |
0.0.0 | |
0.0.0 | |
00000 | |
MBadKnight | |
red yellow | |
11111 | |
0.0.0 | |
00000 | |
0.0.0 | |
00000 | |
======= | |
LEGEND | |
======= | |
Background = Grass or Icely or C or B or A | |
(i officialy hate automatic backgrounds.) | |
# = Wall | |
: = Player | |
o = Target | |
==================== | |
* = Crate | |
° = Crate and Target | |
8 = MCrate | |
& = MCrate and Target | |
==================== | |
p = Pawn | |
π = Pawn and Target | |
pp = TPawn | |
bp = BadPawn | |
• = MPawn (alt 8) | |
˚ = MPawn and Target (alt k) | |
•• = MTPawn | |
b• = MBadPawn | |
==================== | |
n = Knight | |
˜ = Knight and Target | |
(how is ° not ˚??? | |
is slightly bigger than other characters | |
you know what? just use n) | |
nn = TKnight | |
bn = BadKnight | |
m = MKnight | |
µ = MKnight and Target | |
mm = MTKnight | |
bm = MBadKnight | |
==================== | |
Pushy = Crate or Pawn or Knight or MCrate or MPawn or MKnight | |
Stopper = Pushy or Wall | |
x = Stopper | |
==================== | |
Piece = TPawn or TKnight or MCrate or MTPawn or MTKnight | |
; = Player or MCrate or MTPawn or MTKnight | |
======= | |
SOUNDS | |
======= | |
(endlevel 51318308 | |
showmessage 97811508) | |
endlevel 30016309 | |
showmessage 71031106 | |
Crate move 36772507 | |
TPawn move 12071104 | |
TKnight move 95852305 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Target | |
Player, Wall, Crate, Pawn, Knight, MCrate, MPawn, MKnight | |
BadPawn | |
TPawn | |
TKnight | |
BadKnight | |
MTPawn | |
MBadPawn | |
MTKnight | |
MBadKnight | |
====== | |
RULES | |
====== | |
((multi) | |
multi has to go first because multi pushes normal :/) | |
(crate) | |
[ > ; | 8 ] -> [ > ; | > 8 ] | |
(pawn) | |
[ > ; | • | ] -> [ > ; | | v •• ] | |
(bad pawn case) | |
[ # | > •• | # ] -> [ # | •• | # ] | |
[ | < b• ] -> [ > • | ] | |
(knight) | |
[ > ; | m | | ] -> [ > ; | | | v mm ] | |
(bad knight case) | |
[ # | > mm | # ] -> [ # | v bm | # ] | |
[ > bm | | ] -> [ | | < m ] | |
(rudeness) | |
[ no o | > piece | o ] -> [ | < piece | o ] | |
[ no # | > piece | # ] -> [ | < piece | # ] | |
((un)temp) | |
late [ •• ] -> [ • ] | |
late [ mm ] -> [ m ] | |
(crate) | |
[ > ; | * ] -> [ > ; | > * ] | |
(pawn) | |
[ > ; | p | ] -> [ > ; | | v pp ] | |
(bad pawn case) | |
[ x | > pp | x ] -> [ x | v bp | x ] | |
[ | < bp ] -> [ > p | ] | |
(knight) | |
[ > ; | n | | ] -> [ > ; | | | v nn ] | |
(bad knight case) | |
[ x | > nn | x ] -> [ x | v bn | x ] | |
[ > bn | | ] -> [ | | < n ] | |
(rudeness (again)) | |
[ no o | > piece | o ] -> [ | < piece | o ] | |
[ no x | > piece | x ] -> [ | < piece | x ] | |
((un)temp) | |
late [ pp ] -> [ p ] | |
late [ nn ] -> [ n ] | |
============== | |
WINCONDITIONS | |
============== | |
all Target on Pushy | |
======= | |
LEVELS | |
======= | |
message introducing... | |
(chess battlegrounds/board) | |
########## | |
#........# | |
#........# | |
#........# | |
#........# | |
#........# | |
#........# | |
#........# | |
#........# | |
########## | |
(........ | |
........ | |
........ | |
........ | |
........ | |
........ | |
........ | |
........) | |
(chess battlegrounds/board advanced) | |
cbacbacb | |
++####+a | |
a#:...#c | |
b#.*:.#b | |
c#.o.*#a | |
a#..:o#c | |
b+####+b | |
cabcabca | |
message (uh, still introducing...) | |
message rude chess: the demake!!!1!11 | |
###cba | |
#.o#:. | |
#..### | |
#°:..# | |
#..*.# | |
#..### | |
####+: | |
message I think you know this game. | |
###### | |
#....# | |
#.#:.# | |
#.*°.# | |
#.o°.# | |
#....# | |
###### | |
message pawns move diagonally if they can. otherwise, they get pushed like a crate. | |
####.. | |
##o#.. | |
#..### | |
#π:..# | |
#..*.# | |
#..### | |
####.. | |
message knights are the same, but they move twice before | |
########## | |
#........# | |
#..#.#...# | |
#.#:#....# | |
##.n#o...# | |
##.......# | |
#.##.....# | |
#.π......# | |
#........# | |
########## | |
message pieces would rather go to their right than their left, unless they can't or won't. (think clockwise) | |
message however, if there is a wall, they will go left. | |
.....#c | |
.###.#b | |
....##a | |
#..#.## | |
......# | |
.*#np.# | |
...:.## | |
message oh wait! i forgot! why do you think it's called rude chess? | |
.....#c | |
.###.#b | |
....##a | |
#..#.## | |
......# | |
.*#np.# | |
...:.## | |
message huh? | |
.....#c | |
.###.#b | |
....##a | |
#..#.## | |
......# | |
.*#np.# | |
...:.## | |
message oh, wait, you can't talk to me. | |
message it's because the chess pieces are rude. (duh.) more specifically, the try to avoid targets if they can | |
.....#c | |
.###.#b | |
.ooo##a | |
#..#.## | |
......# | |
.*#np.# | |
...:.## | |
message the rudeness thing can be forgetten at times... | |
...... | |
.#.##. | |
...o.. | |
.#p##. | |
...o.. | |
.m.... | |
#:#... | |
message i'm too tired to make levels, you can dm me on Discord at @Zaydiscool777 for new levels. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment