package{
import flash.display.Sprite;
import flash.events.SampleDataEvent;//10.0编译
import flash.events.KeyboardEvent;
import flash.media.Sound;
import flash.text.*;
[SWF(width='330',height='480',frameRate='128',backgroundColor='0')]
public class Main extends Sprite{
const W=11,H=16,W_H=W*H;
var ST:uint=0x16150605,color:uint=0xb2f360,SW:Vector.<uint>=new Vector.<uint>(W,true),X:int,Y:int,D:int=8,input:uint,temp:uint,i:int,k:int,aa:uint,
sound:Sound = new Sound(),pos:uint,Volume:Number=0,Volume2:Number=0,frequency:Number=1234,kk:Number=0.5,
x1:int,x2:int,x3:int,x4:int,y1:int,y2:int,y3:int,y4:int,
S=new Sprite(),SLT=S.graphics.lineTo,SMT=S.graphics.moveTo,SBF=S.graphics.beginFill,MLT=graphics.lineTo,MMT=graphics.moveTo,MBF=graphics.beginFill,
index:uint,pos1:uint,pos2:uint,sss=0,bx=0,aaa,aaaa,fkindex=0,
fkArr=[[0x16150605],[0x14160515,0x16251505,0x4061505,0x14251505],[0x4251505,0x6161415,0x4142425,0x14060405],[0x4070605,0x35251505],[0x6251505,0x16060405,0x24251505,0x4161415],[0x16041505,0x6162515],[0x6141505,0x26161505]],
Arr=[91,0,1,637,7,0,85,0,1,637,4,0,637,3,0,637,3,0,637,3,0,637,3,0,637,2,0,637,2,0,637,2,0,637,2,0,637,1,0,637,1,0,637,1,0,637,1,0,318,0,0,267,0,0,318,6,0,267,6,0,318,4,0,267,4,0,318,3,0,267,3,0,318,3,0,267,3,0,318,2,0,267,2,0,318,1,0,267,1,0,318,1,0,267,1,0,318,1,0,267,1,0,637,9,0,637,9,0,637,5,0,637,5,0,637,3,0,637,3,0,637,3,0,637,3,0,637,3,0,637,3,0,637,2,0,637,2,0,637,1,0,637,1,0,637,1,0,637,1,0,637,1,0,637,1,0,318,7,0,267,7,0,318,5,0,267,5,0,318,3,0,267,3,0,318,3,0,267,3,0,318,2,0,267,2,0,318,2,0,267,2,0,318,1,0,267,1,0,318,1,0,267,1,0,637,0,0,637,0,0,637,2,0,637,4,0,637,1,0,637,4,0,637,1,0,637,3,0,637,1,0,637,2,0,637,1,0,637,1,0,637,1,0,637,1,0,637,0,1,637,1,0,637,0,1,637,1,0,318,0,0,267,0,0,318,2,0,267,4,0,318,1,0,267,4,0,318,1,0,267,2,0,318,1,0,267,2,0,318,1,0,267,1,0,318,1,0,267,1,0,318,0,1,267,1,0,318,0,1,267,1,0,637,2,0,637,5,0,637,1,0,637,4,0,637,1,0,637,3,0,637,1,0,637,2,0,637,1,0,637,1,0,637,1,0,637,1,0,637,1,0,637,1,0,637,0,1,637,1,0,637,0,1,637,1,0,318,2,0,267,5,0,318,2,0,267,4,0,318,1,0,267,3,0,318,1,0,267,2,0,318,1,0,267,1,0,318,1,0,267,1,0,318,1,0,267,1,0,318,0,1,267,1,0,637,0,0,267,0,1,637,6,0,267,0,1,637,4,0,267,0,1,637,3,0,267,0,1,637,3,0,267,0,1,637,2,0,267,0,1,637,2,0,267,0,1,637,1,0,267,0,1,637,1,0,267,0,1,212,0,0,133,0,0,212,6,0,133,6,0,212,4,0,133,5,0,212,3,0,133,4,0,212,3,0,133,4,0,267,7,0,158,8,0,267,4,0,158,5,0,267,3,0,158,5,0,267,3,0,158,3,0,212,9,0,133,10,0,212,5,0,133,6,0,212,3,0,133,5,0,212,3,0,133,4,0,212,3,0,133,3,0,212,2,0,133,2,0,212,1,0,133,2,0,212,1,0,133,1,0,212,1,0,133,1,0,238,7,0,141,8,0,238,5,0,141,6,0,238,3,0,141,5,0,238,3,0,141,3,0,238,2,0,141,3,0,238,2,0,141,2,0,238,1,0,141,2,0,238,1,0,141,1,0,283,0,0,167,0,0,283,6,0,167,6,0,283,4,0,167,5,0,283,3,0,167,4,0,283,3,0,167,4,0,283,2,0,167,2,0,283,1,0,167,2,0,283,1,0,167,2,0,283,1,0,167,1,0,267,9,0,158,10,0,267,5,0,158,6,0,267,3,0,158,5,0,267,3,0,158,4,0,267,3,0,158,3,0,267,2,0,158,2,0,267,1,0,158,2,0,267,1,0,158,1,0,267,1,0,158,1,0,252,7,0,178,8,0,252,5,0,178,6,0,252,3,0,178,5,0,252,3,0,178,3,0,252,9,0,178,10,0,252,6,0,178,6,0,252,4,0,178,5,0,252,3,0,178,4,0,252,0,0,178,0,0,252,6,0,178,6,0,252,4,0,178,5,0,252,3,0,178,4,0,252,3,0,178,4,0,252,2,0,178,2,0,252,1,0,178,2,0,252,1,0,178,2,0,252,1,0,178,1,0,238,0,0,188,0,0,238,6,0,188,6,0,238,4,0,188,5,0,238,3,0,188,4,0,238,0,0,188,0,0,238,6,0,188,6,0,238,4,0,188,5,0,238,3,0,188,4,0,238,3,0,188,4,0,238,7,0,188,8,0,238,4,0,188,5,0,238,3,0,188,4,0,238,3,0,188,3,0,238,2,0,188,3,0,238,2,0,188,2,0,238,1,0,188,2,0,238,1,0,188,1,0,238,1,0,188,1,0,283,7,0,200,8,0,283,4,0,200,5,0,283,3,0,200,4,0,283,3,0,200,3,0,283,9,0,200,10,0,283,5,0,200,6,0,283,3,0,200,5,0,283,3,0,200,3,0,283,0,0,200,0,0,283,6,0,200,6,0,283,4,0,200,5,0,283,3,0,200,4,0,283,3,0,200,4,0,283,2,0,200,2,0,283,1,0,200,2,0,283,1,0,200,2,0,283,1,0,200,1,0,267,9,0,212,10,0,267,5,0,212,6,0,267,4,0,212,5,0,267,3,0,212,4,0,267,0,0,158,0,0,267,6,0,158,6,0,267,4,0,158,5,0,267,3,0,158,4,0,267,3,0,158,4,0,238,7,0,200,8,0,238,4,0,200,5,0,238,3,0,200,4,0,238,3,0,200,3,0,238,9,0,158,10,0,238,6,0,158,6,0,238,4,0,158,5,0,238,3,0,158,4,0,267,0,0,212,0,0,267,6,0,212,6,0,267,4,0,212,5,0,267,3,0,212,4,0,267,3,0,212,3,0,267,2,0,212,3,0,267,2,0,212,2,0,267,1,0,212,2,0,267,1,0,212,1,0,267,1,0,212,1,0,133,7,0,212,0,1,133,5,0,212,0,1,141,6,0,212,0,1,141,4,0,212,0,1,158,0,0,212,0,1,158,3,0,212,0,1,178,0,0,212,0,1,178,2,0,212,0,1,178,1,0,212,0,1,188,2,0,212,0,1,188,1,0,212,0,1,188,1,0,212,0,1,188,1,0,212,0,1,188,1,0,212,0,1,188,1,0,212,0,1,188,0,1,212,0,1,188,0,1,212,0,1,188,0,1,212,0,1,318,2,0,158,4,0,318,1,0,158,2,0,318,1,0,158,2,0,318,1,0,158,1,0,318,1,0,188,4,0,318,1,0,188,3,0,318,0,1,188,2,0,318,0,1,188,1,0,158,2,0,158,4,0,158,2,0,158,3,0,158,1,0,158,2,0,158,1,0,158,1,0,158,1,0,158,1,0,158,1,0,158,1,0,158,1,0,158,1,0,158,0,1,158,0,1,158,0,1,158,0,1,167,2,0,141,4,0,167,2,0,141,3,0,167,1,0,141,2,0,167,1,0,141,1,0,167,1,0,212,0,0,167,1,0,212,3,0,167,1,0,212,2,0,167,0,1,212,2,0,167,0,1,212,1,0,167,2,0,141,4,0,167,2,0,141,3,0,167,1,0,141,2,0,167,1,0,141,1,0,167,1,0,141,1,0,167,1,0,141,1,0,167,1,0,141,1,0,167,0,1,141,0,1,167,0,1,141,0,1,158,2,0,158,4,0,158,1,0,158,2,0,158,1,0,158,2,0,158,1,0,158,1,0,158,1,0,158,1,0,158,1,0,158,1,0,158,0,1,158,0,1,158,0,1,158,0,1,158,10,0,133,10,0,158,6,0,133,6,0,158,5,0,133,5,0,158,4,0,133,4,0,158,4,0,133,4,0,158,10,0,133,10,0,158,6,0,133,6,0,158,5,0,133,5,0,158,3,0,133,3,0,158,10,0,133,10,0,158,6,0,133,6,0,158,5,0,133,5,0,158,4,0,133,4,0,158,3,0,133,3,0,158,2,0,133,2,0,158,2,0,133,2,0,158,1,0,133,1,0,158,1,0,133,1,0,178,8,0,141,8,0,178,6,0,141,6,0,178,5,0,141,5,0,178,3,0,141,3,0,178,0,0,141,0,0,178,6,0,141,6,0,178,5,0,141,5,0,178,4,0,141,4,0,178,4,0,141,4,0,178,8,0,141,8,0,178,5,0,141,5,0,178,4,0,141,4,0,178,4,0,141,4,0,178,3,0,141,3,0,178,2,0,141,2,0,178,2,0,141,2,0,178,1,0,141,1,0,188,10,0,158,10,0,188,6,0,158,6,0,188,5,0,158,5,0,188,4,0,158,4,0,188,4,0,158,4,0,188,8,0,158,8,0,188,5,0,158,5,0,188,4,0,158,4,0,188,3,0,158,3,0,188,10,0,158,10,0,188,6,0,158,6,0,188,5,0,158,5,0,188,4,0,158,4,0,188,3,0,158,3,0,188,2,0,158,2,0,188,2,0,158,2,0,188,1,0,158,1,0,188,1,0,158,1,0,212,8,0,167,8,0,212,6,0,167,6,0,212,5,0,167,5,0,212,3,0,167,3,0,212,0,0,141,0,0,212,6,0,141,6,0,212,5,0,141,5,0,212,4,0,141,4,0,212,4,0,141,4,0,188,8,0,158,8,0,188,5,0,158,5,0,188,5,0,158,5,0,188,3,0,158,3,0,188,10,0,141,10,0,188,6,0,141,6,0,188,5,0,141,5,0,188,4,0,141,4,0,188,4,0,141,4,0,212,10,0,167,10,0,212,6,0,167,6,0,212,5,0,167,5,0,212,4,0,167,4,0,212,4,0,167,4,0,212,2,0,167,2,0,212,2,0,167,2,0,212,2,0,167,2,0,212,1,0,167,1,0,224,2,0,167,1,0,224,2,0,167,0,1,212,0,0,167,0,1,212,3,0,167,0,1,188,0,0,167,0,1,188,5,0,167,0,1,188,4,0,167,0,1,167,7,0,167,0,1,167,4,0,167,0,1,158,10,0,167,0,1,158,6,0,167,0,1,158,5,0,167,0,1,158,3,0,167,0,1,158,3,0,167,0,1,158,2,0,167,0,1,158,2,0,167,0,1,158,1,0,167,0,1,212,0,0,133,0,0,212,6,0,133,6,0,212,5,0,133,5,0,212,4,0,133,4,0,212,3,0,133,3,0,267,10,0,158,10,0,267,6,0,158,6,0,267,5,0,158,5,0,267,3,0,158,3,0,212,0,0,133,0,0,212,6,0,133,6,0,212,5,0,133,5,0,212,4,0,133,4,0,212,4,0,133,4,0,212,2,0,133,2,0,212,2,0,133,2,0,212,1,0,133,1,0,212,1,0,133,1,0,238,10,0,141,10,0,238,6,0,141,6,0,238,5,0,141,5,0,238,4,0,141,4,0,238,3,0,141,3,0,238,2,0,141,2,0,238,2,0,141,2,0,238,1,0,141,1,0,238,1,0,141,1,0,283,8,0,167,8,0,283,5,0,167,5,0,283,4,0,167,4,0,283,4,0,167,4,0,283,2,0,167,2,0,283,2,0,167,2,0,283,2,0,167,2,0,283,1,0,167,1,0,267,0,0,158,0,0,267,6,0,158,6,0,267,5,0,158,5,0,267,4,0,158,4,0,267,4,0,158,4,0,267,2,0,158,2,0,267,2,0,158,2,0,267,2,0,158,2,0,267,1,0,158,1,0,252,10,0,178,10,0,252,6,0,178,6,0,252,5,0,178,5,0,252,4,0,178,4,0,252,0,0,178,0,0,252,6,0,178,6,0,252,5,0,178,5,0,252,4,0,178,4,0,252,4,0,178,4,0,252,10,0,178,10,0,252,6,0,178,6,0,252,5,0,178,5,0,252,3,0,178,3,0,252,3,0,178,3,0,252,2,0,178,2,0,252,2,0,178,2,0,252,1,0,178,1,0,238,0,0,188,0,0,238,6,0,188,6,0,238,5,0,188,5,0,238,4,0,188,4,0,238,4,0,188,4,0,238,8,0,188,8,0,238,6,0,188,6,0,238,5,0,188,5,0,238,3,0,188,3,0,238,10,0,188,10,0,238,6,0,188,6,0,238,5,0,188,5,0,238,4,0,188,4,0,238,3,0,188,3,0,238,2,0,188,2,0,238,2,0,188,2,0,238,1,0,188,1,0,238,1,0,188,1,0,283,8,0,200,8,0,283,5,0,200,5,0,283,5,0,200,5,0,283,3,0,200,3,0,283,0,0,200,0,0,283,6,0,200,6,0,283,5,0,200,5,0,283,4,0,200,4,0,283,0,0,200,0,0,283,8,0,200,8,0,283,5,0,200,5,0,283,4,0,200,4,0,283,4,0,200,4,0,283,2,0,200,2,0,283,2,0,200,2,0,283,1,0,200,1,0,283,1,0,200,1,0,267,10,0,212,10,0,267,6,0,212,6,0,267,5,0,212,5,0,267,3,0,212,3,0,267,0,0,158,0,0,267,6,0,158,6,0,267,5,0,158,5,0,267,4,0,158,4,0,267,4,0,158,4,0,238,8,0,200,8,0,238,5,0,200,5,0,238,4,0,200,4,0,238,4,0,200,4,0,238,10,0,158,10,0,238,6,0,158,6,0,238,5,0,158,5,0,238,4,0,158,4,0,267,0,0,212,0,0,267,8,0,212,8,0,267,5,0,212,5,0,267,5,0,212,5,0,267,3,0,212,3,0,267,3,0,212,3,0,267,2,0,212,2,0,267,2,0,212,2,0,267,1,0,212,1,0,158,0,0,212,0,1,158,6,0,212,0,1,178,0,0,212,0,1,178,8,0,212,0,1,178,5,0,212,0,1,188,8,0,212,0,1,188,5,0,212,0,1,212,8,0,212,0,1,212,6,0,212,0,1,224,10,0,212,0,1,224,6,0,212,0,1,224,5,0,212,0,1,224,4,0,212,0,1,224,3,0,212,0,1,224,2,0,212,0,1,224,2,0,212,0,1,224,1,0,212,0,1,224,1,0,212,0,1,224,8,0,158,8,0,224,5,0,158,5,0,224,5,0,158,5,0,224,3,0,158,3,0,224,0,0,188,0,0,224,6,0,188,6,0,224,5,0,188,5,0,224,4,0,188,4,0,224,4,0,188,4,0,224,10,0,158,10,0,224,6,0,158,6,0,224,5,0,158,5,0,224,3,0,158,3,0,224,3,0,158,3,0,224,2,0,158,2,0,224,2,0,158,2,0,224,1,0,158,1,0,224,1,0,158,1,0,212,10,0,167,10,0,212,6,0,167,6,0,188,10,0,167,5,0,188,6,0,167,3,0,212,10,0,167,3,0,212,6,0,167,2,0,238,0,0,167,2,0,238,8,0,167,1,0,238,5,0,167,1,0,252,8,0,167,0,1,252,5,0,167,0,1,252,4,0,167,0,1,252,4,0,167,0,1,252,2,0,167,0,1,252,2,0,167,0,1,252,2,0,167,0,1,252,1,0,167,0,1,252,10,0,178,10,0,252,6,0,178,6,0,252,5,0,178,5,0,252,4,0,178,4,0,252,4,0,178,4,0,252,8,0,212,8,0,252,6,0,212,6,0,252,5,0,212,5,0,252,3,0,212,3,0,252,10,0,178,10,0,252,6,0,178,6,0,252,5,0,178,5,0,252,4,0,178,4,0,252,3,0,178,3,0,252,2,0,178,2,0,252,2,0,178,2,0,252,1,0,178,1,0,252,1,0,178,1,0,238,10,0,188,10,0,238,6,0,188,6,0,212,0,0,188,5,0,212,6,0,188,4,0,238,0,0,188,3,0,238,6,0,188,2,0,267,0,0,188,2,0,267,8,0,188,1,0,267,5,0,188,1,0,283,8,0,188,0,1,283,5,0,188,0,1,283,4,0,188,0,1,283,3,0,188,0,1,283,3,0,188,0,1,283,2,0,188,0,1,283,2,0,188,0,1,283,1,0,188,0,1,283,0,0,200,0,0,283,6,0,200,6,0,283,5,0,200,5,0,283,4,0,200,4,0,283,4,0,200,4,0,283,8,0,238,8,0,283,6,0,238,6,0,283,5,0,238,5,0,283,3,0,238,3,0,283,10,0,200,10,0,283,6,0,200,6,0,283,5,0,200,5,0,283,4,0,200,4,0,283,3,0,200,3,0,283,2,0,200,2,0,283,2,0,200,2,0,283,1,0,200,1,0,283,1,0,200,1,0,267,10,0,212,10,0,267,6,0,212,6,0,267,5,0,212,5,0,267,3,0,212,3,0,267,3,0,212,3,0,267,2,0,212,2,0,267,2,0,212,2,0,267,1,0,212,1,0,267,0,1,212,0,1,267,0,1,212,0,1,267,0,1,212,0,1,267,0,1,212,0,1,267,0,1,212,0,1,267,0,1,212,0,1,267,0,1,212,0,1,267,0,1,212,0,1,267,0,1,212,0,1,283,0,0,212,0,0,283,6,0,212,6,0,283,5,0,212,5,0,283,4,0,212,4,0,283,3,0,212,3,0,283,3,0,212,3,0,283,2,0,212,2,0,283,2,0,212,2,0,283,1,0,212,1,0,283,1,0,212,1,0,267,8,0,158,8,0,267,5,0,158,5,0,267,4,0,158,4,0,267,3,0,158,3,0,267,3,0,158,3,0,267,2,0,158,2,0,267,2,0,158,2,0,267,1,0,158,1,0,267,1,0,158,1,0,267,0,1,158,0,1,267,0,1,158,0,1,267,0,1,158,0,1,267,0,1,158,0,1,267,0,1,158,0,1,267,0,1,158,0,1,267,0,1,158,0,1,267,0,1,158,0,1,212,0,0,167,0,0,212,6,0,167,6,0,212,5,0,167,5,0,212,4,0,167,4,0,212,4,0,167,4,0,212,10,0,167,10,0,212,6,0,167,6,0,212,5,0,167,5,0,212,3,0,167,3,0,188,10,0,158,10,0,188,6,0,158,6,0,188,5,0,158,5,0,188,4,0,158,4,0,188,0,0,158,0,0,188,8,0,158,8,0,188,5,0,158,5,0,188,4,0,158,4,0,188,4,0,158,4,0,167,8,0,141,8,0,167,6,0,141,6,0,167,5,0,141,5,0,167,4,0,141,4,0,167,0,0,141,0,0,167,6,0,141,6,0,167,5,0,141,5,0,167,4,0,141,4,0,167,4,0,141,4,0,158,8,0,133,8,0,158,5,0,133,5,0,158,4,0,133,4,0,158,4,0,133,4,0,158,8,0,133,8,0,158,5,0,133,5,0,158,5,0,133,5,0,158,3,0,133,3,0,158,0,0,119,0,0,158,6,0,119,6,0,158,5,0,119,5,0,158,4,0,119,4,0,158,0,0,119,0,0,158,8,0,119,8,0,158,5,0,119,5,0,158,4,0,119,4,0,158,4,0,119,4,0,188,8,0,158,8,0,188,5,0,158,5,0,188,4,0,158,4,0,188,3,0,158,3,0,188,10,0,158,10,0,188,6,0,158,6,0,188,5,0,158,5,0,188,3,0,158,3,0,167,0,0,141,0,0,167,6,0,141,6,0,167,5,0,141,5,0,167,4,0,141,4,0,167,4,0,141,4,0,167,2,0,141,2,0,167,2,0,141,2,0,167,1,0,141,1,0,167,1,0,141,1,0,52,10,0,141,0,1,52,6,0,141,0,1,52,5,0,141,0,1,52,4,0,141,0,1,52,3,0,141,0,1,52,2,0,141,0,1,52,2,0,141,0,1,52,2,0,141,0,1,52,1,0,141,0,1,318,10,0,141,0,1,318,6,0,141,0,1,318,5,0,141,0,1,267,10,0,141,0,1,267,6,0,141,0,1,267,5,0,141,0,1,212,8,0,141,0,1,212,6,0,141,0,1,212,5,0,141,0,1,318,8,0,167,8,0,318,5,0,167,5,0,267,0,0,167,4,0,267,8,0,167,3,0,267,5,0,167,0,1,267,5,0,167,0,1,212,8,0,167,0,1,212,5,0,167,0,1,318,0,0,158,0,0,318,6,0,158,6,0,318,5,0,158,5,0,267,0,0,158,4,0,267,6,0,158,4,0,267,5,0,158,2,0,212,10,0,158,2,0,212,6,0,158,2,0,212,5,0,158,1,0,318,0,0,158,1,0,318,6,0,158,0,1,318,5,0,158,0,1,267,0,0,158,0,1,267,6,0,158,0,1,267,5,0,158,0,1,212,0,0,158,0,1,212,6,0,158,0,1,212,5,0,158,0,1,357,0,0,158,0,1,357,6,0,158,0,1,357,5,0,158,0,1,283,10,0,158,0,1,283,6,0,158,0,1,283,5,0,158,0,1,238,10,0,158,0,1,238,6,0,158,0,1,238,5,0,158,0,1,357,8,0,188,8,0,357,6,0,188,6,0,357,5,0,188,5,0,283,10,0,188,4,0,283,6,0,188,0,1,283,5,0,188,0,1,238,8,0,188,0,1,238,5,0,188,0,1,238,5,0,188,0,1,238,8,0,178,8,0,238,5,0,178,5,0,238,4,0,178,4,0,238,3,0,178,3,0,238,0,1,178,3,0,238,0,1,178,2,0,238,0,1,178,2,0,238,0,1,178,1,0,238,0,1,178,1,0,89,8,0,178,1,0,89,6,0,178,0,1,89,5,0,178,0,1,89,3,0,178,0,1,89,0,1,178,0,1,89,0,1,178,0,1,89,0,1,178,0,1,89,0,1,178,0,1,212,0,0,167,0,0,212,6,0,167,6,0,212,5,0,167,5,0,212,4,0,167,4,0,212,4,0,167,4,0,212,8,0,167,8,0,212,5,0,167,5,0,212,5,0,167,5,0,212,3,0,167,3,0,188,10,0,158,10,0,188,6,0,158,6,0,188,5,0,158,5,0,188,4,0,158,4,0,188,0,0,158,0,0,188,6,0,158,6,0,188,5,0,158,5,0,188,4,0,158,4,0,167,0,0,141,0,0,167,6,0,141,6,0,167,5,0,141,5,0,167,4,0,141,4,0,167,4,0,141,4,0,167,8,0,141,8,0,167,5,0,141,5,0,167,5,0,141,5,0,167,3,0,141,3,0,158,10,0,133,10,0,158,6,0,133,6,0,158,5,0,133,5,0,158,4,0,133,4,0,158,0,0,133,0,0,158,6,0,133,6,0,158,5,0,133,5,0,158,4,0,133,4,0,158,4,0,133,4,0,158,8,0,119,8,0,158,5,0,119,5,0,158,4,0,119,4,0,158,3,0,119,3,0,158,10,0,119,10,0,158,6,0,119,6,0,158,5,0,119,5,0,158,4,0,119,4,0,188,0,0,158,0,0,188,6,0,158,6,0,188,5,0,158,5,0,188,4,0,158,4,0,188,4,0,158,4,0,188,8,0,158,8,0,188,5,0,158,5,0,188,4,0,158,4,0,188,4,0,158,4,0,167,10,0,141,10,0,167,6,0,141,6,0,167,5,0,141,5,0,167,4,0,141,4,0,167,4,0,141,4,0,167,2,0,141,2,0,167,2,0,141,2,0,167,1,0,141,1,0,167,1,0,141,1,0,52,10,0,141,0,1,52,6,0,141,0,1,52,5,0,141,0,1,52,3,0,141,0,1,52,3,0,141,0,1,52,2,0,141,0,1,52,2,0,141,0,1,52,1,0,141,0,1,318,0,0,141,0,1,318,8,0,141,0,1,318,5,0,141,0,1,267,0,0,141,0,1,267,8,0,141,0,1,267,5,0,141,0,1,212,0,0,141,0,1,212,6,0,141,0,1,212,5,0,141,0,1,318,0,0,167,0,0,318,6,0,167,6,0,318,5,0,167,5,0,267,10,0,167,4,0,267,6,0,167,4,0,267,5,0,167,0,1,212,10,0,167,0,1,212,6,0,167,0,1,212,5,0,167,0,1,318,10,0,158,10,0,318,6,0,158,6,0,318,5,0,158,5,0,267,10,0,158,4,0,267,6,0,158,3,0,267,5,0,158,2,0,212,8,0,158,2,0,212,6,0,158,1,0,212,5,0,158,1,0,318,8,0,158,1,0,318,5,0,158,0,1,318,5,0,158,0,1,267,8,0,158,0,1,267,5,0,158,0,1,212,0,0,158,0,1,212,6,0,158,0,1,212,5,0,158,0,1,357,0,0,158,0,1,357,8,0,158,0,1,357,5,0,158,0,1,283,0,0,158,0,1,283,6,0,158,0,1,283,5,0,158,0,1,238,0,0,158,0,1,238,6,0,158,0,1,238,5,0,158,0,1,357,10,0,188,10,0,357,6,0,188,6,0,357,5,0,188,5,0,283,10,0,188,4,0,283,6,0,188,0,1,283,5,0,188,0,1,238,10,0,188,0,1,238,6,0,188,0,1,238,5,0,188,0,1,238,10,0,178,10,0,238,6,0,178,6,0,238,5,0,178,5,0,238,3,0,178,3,0,238,0,1,178,3,0,238,0,1,178,2,0,238,0,1,178,2,0,238,0,1,178,1,0,89,0,0,178,1,0,89,8,0,178,1,0,89,5,0,178,0,1,89,4,0,178,0,1,89,4,0,178,0,1,89,0,1,178,0,1,89,0,1,178,0,1,89,0,1,178,0,1,89,0,1,178,0,1,105,4,0,83,4,0,105,3,0,83,3,0,105,2,0,83,2,0,105,1,0,83,1,0,105,0,0,83,0,0,105,3,0,83,3,0,105,2,0,83,2,0,105,2,0,83,2,0,105,1,0,83,1,0,93,4,0,78,4,0,93,2,0,78,2,0,93,2,0,78,2,0,93,1,0,78,1,0,93,0,0,78,0,0,93,3,0,78,3,0,93,2,0,78,2,0,93,1,0,78,1,0,83,0,0,70,0,0,83,4,0,70,4,0,83,2,0,70,2,0,83,2,0,70,2,0,83,1,0,70,1,0,83,1,0,70,1,0,83,1,0,70,1,0,83,0,1,70,0,1,83,0,1,70,0,1,212,4,0,212,4,0,212,3,0,212,3,0,212,2,0,212,2,0,212,2,0,212,2,0,212,1,0,212,1,0,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,78,6,0,105,6,0,78,4,0,105,4,0,78,3,0,105,3,0,78,2,0,105,2,0,78,0,0,93,0,0,78,4,0,93,4,0,78,4,0,93,4,0,78,2,0,93,2,0,78,2,0,93,2,0,70,5,0,83,5,0,70,4,0,83,4,0,70,3,0,83,3,0,70,2,0,83,2,0,70,0,0,83,0,0,70,4,0,83,4,0,70,4,0,83,4,0,70,2,0,83,2,0,66,0,0,78,0,0,66,5,0,78,5,0,66,4,0,78,4,0,66,3,0,78,3,0,66,2,0,78,2,0,66,1,0,78,1,0,66,1,0,78,1,0,66,1,0,78,1,0,66,1,0,78,1,0,212,0,0,212,0,0,212,5,0,212,5,0,212,4,0,212,4,0,212,3,0,212,3,0,212,2,0,212,2,0,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,70,10,0,105,10,0,70,6,0,105,6,0,70,5,0,105,5,0,70,4,0,105,4,0,70,0,0,83,0,0,70,6,0,83,6,0,70,5,0,83,5,0,70,4,0,83,4,0,70,3,0,83,3,0,66,10,0,78,10,0,66,6,0,78,6,0,66,5,0,78,5,0,66,3,0,78,3,0,66,0,0,78,0,0,66,6,0,78,6,0,66,5,0,78,5,0,66,4,0,78,4,0,59,0,0,70,0,0,59,8,0,70,8,0,59,5,0,70,5,0,59,4,0,70,4,0,59,4,0,70,4,0,59,3,0,70,3,0,59,2,0,70,2,0,59,2,0,70,2,0,59,1,0,70,1,0,212,10,0,212,10,0,212,6,0,212,6,0,212,5,0,212,5,0,212,4,0,212,4,0,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,212,0,1,66,8,0,105,8,0,66,5,0,105,5,0,66,4,0,105,4,0,66,4,0,105,4,0,66,10,0,78,10,0,66,6,0,78,6,0,66,5,0,78,5,0,66,3,0,78,3,0,59,0,0,70,0,0,59,6,0,70,6,0,59,5,0,70,5,0,59,4,0,70,4,0,59,0,0,70,0,0,59,8,0,70,8,0,59,5,0,70,5,0,59,4,0,70,4,0,59,4,0,70,4,0,66,7,0,52,8,0,66,5,0,52,6,0,66,4,0,52,3,0,66,2,0,52,1,0,66,1,0,52,1,0,66,2,0,52,1,0,66,1,0,52,1,0,66,1,0,52,1,0,66,1,0,52,1,0,167,7,0,52,0,1,167,3,0,52,0,1,167,3,0,141,8,0,167,1,0,141,6,0,167,3,0,119,13,0,167,1,0,119,6,0,167,1,0,100,0,0,167,1,0,100,7,0,167,1,0,100,5,0,178,7,0,100,0,1,178,5,0,100,0,1,178,4,0,141,13,0,178,1,0,141,6,0,178,3,0,119,13,0,178,1,0,119,6,0,178,1,0,105,0,0,178,1,0,105,7,0,167,0,0,105,0,1,167,6,0,105,0,1,167,2,0,141,0,0,167,3,0,141,8,0,167,1,0,141,5,0,167,2,0,119,8,0,167,1,0,119,5,0,167,1,0,100,13,0,167,1,0,100,6,0,178,9,0,100,0,1,178,6,0,100,0,1,178,2,0,141,0,0,178,2,0,141,7,0,178,1,0,119,0,0,178,2,0,119,8,0,178,1,0,119,5,0,178,1,0,105,8,0,178,1,0,105,5,0,133,7,0,105,0,1,133,5,0,105,0,1,133,4,0,119,13,0,133,1,0,119,6,0,133,3,0,93,13,0,133,1,0,93,6,0,133,1,0,78,0,0,133,1,0,78,7,0,141,0,0,78,0,1,141,6,0,78,0,1,141,3,0,78,0,1,141,3,0,119,8,0,141,1,0,119,5,0,141,2,0,93,8,0,141,1,0,93,5,0,141,1,0,83,13,0,141,1,0,83,6,0,133,9,0,83,0,1,133,5,0,83,0,1,133,4,0,83,13,0,133,2,0,83,7,0,133,1,0,59,0,0,133,2,0,59,8,0,133,1,0,59,5,0,133,1,0,49,13,0,133,1,0,49,6,0,141,9,0,49,0,1,141,5,0,49,0,1,141,4,0,119,13,0,141,2,0,119,7,0,141,1,0,93,0,0,141,2,0,93,7,0,141,1,0,83,0,0,141,1,0,83,7,0,141,1,0,83,5,0,93,7,0,83,0,1,93,3,0,83,0,1,93,3,0,119,8,0,93,1,0,119,6,0,93,3,0,93,13,0,93,1,0,93,6,0,93,1,0,83,13,0,93,1,0,83,6,0,105,0,0,83,0,1,105,6,0,83,0,1,105,2,0,83,0,0,105,2,0,83,7,0,105,1,0,59,0,0,105,2,0,59,8,0,105,1,0,59,5,0,105,1,0,52,8,0,105,1,0,52,5,0,93,9,0,52,0,1,93,5,0,52,0,1,93,4,0,83,13,0,93,2,0,83,7,0,93,1,0,59,0,0,93,2,0,59,7,0,93,1,0,49,0,0,93,1,0,49,8,0,93,1,0,49,5,0,105,7,0,49,0,1,105,3,0,49,0,1,105,3,0,83,8,0,105,1,0,83,6,0,105,3,0,59,13,0,105,1,0,59,6,0,105,1,0,52,13,0,105,1,0,52,6,0,93,0,0,52,0,1,93,6,0,52,0,1,93,3,0,52,0,1,93,3,0,70,8,0,93,1,0,70,5,0,93,2,0,59,8,0,93,1,0,59,5,0,93,1,0,39,8,0,93,1,0,39,6,0,119,9,0,39,0,1,119,5,0,39,0,1,119,2,0,70,0,0,119,2,0,70,7,0,119,1,0,59,0,0,119,2,0,59,7,0,119,1,0,41,0,0,119,1,0,41,8,0,119,1,0,41,5,0,93,9,0,41,0,1,93,5,0,41,0,1,93,4,0,70,13,0,93,1,0,70,6,0,93,3,0,59,13,0,93,2,0,59,7,0,93,1,0,39,0,0,93,1,0,39,7,0,119,0,0,39,0,1,119,6,0,39,0,1,119,3,0,39,0,1,119,3,0,70,8,0,119,1,0,70,5,0,119,2,0,59,8,0,119,1,0,59,6,0,119,1,0,41,13,0,119,1,0,41,6,0,52,0,0,52,0,0,52,6,0,52,7,0,52,2,0,52,4,0,52,2,0,52,1,0,52,1,0,52,1,0,52,2,0,52,1,0,52,1,0,52,1,0,52,1,0,52,1,0,52,1,0,52,1,0,424,9,0,424,13,0,424,5,0,424,6,0,424,4,0,424,3,0,424,1,0,424,1,0,424,3,0,424,1,0,424,2,0,424,1,0,424,1,0,424,1,0,424,1,0,424,1,0,424,1,0,424,1,0,637,7,0,637,7,0,637,4,0,637,4,0,637,3,0,637,3,0,637,3,0,637,3,0,637,2,0,637,2,0,637,2,0,637,2,0,637,1,0,637,1,0,637,1,0,637,1,0,318,0,0,267,0,0,318,6,0,267,6,0,318,4,0,267,4,0,318,3,0,267,3,0,318,3,0,267,3,0,318,2,0,267,2,0,318,2,0,267,2,0,318,1,0,267,1,0,318,1,0,267,1,0],
len=Arr.length/6;
function Main(){
stage.addEventListener(KeyboardEvent.KEY_DOWN,function KeyDown(e:KeyboardEvent){input=e.keyCode;});//输入设备
sound.addEventListener( 'sampleData',CPU);
sound.play();
addChild(S);
}
function CPU(e:SampleDataEvent){
if(((x1=ST&0xF)|(y1=(ST>>4)&0xF)|(x2=(ST>>8)&0xF)|(y2=(ST>>12)&0xF)|(Volume=Volume>0.15?Volume-=0.2:0)|(int(aaa=true))|(int(aaaa=true))|(Volume2=Volume2>0.15?Volume2-=0.15:0)|(x3=(ST>>16)&0xF)|(y3=(ST>>20)&0xF)|(x4=(ST>>24)&0xF)|(y4=(ST>>28)&0xF)) && pos%0x16000==0 || input==96 || input==40){
while(aaaa && (y1<H-1 && !(SW[x1]&(1<<(y1+1))))&&(y2<H-1 && !(SW[x2]&(1<<(y2+1))))&&(y3<H-1 && !(SW[x3]&(1<<(y3+1))))&&(y4<H-1 && !(SW[x4]&(1<<(y4+1)))) ){
ST+=0x10101010|(int(aaa=false));
(input!=40)?aaaa=false:(((x1=ST&0xF)|(y1=(ST>>4)&0xF)|(x2=(ST>>8)&0xF)|(y2=(ST>>12)&0xF)|(x3=(ST>>16)&0xF)|(y3=(ST>>20)&0xF)|(x4=(ST>>24)&0xF)|(y4=(ST>>28)&0xF)))}
if(aaa || input==40){newBox();}
}else if(input==37 && x1>0 && x2>0 && x3>0 && x4>0 && !(SW[x1-1]&(1<<(y1))) && !(SW[x2-1]&(1<<(y2))) && !(SW[x3-1]&(1<<(y3))) && !(SW[x4-1]&(1<<(y4)))){ST-=0x1010101;
}else if(input==39 && x1<W-1 && x2<W-1 && x3<W-1 && x4<W-1 && !(SW[x1+1]&(1<<(y1)))&& !(SW[x2+1]&(1<<(y2))) && !(SW[x3+1]&(1<<(y3))) && !(SW[x4+1]&(1<<(y4)))){ST+=0x1010101;
}else if(input==38){ST+=(temp=-fkArr[fkindex][bx]+fkArr[fkindex][aa=(bx==fkArr[fkindex].length-1?0:bx+1)]|(pos1=0))|(0&((sss=-0.01)|(frequency=200)|(Volume=0.5)));
(((x1=ST&0xF)+(y1=(ST>>4)&0xF)+(x2=(ST>>8)&0xF)+(y2=(ST>>12)&0xF)+(x3=(ST>>16)&0xF)+(y3=(ST>>20)&0xF)+(x4=(ST>>24)&0xF)+(y4=(ST>>28)&0xF)) && x1>=0 && x2>=0 && x3>=0 && x4>=0 && x1<W && x2<W && x3<W && x4<W && y1>=0 && y2>=0 && y3>=0 && y4>=0 && y1<H-1 && y2<H-1 && y3<H-1 && y4<H-1 && !(SW[x1]&(1<<(y1)))&& !(SW[x2]&(1<<(y2))) && !(SW[x3]&(1<<(y3))) && !(SW[x4]&(1<<(y4))))?bx=aa:ST-=temp;
}
for(i=int(S.graphics.clear());i<4;i+=1+int(SBF(color,0.333*2)|S.graphics.lineStyle(1,color,0.5)|SMT(X=30*((ST>>(i*8))&0xF),Y=30*((ST>>(i*8+4))&0xF))|SLT(X+30,Y)|SLT(X+30,Y+30)|SLT(X,Y+30)|SLT(X,Y)|SBF(color,0.333)|SMT(X,Y)|SLT(X+D,Y+D)|SLT(X+30+D,Y+D)|SLT(X+30,Y)|SLT(X,Y)|SBF(color,0.333)|SMT(X+30,Y)|SLT(X+30+D,Y+D)|SLT(X+30+D,Y+30+D)|SLT(X+30,Y+30)|SLT(X+30,Y)|SBF(color,0.333)|SMT(X+30,Y+30)|SLT(X+30+D,Y+30+D)|SLT(X+D,Y+30+D)|SLT(X,Y+30)|SLT(X+30,Y+30)|SBF(color,0.333)|SMT(X,Y+30)|SLT(X+D,Y+30+D)|SLT(X+D,Y+D)|SLT(X+30,Y)|SLT(X,Y+30)));
for(i=0;i<0x1000;i++,pos++,pos1++,pos2++,frequency+=sss,input=0,index=int(pos/0x1000)%len)e.data.writeFloat(0.6*( (((int((pos1%frequency)/frequency<kk)<<1)-1)*Volume)+(((int((pos2%frequency)/frequency<kk)<<1)-1)*Volume2) +0.4*((int((pos%Arr[index*6])/Arr[index*6]<(Arr[index*6+2]?0.125:0.75))<<1)-1)*(Arr[index*6+1]/16)+0.4*((int((pos%Arr[index*6+3])/Arr[index*6+3]<(Arr[index*6+5]?0.125:0.75))<<1)-1)*(Arr[index*6+4]/16) ));
}
function newBox(){
for(i=1;i<5;i++)SW[((ST>>(i*8))&0xF)]=SW[((ST>>(i*8))&0xF)]|(1<<(((ST>>(i*8+4))&0xF))) |(0&((pos2=0)|(sss=0.01)|(frequency=100)|(Volume2=0.5)));
if(0!=(temp=SW[0]&SW[1]&SW[2]&SW[3]&SW[4]&SW[5]&SW[6]&SW[7]&SW[8]&SW[9]&SW[10])){for(k=0 ;k<W;k++){SW[k]&=(~temp)|(0&(aa=temp));
for(i=H-1;i>=0;i--)if(aa&(1<<i))SW[k]=(SW[k]<<1)&((1<<(i+1))-1)|SW[k]&(~((1<<(i+1))-1))|(0&((pos2=0)|(sss=0.02)|(frequency=800)|(Volume2=1)))|(0&(i+=1+(0&(aa<<=1))));}}
if(1&(SW[0]|SW[1]|SW[2]|SW[3]|SW[4]|SW[5]|SW[6]|SW[7]|SW[8]|SW[9]|SW[10]))SW[0]=SW[1]=SW[2]=SW[3]=SW[4]=SW[5]=SW[6]=SW[7]=SW[8]=SW[9]=SW[10]=0;
for(i=(0&(int(graphics.clear())+graphics.lineStyle(1,color,0.5)+MMT(0,0)+MLT(0,H*30)+MLT(W*30,H*30)+MLT(W*30,0)));i<W_H;i+=int(0&(MBF(color,SW[i%W]&(1<<int(i/W)))+graphics.drawRect(30*(i%W),30*int(i/W),28,28)+graphics.endFill()))+1);
ST=fkArr[fkindex=(Math.random()*fkArr.length)>>0][bx=((fkArr[fkindex].length*Math.random())>>0)];
}
}
}
分享到:
相关推荐
本项目名为"qt写的俄罗斯方块完整代码",它是一个使用Qt库实现的经典俄罗斯方块游戏。通过这个项目,我们可以深入学习Qt的基本用法以及游戏编程的一些核心概念。 首先,让我们了解一下Qt库。Qt库提供了丰富的组件,...
200行Python代码实现俄罗斯方块所有功能(源码) 200行Python代码实现俄罗斯方块所有功能(源码) 200行Python代码实现俄罗斯方块所有功能(源码) 200行Python代码实现俄罗斯方块所有功能(源码) 200行Python...
200行Python代码实现俄罗斯方块所有功能源码200行Python代码实现俄罗斯方块所有功能源码200行Python代码实现俄罗斯方块所有功能源码200行Python代码实现俄罗斯方块所有功能源码200行Python代码实现俄罗斯方块所有...
C++俄罗斯方块源代码
《深入解析Flash俄罗斯方块源代码》 在游戏开发领域,经典的俄罗斯方块以其独特的玩法和无尽的挑战性,始终吸引着众多开发者去实现。本篇将详细探讨一款使用Flash技术编写的俄罗斯方块源代码,帮助你理解并学习...
【jQuery 游戏 俄罗斯方块 代码】是一款基于JavaScript库jQuery实现的网页版俄罗斯方块游戏。这个游戏的特色在于其简洁高效的代码实现,通过利用jQuery的事件处理和DOM操作功能,使得开发者可以用相对较少的代码量...
《俄罗斯方块源代码加详细注释》是一个非常适合初学者学习的游戏开发资源,它提供了完整的俄罗斯方块游戏的源代码,并且附带了详尽的注释,方便理解每个部分的功能和逻辑。在这个项目中,我们可以深入学习到游戏编程...
《俄罗斯方块C++源代码解析》 在编程领域,经典游戏俄罗斯方块是一个极好的学习案例,它涉及到了基础的图形界面设计、事件处理、数据结构和算法等多个知识点。本篇文章将对“俄罗斯方块C++源代码”进行深入剖析,...
用C语言写的俄罗斯方块代码,注释明确,适合新手参照学习
【标题】中的“一个n年前用vb写的俄罗斯方块游戏源代码”表明这是一个基于Visual Basic(VB)编程语言开发的俄罗斯方块游戏的源代码。VB是微软公司开发的一种面向对象的编程语言,尤其在20世纪90年代至21世纪初非常...
《C++ EasyX 俄罗斯方块代码》是一个关于利用C++编程语言和EasyX图形库实现经典游戏"俄罗斯方块"的项目。EasyX是一个轻量级的C++图形库,它为C++程序员提供了简单易用的图形绘制功能,使得开发2D游戏或图形界面变得...
在分析提供的压缩包"俄罗斯方块"中,我们可以预期它包含源代码文件,如.java文件,这些文件会实现上述的各个部分。开发者可以通过阅读和理解这些源代码来学习Java编程以及游戏开发的相关技巧。同时,这也是一种实践...
本项目是用Java语言实现的俄罗斯方块游戏,它不仅提供了完整的可运行程序——"俄罗斯方块.jar",还附带了源代码——"俄罗斯方块代码.rar",对于学习Java编程以及游戏开发的朋友们来说,这是一个非常宝贵的资源。...
《超简洁的俄罗斯方块代码解析》 在IT行业中,经典游戏的重制与复现是一种常见的编程练习,它能够帮助开发者巩固基础,提升技能。本文将深入探讨一个以“超简洁”为特点的Android版俄罗斯方块代码,旨在解析其核心...
在本项目中,"双人俄罗斯方块简易代码"是一个基于C/C++语言的程序设计实验,主要目标是实现一个可以在控制台上运行的双人对战版本的俄罗斯方块游戏。这个项目涉及到基础的C/C++编程技巧以及利用控制台API来创建图形...
闲时无聊,用Java写了一个小时候经常玩的俄罗斯方块小游戏(里面有源代码和编译好的可执行jar包)。 运行环境jdk1.8 源码使用方法:打开eclipse,新建一个java project然后把tetris目录复制到project里的src目录下。
这是我自己编写的利用C语言实现俄罗斯方块游戏的源代码,简单实用,大家可以下载后自己修改变成自己的源代码
《MFC俄罗斯方块代码详解》 MFC(Microsoft Foundation Classes)是微软提供的一套C++库,用于构建Windows应用程序。本项目“mfc俄罗斯方块代码”是使用MFC框架开发的一款经典游戏——俄罗斯方块,对于初学者来说,...
俄罗斯方块游戏源代码俄罗斯方块游戏源代码俄罗斯方块游戏源代码俄罗斯方块游戏源代码俄罗斯方块游戏源代码C++C++C++
"java"指的是编程语言,"俄罗斯方块"是这个游戏的名字,"java写的俄罗斯方块代码"表明项目用Java实现了这个游戏,而"源代码"则意味着我们可以查看并学习整个项目的实现细节。 在压缩包中的`Read me!.txt`文件通常...