番号バージョンの画像サンプルを用意しました



*****ここから******
---------------------------
--15ゲーム用スクリプト
--(c)Akira SAno 1997
--このスクリプトはフリーです
--ただし著作権は放棄しておりません
--自由に改造して使用していただいてもかまいませんが
--これを営業目的で使用するときには
--佐野(sano@mmgate.hus.osaka-u.ac.jp)までご連絡下さい。
---------------------------
global zentaiList,level
--初期設定
on startMovie
repeat with m=1 to 16
puppetSprite m,TRUE
end repeat
set zentaiList=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]
--lelelの値を調整することで、難易度を変更することができます
set level=100
shaffle level
end
on checkMatrix clickTarget
set target=getOne(zentaiList,16)
set targetTate = ((target-1) mod 4)+1
set targetYoko = integer((target-1) / 4 )
set clickTargetTate = ((clickTarget-1) mod 4)+1
set clickTargetYoko = integer((ClickTarget-1) / 4 )
put targetYoko-clickTargetYoko into ZureYoko
put targetTate-clickTargetTate into ZureTate
if targetTate=clicktargetTate then
if Zureyoko > 0 then
repeat with Y=1 to Zureyoko
setAt zentaiList,Target-4*(Y-1),getAt(zentaiList,target-4*Y)
end repeat
else if Zureyoko < 0 then
repeat with Y=1 to abs(zureYoko)
setAt zentaiList,Target+4*(Y-1),getAt(zentaiList,target+4*Y)
end repeat
end if
setAt zentaiList,clickTarget,16
end if
if targetYoko=clickTargetYoko then
if ZureTate > 0 then
repeat with T=1 to ZureTate
setAt zentaiList,Target-(T-1),getAt(zentaiList,target-T)
end repeat
else if ZureTate < 0 then
repeat with T=1 to abs(zureTate)
setAt zentaiList,Target+(T-1),getAt(zentaiList,target+T)
end repeat
end if
setAt zentaiList,clickTarget,16
end if
hyouzi
checkOK
end
on hyouzi
repeat with m=1 to 16
set the castNum of sprite m to getAt(zentaiList,m)
end repeat
updatestage
end
on shaffle level
checkMatrix 4
checkMatrix 1
checkMatrix 13
repeat with m=1 to level
checkMatrix random(16)
end repeat
end
on checkOK
if zentaiList=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16] then
alert"完成です!"
--この*1.1を変更すると、難易度の上昇具合が変わります
set level=level*1.1
shaffle level
end if
end
*****ここまで*****
●4 キャストを配置し終わったスコアを以下のようになっているか確認して下さい(3フレーム目のスクリプトはまだです)。

on exitframe
go to the frame
end

on mouseUp
checkMatrix the clickOn
end

でもピースの動きがイマイチねぇ。ずずず……と動いたら面白いのに。それにピースが動画だったらもう少し面白いんだけどなぁ。
それはちょっと難しいですねぇ。でも先ほどのスクリプトに書き加えてやるとできるかもしれません。(次回につづく)