ouch", // S
			"97": "defense", // A
			"100": "attack" // D
		};

		var commandStack = []; // 保存命令的堆栈
		document.onkeypress = function( ev ){
			var keyCode = ev.keyCode,
			command = makeCommand( Ryu, commands[ keyCode ] );
			if ( command ){
				command(); // 执行命令
				commandStack.push( command ); // 将刚刚执行过的命令保存进堆栈
			}
		};

		document.getElementById( 'replay' ).onclick = function(){ // 点击播放录像
			var command;
			while( comman