欢迎来到
rayray.asia
-
重力四子棋
Puzzle Script
返回
title Gravity Connect Four author Ray homepage www.puzzlescript.net noundo background_color black text_color white again_interval 0 tween_length 0.03 sprite_size 9x9 norestart runtime_metadata_twiddling ======== OBJECTS ======== zer 0 transparent ......... ..00000.. ..0...0.. ..0...0.. ..0...0.. ..0...0.. ..0...0.. ..00000.. ......... one 1 transparent ......... ....0.... ....0.... ....0.... ....0.... ....0.... ....0.... ....0.... ......... two 2 transparent ......... ...000... ..0...0.. .....0... ....0.... ...0..... ..0...... ..00000.. ......... thr 3 transparent ......... ...000... ..0...0.. ......0.. ...000... ......0.. ..0...0.. ...000... ......... help transparent ......... ..0...0.. ..0...0.. ..0...0.. ..00000.. ..0...0.. ..0...0.. ..0...0.. ......... temp transparent checked transparent Background black edge black p1 red transparent 111111111 100000001 100000001 100000001 100000001 100000001 100000001 100000001 111111111 p2 yellow transparent 111111111 100000001 100000001 100000001 100000001 100000001 100000001 100000001 111111111 piece1 red transparent gray 111111111 111000111 110020011 100202001 102000201 100202001 110020011 111000111 111111111 1win red white 111111111 100000001 100000001 100010001 100111001 100010001 100000001 100000001 111111111 piece2 yellow transparent gray 111111111 111000111 110020011 100202001 102000201 100202001 110020011 111000111 111111111 2win yellow white 111111111 100000001 100000001 100010001 100111001 100010001 100000001 100000001 111111111 square transparent blue 111111111 111000111 110000011 100000001 100000001 100000001 110000011 111000111 111111111 ( around transparent temp transparent mark transparent apartof1 transparent apartof transparent checked transparent corner transparent findcor transparent now transparent) full transparent ......... ..00000.. ..0...... ..0000... ..0...... ..0...... ..0...... ..0...... ......... ======= LEGEND ======= ` = edge . = square player = p1 or p2 piece = piece1 or piece2 + = p1 num = 0 or 1 or 2 or 3 ======= SOUNDS ======= ================ COLLISIONLAYERS ================ Background edge Player square piece num 1win, 2win full help temp checked (now around apartof1 apartof temp mark checked corner findcor) ====== RULES ====== ( [1win] -> [1win end] [2win] -> [2win end] [moving player] [end] -> [player] [end] restart) [moving player] [full] -> restart [moving player] [1win] -> restart [moving player] [2win] -> restart [up p1] -> [p2] [up p2] -> [p1] down [down p1 | no piece] -> [p2 down piece1 | ] down [down p2 | no piece] -> [p1 down piece2 | ] down [down player | piece] -> [player | piece] down [piece | no piece | no piece square] -> [ | down piece | square] [player] -> [player full] [square no piece] [full] -> [square] [] late [ piece1 | piece1 | piece1 | piece1 ] -> [ 1win | 1win | 1win | 1win] late [ piece2 | piece2 | piece2 | piece2 ] -> [ 2win | 2win | 2win | 2win] late [num] -> [] late [temp] -> [] late [checked] -> [] late [help] -> [] late [player] -> [player temp] late [piece1 no checked] [temp] -> [piece1 0] [] +late down [square | piece1 0] -> [square help 1 | piece1 0] +late right[square | help 1] -> [square help 1 | ] +late right[edge | help 1] -> [edge | full] +late down [square | help 1] -> [square help 2 | help] +late down [edge | help 1] -> [edge | full] +late right[square | help 2] -> [square help 2 | ] +late right[edge | help 2] -> [edge | full] +late down [square | help 2] -> [square help 3 | help] +late down [edge | help 2] -> [edge | full] +late right[square | help 3] -> [square help | ] +late right[edge | help 3] -> [edge | full] +late [full] [help] -> [full] [] +late [full] -> [] +late [piece1 0] [piece1 help] -> [piece1 1] [piece1 temp] +late [piece1 1] [piece1 help] -> [piece1 2] [piece1 temp] +late [piece1 2] [piece1 help] -> [piece1 3] [piece1 temp] +late [piece1 3] [piece1 temp] -> [piece1 3] [1win] +late [piece1 3] [piece1 temp] -> [piece1 3] [1win] +late [piece1 3] [piece1 temp] -> [piece1 3] [1win] +late [piece1 3] -> [1win] +late [piece1 num] -> [piece1 checked temp] late [num] -> [] late [temp] -> [] late [checked] -> [] late [help] -> [] late [player] -> [player temp] late [piece1 no checked] [temp] -> [piece1 0] [] +late down [square | piece1 0] -> [square help 1 | piece1 0] +late left [square | help 1] -> [square help 1 | ] +late left [edge | help 1] -> [edge | full] +late down [square | help 1] -> [square help 2 | help] +late down [edge | help 1] -> [edge | full] +late left [square | help 2] -> [square help 2 | ] +late left [edge | help 2] -> [edge | full] +late down [square | help 2] -> [square help 3 | help] +late down [edge | help 2] -> [edge | full] +late left [square | help 3] -> [square help | ] +late left [edge | help 3] -> [edge | full] +late [full] [help] -> [full] [] +late [full] -> [] +late [piece1 0] [piece1 help] -> [piece1 1] [piece1 temp] +late [piece1 1] [piece1 help] -> [piece1 2] [piece1 temp] +late [piece1 2] [piece1 help] -> [piece1 3] [piece1 temp] +late [piece1 3] [piece1 temp] -> [piece1 3] [1win] +late [piece1 3] [piece1 temp] -> [piece1 3] [1win] +late [piece1 3] [piece1 temp] -> [piece1 3] [1win] +late [piece1 3] -> [1win] +late [piece1 num] -> [piece1 checked temp] ====================================================== late [num] -> [] late [temp] -> [] late [checked] -> [] late [help] -> [] late [player] -> [player temp] late [piece2 no checked] [temp] -> [piece2 0] [] +late down [square | piece2 0] -> [square help 1 | piece2 0] +late right[square | help 1] -> [square help 1 | ] +late right[edge | help 1] -> [edge | full] +late down [square | help 1] -> [square help 2 | help] +late down [edge | help 1] -> [edge | full] +late right[square | help 2] -> [square help 2 | ] +late right[edge | help 2] -> [edge | full] +late down [square | help 2] -> [square help 3 | help] +late down [edge | help 2] -> [edge | full] +late right[square | help 3] -> [square help | ] +late right[edge | help 3] -> [edge | full] +late [full] [help] -> [full] [] +late [full] -> [] +late [piece2 0] [piece2 help] -> [piece2 1] [piece2 temp] +late [piece2 1] [piece2 help] -> [piece2 2] [piece2 temp] +late [piece2 2] [piece2 help] -> [piece2 3] [piece2 temp] +late [piece2 3] [piece2 temp] -> [piece2 3] [2win] +late [piece2 3] [piece2 temp] -> [piece2 3] [2win] +late [piece2 3] [piece2 temp] -> [piece2 3] [2win] +late [piece2 3] -> [2win] +late [piece2 num] -> [piece2 checked temp] late [num] -> [] late [temp] -> [] late [checked] -> [] late [help] -> [] late [player] -> [player temp] late [piece2 no checked] [temp] -> [piece2 0] [] +late down [square | piece2 0] -> [square help 1 | piece2 0] +late left [square | help 1] -> [square help 1 | ] +late left [edge | help 1] -> [edge | full] +late down [square | help 1] -> [square help 2 | help] +late down [edge | help 1] -> [edge | full] +late left [square | help 2] -> [square help 2 | ] +late left [edge | help 2] -> [edge | full] +late down [square | help 2] -> [square help 3 | help] +late down [edge | help 2] -> [edge | full] +late left [square | help 3] -> [square help | ] +late left [edge | help 3] -> [edge | full] +late [full] [help] -> [full] [] +late [full] -> [] +late [piece2 0] [piece2 help] -> [piece2 1] [piece2 temp] +late [piece2 1] [piece2 help] -> [piece2 2] [piece2 temp] +late [piece2 2] [piece2 help] -> [piece2 3] [piece2 temp] +late [piece2 3] [piece2 temp] -> [piece2 3] [2win] +late [piece2 3] [piece2 temp] -> [piece2 3] [2win] +late [piece2 3] [piece2 temp] -> [piece2 3] [2win] +late [piece2 3] -> [2win] +late [piece2 num] -> [piece2 checked temp] ============== WINCONDITIONS ============== ======= LEVELS ======= message rule: 4 piece connect in a line will win ```+``` ....... ....... ....... ....... ....... ....... .......