package game.moatMadness { import achievement.AchievementManager; import achievement.AchievementXtCommManager; import com.sbi.corelib.audio.SBMusic; import flash.display.Bitmap; import flash.display.MovieClip; import flash.display.Sprite; import flash.events.Event; import flash.events.KeyboardEvent; import flash.geom.Point; import flash.media.SoundChannel; import flash.text.TextFormat; import flash.utils.getDefinitionByName; import flash.utils.getTimer; import game.GameBase; import game.IMinigame; import game.MinigameManager; import game.SoundManager; import gskinner.motion.GTween; import localization.LocalizationManager; public class MoatMadness extends GameBase implements IMinigame { private static const POPUP_X:int = 450; private static const POPUP_Y:int = 275; private static const GAMEOVER_POPUP_X:int = 450; private static const GAMEOVER_POPUP_Y:int = 275; public const FILL_DIRECTION_DOWN:int = 1; public const FILL_DIRECTION_LEFT:int = 2; public const FILL_DIRECTION_UP:int = 3; public const FILL_DIRECTION_RIGHT:int = 4; public const WATER_FILL_TIME:Number = 0.5; public const WATER_FILL_FULLFRAME_OFFSET:int = 5; public const CASTLE_X:int = 300; public const CASTLE_Y:int = 450; public const CASTLE_WIDTH:int = 300; public const CASTLE_HEIGHT:int = 100; public var _levelSelectPopup:Object; public var _startLevelSelected:int; public var _levelSelectPopupTimer:Number; public var myId:uint; public var p1Id:uint; private var _lastTime:int; private var _frameTime:Number; private var _gameTime:Number; public var _gameOver:Boolean; public var _displayAchievementTimer:Number; private var _waterInlet:Object; private var _moatPath:Array; public var _waterFilling:Boolean; private var _iPuzzle:int; private var _moatWaterFall:FrameAnimation; private var _moatFill:FrameAnimation; private var _levels:Array; private var _bInit:Boolean; private var _sceneLoaded:Boolean; public var _layerBackground:Sprite; public var _layerLake:Sprite; public var _layerForeground:Sprite; private var _sceneOffset:Point; private var _obstacles:Array; private var _score:int; private var _scoreCtrl:Object; protected var _startButton:MovieClip; protected var _waterLoop:SoundChannel; private var _gems:Array; private var _gemsToRecycle:Array; private var _progressionArray:Array; protected var _pointsEarnedTotal:int; protected var _pointsEarnedThisGame:int; protected var _moatIsConnected:Boolean; private var _slotHighlight:Object; private var _mouseOverSlot:int; public var _soundMan:SoundManager; private var _audio:Array = ["overflow_fail.mp3","overflow_success.mp3","overflow_rotate.mp3","overflow_water_release.mp3","roll_over.mp3","hud_select.mp3","hud_roll_over.mp3","aj_gem_new.mp3"]; private var _soundNameFail:String = _audio[0]; private var _soundNameSuccess:String = _audio[1]; internal var _soundNameRotate:String = _audio[2]; private var _soundNameWaterRelease:String = _audio[3]; private var _soundNameRollOver:String = _audio[4]; private var _soundNameHudSelect:String = _audio[5]; private var _soundNameHudRollover:String = _audio[6]; private var _soundNameGemAdded:String = _audio[7]; public var SFX_OverflowWater:Class; public var _SFX_Music:SBMusic; public var _musicLoop:SoundChannel; public function MoatMadness() { super(); _levels = [[[{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":180 },{ "tile":"Curve", "x":2, "y":2, "rotation":180 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Starfish", "x":3, "y":0, "rotation":0 },{ "tile":"Grass", "x":1, "y":1, "rotation":0 },{ "tile":"Rock", "x":2, "y":3, "rotation":0 },{ "tile":"Rock", "x":5, "y":2, "rotation":0 },{ "tile":"Rock", "x":7, "y":1, "rotation":0 },{ "tile":"Rock", "x":7, "y":3, "rotation":0 }],[{ "tile":"Curve", "x":1, "y":0, "rotation":270 },{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":270 },{ "tile":"Curve", "x":4, "y":1, "rotation":180 },{ "tile":"Curve", "x":5, "y":1, "rotation":270 },{ "tile":"Straight", "x":5, "y":2, "rotation":90 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Rock", "x":3, "y":1, "rotation":0 },{ "tile":"Pail", "x":5, "y":0, "rotation":0 },{ "tile":"Rock", "x":1, "y":3, "rotation":0 },{ "tile":"Rock", "x":4, "y":2, "rotation":0 },{ "tile":"Rock", "x":6, "y":2, "rotation":0 },{ "tile":"Shovel", "x":8, "y":1, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":180 },{ "tile":"Curve", "x":6, "y":3, "rotation":180 },{ "tile":"Curve", "x":7, "y":3, "rotation":180 },{ "tile":"Curve", "x":7, "y":4, "rotation":0 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Grass", "x":8, "y":1, "rotation":0 },{ "tile":"Grass", "x":1, "y":2, "rotation":0 },{ "tile":"Grass", "x":3, "y":2, "rotation":0 },{ "tile":"Grass", "x":5, "y":3, "rotation":0 },{ "tile":"Starfish", "x":8, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":180 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":90 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Rock", "x":1, "y":0, "rotation":0 },{ "tile":"Rock", "x":1, "y":2, "rotation":0 },{ "tile":"Rock", "x":3, "y":2, "rotation":0 },{ "tile":"Rock", "x":5, "y":3, "rotation":0 },{ "tile":"Rock", "x":6, "y":1, "rotation":0 },{ "tile":"Pail", "x":8, "y":2, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":2, "rotation":90 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":270 },{ "tile":"Curve", "x":5, "y":3, "rotation":270 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Rock", "x":8, "y":3, "rotation":0 },{ "tile":"Rock", "x":6, "y":3, "rotation":0 },{ "tile":"Rock", "x":4, "y":2, "rotation":0 },{ "tile":"Rock", "x":3, "y":3, "rotation":0 },{ "tile":"Rock", "x":2, "y":1, "rotation":0 }],[{ "tile":"Curve", "x":5, "y":0, "rotation":180 },{ "tile":"Straight", "x":4, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":1, "rotation":270 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":2, "rotation":180 },{ "tile":"Straight", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":90 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Rock", "x":0, "y":1, "rotation":0 },{ "tile":"Rock", "x":6, "y":0, "rotation":0 },{ "tile":"Pail", "x":2, "y":3, "rotation":0 },{ "tile":"Rock", "x":5, "y":2, "rotation":0 },{ "tile":"Ball", "x":7, "y":3, "rotation":0 }],[{ "tile":"Curve", "x":3, "y":0, "rotation":180 },{ "tile":"Curve", "x":2, "y":0, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":180 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":270 },{ "tile":"Ball", "x":0, "y":1, "rotation":0 },{ "tile":"Grass", "x":2, "y":3, "rotation":0 },{ "tile":"Rock", "x":3, "y":1, "rotation":0 },{ "tile":"Grass", "x":4, "y":2, "rotation":0 },{ "tile":"Rock", "x":7, "y":1, "rotation":0 },{ "tile":"Pail", "x":6, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":0 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":270 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":270 },{ "tile":"Curve", "x":2, "y":1, "rotation":270 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Grass", "x":1, "y":1, "rotation":0 },{ "tile":"Rock", "x":2, "y":3, "rotation":0 },{ "tile":"Grass", "x":3, "y":2, "rotation":0 },{ "tile":"Ball", "x":5, "y":0, "rotation":0 },{ "tile":"Rock", "x":6, "y":2, "rotation":0 },{ "tile":"Rock", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":270 },{ "tile":"Straight", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Curve", "x":8, "y":3, "rotation":0 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":6, "y":3, "rotation":270 },{ "tile":"Curve", "x":6, "y":4, "rotation":90 },{ "tile":"Rock", "x":1, "y":0, "rotation":0 },{ "tile":"Pail", "x":1, "y":3, "rotation":0 },{ "tile":"Grass", "x":3, "y":1, "rotation":0 },{ "tile":"Rock", "x":5, "y":3, "rotation":0 },{ "tile":"Pail", "x":7, "y":2, "rotation":0 },{ "tile":"Rock", "x":8, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":270 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Curve", "x":4, "y":0, "rotation":270 },{ "tile":"Curve", "x":5, "y":0, "rotation":180 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":180 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Pail", "x":1, "y":0, "rotation":0 },{ "tile":"Rock", "x":1, "y":3, "rotation":0 },{ "tile":"Rock", "x":3, "y":0, "rotation":0 },{ "tile":"Grass", "x":3, "y":3, "rotation":0 },{ "tile":"Grass", "x":4, "y":2, "rotation":0 },{ "tile":"Ball", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":5, "y":0, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":180 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":270 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":180 },{ "tile":"Curve", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":90 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Rock", "x":0, "y":1, "rotation":0 },{ "tile":"Rock", "x":2, "y":0, "rotation":0 },{ "tile":"Grass", "x":3, "y":3, "rotation":0 },{ "tile":"Grass", "x":6, "y":2, "rotation":0 },{ "tile":"Pail", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":180 },{ "tile":"Curve", "x":0, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":270 },{ "tile":"Curve", "x":1, "y":4, "rotation":180 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Ball", "x":2, "y":1, "rotation":0 },{ "tile":"Grass", "x":4, "y":2, "rotation":0 },{ "tile":"Pail", "x":6, "y":0, "rotation":0 },{ "tile":"Rock", "x":8, "y":4, "rotation":0 }],[{ "tile":"Curve", "x":5, "y":0, "rotation":270 },{ "tile":"Curve", "x":6, "y":0, "rotation":90 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":180 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Curve", "x":4, "y":2, "rotation":180 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Rock", "x":0, "y":1, "rotation":0 },{ "tile":"Pail", "x":2, "y":0, "rotation":0 },{ "tile":"Grass", "x":2, "y":2, "rotation":0 },{ "tile":"Ball", "x":4, "y":3, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":0 }],[{ "tile":"Curve", "x":3, "y":0, "rotation":270 },{ "tile":"Curve", "x":4, "y":0, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":180 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":180 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Grass", "x":0, "y":3, "rotation":0 },{ "tile":"Grass", "x":1, "y":0, "rotation":0 },{ "tile":"Pail", "x":2, "y":2, "rotation":0 },{ "tile":"Ball", "x":5, "y":1, "rotation":0 },{ "tile":"Rock", "x":6, "y":0, "rotation":0 },{ "tile":"Rock", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":270 },{ "tile":"Curve", "x":1, "y":1, "rotation":180 },{ "tile":"Curve", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":2, "y":0, "rotation":180 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":180 },{ "tile":"Curve", "x":3, "y":2, "rotation":180 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":270 },{ "tile":"Grass", "x":0, "y":2, "rotation":0 },{ "tile":"Rock", "x":1, "y":3, "rotation":0 },{ "tile":"Pail", "x":3, "y":0, "rotation":0 },{ "tile":"Ball", "x":4, "y":2, "rotation":0 },{ "tile":"Grass", "x":6, "y":1, "rotation":0 },{ "tile":"Rock", "x":8, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":270 },{ "tile":"Curve", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":180 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":270 },{ "tile":"Grass", "x":0, "y":1, "rotation":0 },{ "tile":"Rock", "x":2, "y":0, "rotation":0 },{ "tile":"Pail", "x":2, "y":4, "rotation":0 },{ "tile":"Ball", "x":3, "y":2, "rotation":0 },{ "tile":"Grass", "x":5, "y":1, "rotation":0 },{ "tile":"Grass", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":5, "y":0, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":270 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":4, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Curve", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 },{ "tile":"Ball", "x":1, "y":3, "rotation":0 },{ "tile":"Rock", "x":2, "y":0, "rotation":0 },{ "tile":"Rock", "x":3, "y":1, "rotation":0 },{ "tile":"Pail", "x":6, "y":0, "rotation":0 },{ "tile":"Grass", "x":6, "y":2, "rotation":0 },{ "tile":"Grass", "x":8, "y":2, "rotation":0 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":180 },{ "tile":"Curve", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":180 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Rock", "x":1, "y":2, "rotation":0 },{ "tile":"Grass", "x":2, "y":1, "rotation":0 },{ "tile":"Pail", "x":4, "y":3, "rotation":0 },{ "tile":"Rock", "x":5, "y":0, "rotation":0 },{ "tile":"Rock", "x":8, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":270 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":180 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":270 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Ball", "x":0, "y":1, "rotation":0 },{ "tile":"Rock", "x":1, "y":3, "rotation":0 },{ "tile":"Rock", "x":3, "y":2, "rotation":0 },{ "tile":"Grass", "x":5, "y":0, "rotation":0 },{ "tile":"Pail", "x":6, "y":2, "rotation":0 },{ "tile":"Grass", "x":8, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":270 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Ball", "x":0, "y":0, "rotation":0 },{ "tile":"Rock", "x":1, "y":3, "rotation":0 },{ "tile":"Rock", "x":3, "y":1, "rotation":0 },{ "tile":"Rock", "x":6, "y":4, "rotation":0 },{ "tile":"Grass", "x":8, "y":2, "rotation":0 }],[{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":180 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":2, "rotation":180 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Grass", "x":0, "y":2, "rotation":0 },{ "tile":"Pail", "x":1, "y":0, "rotation":0 },{ "tile":"Shovel", "x":2, "y":4, "rotation":0 },{ "tile":"Rock", "x":4, "y":3, "rotation":0 },{ "tile":"Starfish", "x":5, "y":0, "rotation":0 }],[{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":180 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":4, "rotation":270 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 },{ "tile":"Pail", "x":1, "y":3, "rotation":0 },{ "tile":"Shovel", "x":2, "y":1, "rotation":0 },{ "tile":"Starfish", "x":6, "y":2, "rotation":0 }],[{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":180 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":180 },{ "tile":"Starfish", "x":0, "y":4, "rotation":0 },{ "tile":"Ball", "x":2, "y":0, "rotation":0 },{ "tile":"Rock", "x":3, "y":2, "rotation":0 },{ "tile":"Grass", "x":5, "y":3, "rotation":0 },{ "tile":"Grass", "x":8, "y":2, "rotation":0 }],[{ "tile":"Curve", "x":4, "y":0, "rotation":270 },{ "tile":"Straight", "x":5, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":180 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":270 },{ "tile":"Curve", "x":5, "y":1, "rotation":180 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Starfish", "x":1, "y":2, "rotation":0 },{ "tile":"Rock", "x":3, "y":0, "rotation":0 },{ "tile":"Rock", "x":5, "y":3, "rotation":0 },{ "tile":"Pail", "x":7, "y":4, "rotation":0 },{ "tile":"Shovel", "x":8, "y":2, "rotation":0 }],[{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":180 },{ "tile":"Curve", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":90 },{ "tile":"Shovel", "x":1, "y":3, "rotation":0 },{ "tile":"Starfish", "x":2, "y":0, "rotation":0 },{ "tile":"Pail", "x":4, "y":1, "rotation":0 },{ "tile":"Grass", "x":5, "y":3, "rotation":0 },{ "tile":"Grass", "x":8, "y":2, "rotation":0 }]],[[{ "tile":"Straight", "x":5, "y":0, "rotation":90 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Cross", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":180 },{ "tile":"Curve", "x":6, "y":2, "rotation":270 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Grass", "x":4, "y":1, "rotation":0 },{ "tile":"Grass", "x":6, "y":1, "rotation":0 },{ "tile":"Ball", "x":3, "y":3, "rotation":0 },{ "tile":"Grass", "x":7, "y":2, "rotation":0 },{ "tile":"Grass", "x":1, "y":1, "rotation":0 },{ "tile":"Grass", "x":7, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":180 },{ "tile":"Rock", "x":8, "y":3, "rotation":0 },{ "tile":"Rock", "x":5, "y":3, "rotation":0 },{ "tile":"Pail", "x":3, "y":2, "rotation":0 },{ "tile":"Rock", "x":1, "y":3, "rotation":0 },{ "tile":"Ball", "x":1, "y":1, "rotation":0 }],[{ "tile":"Straight", "x":2, "y":0, "rotation":90 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Cross", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":270 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Curve", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Rock", "x":1, "y":2, "rotation":0 },{ "tile":"Rock", "x":3, "y":1, "rotation":0 },{ "tile":"Rock", "x":5, "y":2, "rotation":0 },{ "tile":"Ball", "x":8, "y":4, "rotation":0 },{ "tile":"Rock", "x":7, "y":1, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":0 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Curve", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":270 },{ "tile":"Curve", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":1, "rotation":270 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Ball", "x":5, "y":0, "rotation":0 },{ "tile":"Grass", "x":7, "y":4, "rotation":0 },{ "tile":"Starfish", "x":5, "y":3, "rotation":0 },{ "tile":"Grass", "x":3, "y":1, "rotation":0 },{ "tile":"Grass", "x":1, "y":2, "rotation":0 }],[{ "tile":"Curve", "x":4, "y":0, "rotation":0 },{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":270 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":2, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Cross", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":270 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Rock", "x":4, "y":1, "rotation":0 },{ "tile":"Rock", "x":2, "y":1, "rotation":0 },{ "tile":"Rock", "x":6, "y":3, "rotation":0 },{ "tile":"Pail", "x":1, "y":3, "rotation":0 },{ "tile":"Rock", "x":8, "y":2, "rotation":0 },{ "tile":"Rock", "x":8, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":0 },{ "tile":"Straight", "x":0, "y":1, "rotation":90 },{ "tile":"Curve", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Curve", "x":4, "y":0, "rotation":90 },{ "tile":"Curve", "x":5, "y":0, "rotation":180 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Rock", "x":1, "y":1, "rotation":0 },{ "tile":"Rock", "x":2, "y":3, "rotation":0 },{ "tile":"Rock", "x":3, "y":1, "rotation":0 },{ "tile":"Pail", "x":6, "y":0, "rotation":0 },{ "tile":"Rock", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Cross", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":2, "rotation":180 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":90 },{ "tile":"Rock", "x":0, "y":1, "rotation":0 },{ "tile":"Rock", "x":2, "y":1, "rotation":0 },{ "tile":"Pail", "x":2, "y":3, "rotation":0 },{ "tile":"Grass", "x":4, "y":2, "rotation":0 },{ "tile":"Starfish", "x":7, "y":1, "rotation":0 },{ "tile":"Rock", "x":7, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":0 },{ "tile":"Straight", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Cross", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":270 },{ "tile":"Curve", "x":2, "y":4, "rotation":0 },{ "tile":"Curve", "x":1, "y":4, "rotation":90 },{ "tile":"Curve", "x":1, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Rock", "x":1, "y":1, "rotation":0 },{ "tile":"Pail", "x":3, "y":3, "rotation":0 },{ "tile":"Grass", "x":4, "y":0, "rotation":0 },{ "tile":"Starfish", "x":5, "y":3, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":270 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":180 },{ "tile":"Curve", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":270 },{ "tile":"Curve", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Rock", "x":1, "y":2, "rotation":0 },{ "tile":"Rock", "x":2, "y":0, "rotation":0 },{ "tile":"Pail", "x":3, "y":3, "rotation":0 },{ "tile":"Grass", "x":5, "y":1, "rotation":0 },{ "tile":"Starfish", "x":6, "y":2, "rotation":0 },{ "tile":"Rock", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Cross", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":2, "y":0, "rotation":270 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":180 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Rock", "x":1, "y":3, "rotation":0 },{ "tile":"Rock", "x":3, "y":0, "rotation":0 },{ "tile":"Pail", "x":4, "y":2, "rotation":0 },{ "tile":"Grass", "x":5, "y":0, "rotation":0 },{ "tile":"Starfish", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":270 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":180 },{ "tile":"Curve", "x":3, "y":0, "rotation":270 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":90 },{ "tile":"Cross", "x":5, "y":2, "rotation":90 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Starfish", "x":1, "y":0, "rotation":0 },{ "tile":"Ball", "x":1, "y":3, "rotation":0 },{ "tile":"Grass", "x":4, "y":1, "rotation":0 },{ "tile":"Pail", "x":4, "y":3, "rotation":0 },{ "tile":"Shovel", "x":6, "y":3, "rotation":0 },{ "tile":"Starfish", "x":8, "y":1, "rotation":0 }],[{ "tile":"Straight", "x":2, "y":0, "rotation":90 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":90 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":3, "rotation":270 },{ "tile":"Curve", "x":7, "y":4, "rotation":90 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Starfish", "x":0, "y":3, "rotation":0 },{ "tile":"Ball", "x":3, "y":0, "rotation":0 },{ "tile":"Grass", "x":4, "y":3, "rotation":0 },{ "tile":"Pail", "x":6, "y":3, "rotation":0 },{ "tile":"Shovel", "x":8, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":270 },{ "tile":"Straight", "x":0, "y":2, "rotation":270 },{ "tile":"Curve", "x":0, "y":3, "rotation":90 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Cross", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":270 },{ "tile":"Curve", "x":2, "y":4, "rotation":180 },{ "tile":"Starfish", "x":0, "y":4, "rotation":0 },{ "tile":"Ball", "x":1, "y":2, "rotation":0 },{ "tile":"Grass", "x":3, "y":0, "rotation":0 },{ "tile":"Pail", "x":4, "y":2, "rotation":0 },{ "tile":"Rock", "x":7, "y":1, "rotation":0 },{ "tile":"Shovel", "x":7, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Cross", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":180 },{ "tile":"Curve", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":270 },{ "tile":"Curve", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":6, "y":2, "rotation":180 },{ "tile":"Curve", "x":6, "y":1, "rotation":270 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Straight", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":270 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Rock", "x":1, "y":3, "rotation":0 },{ "tile":"Ball", "x":2, "y":0, "rotation":0 },{ "tile":"Grass", "x":4, "y":0, "rotation":0 },{ "tile":"Grass", "x":4, "y":2, "rotation":0 },{ "tile":"Rock", "x":6, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Cross", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":270 },{ "tile":"Curve", "x":2, "y":1, "rotation":270 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":90 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":270 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Grass", "x":0, "y":0, "rotation":0 },{ "tile":"Grass", "x":2, "y":0, "rotation":0 },{ "tile":"Ball", "x":2, "y":4, "rotation":0 },{ "tile":"Starfish", "x":3, "y":1, "rotation":0 },{ "tile":"Pail", "x":4, "y":3, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":0 }],[{ "tile":"Straight", "x":2, "y":0, "rotation":90 },{ "tile":"Cross", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":270 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":180 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":270 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":270 },{ "tile":"Rock", "x":1, "y":0, "rotation":0 },{ "tile":"Starfish", "x":3, "y":0, "rotation":0 },{ "tile":"Pail", "x":1, "y":4, "rotation":0 },{ "tile":"Shovel", "x":5, "y":2, "rotation":0 },{ "tile":"Rock", "x":7, "y":1, "rotation":0 },{ "tile":"Grass", "x":8, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Cross", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Curve", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":3, "rotation":270 },{ "tile":"Curve", "x":0, "y":4, "rotation":180 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":90 },{ "tile":"Rock", "x":0, "y":1, "rotation":0 },{ "tile":"Grass", "x":2, "y":0, "rotation":0 },{ "tile":"Ball", "x":4, "y":0, "rotation":0 },{ "tile":"Starfish", "x":3, "y":3, "rotation":0 },{ "tile":"Pail", "x":7, "y":3, "rotation":0 },{ "tile":"Rock", "x":8, "y":1, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":270 },{ "tile":"Straight", "x":4, "y":2, "rotation":270 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":90 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":270 },{ "tile":"Straight", "x":2, "y":4, "rotation":90 },{ "tile":"Grass", "x":1, "y":2, "rotation":0 },{ "tile":"Grass", "x":4, "y":1, "rotation":0 },{ "tile":"Shovel", "x":5, "y":0, "rotation":0 },{ "tile":"Rock", "x":6, "y":2, "rotation":0 },{ "tile":"Grass", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":270 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Grass", "x":0, "y":1, "rotation":0 },{ "tile":"Grass", "x":2, "y":0, "rotation":0 },{ "tile":"Ball", "x":2, "y":4, "rotation":0 },{ "tile":"Starfish", "x":4, "y":1, "rotation":0 },{ "tile":"Pail", "x":6, "y":4, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":0 }],[{ "tile":"Curve", "x":3, "y":0, "rotation":0 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Straight", "x":5, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":0, "rotation":270 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":180 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Cross", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":1, "y":3, "rotation":270 },{ "tile":"Curve", "x":3, "y":3, "rotation":270 },{ "tile":"Grass", "x":0, "y":4, "rotation":0 },{ "tile":"Rock", "x":1, "y":2, "rotation":0 },{ "tile":"Starfish", "x":2, "y":0, "rotation":0 },{ "tile":"Rock", "x":3, "y":2, "rotation":0 },{ "tile":"Shovel", "x":6, "y":3, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":0 },{ "tile":"Cross", "x":6, "y":1, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":270 },{ "tile":"Curve", "x":5, "y":2, "rotation":180 },{ "tile":"Curve", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Straight", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":0 },{ "tile":"Straight", "x":5, "y":3, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":270 },{ "tile":"Grass", "x":1, "y":1, "rotation":0 },{ "tile":"Grass", "x":2, "y":4, "rotation":0 },{ "tile":"Ball", "x":4, "y":2, "rotation":0 },{ "tile":"Starfish", "x":5, "y":0, "rotation":0 },{ "tile":"Pail", "x":8, "y":2, "rotation":0 },{ "tile":"Rock", "x":8, "y":4, "rotation":0 }],[{ "tile":"Curve", "x":2, "y":0, "rotation":270 },{ "tile":"Curve", "x":3, "y":0, "rotation":180 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Cross", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":180 },{ "tile":"Straight", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Grass", "x":0, "y":4, "rotation":0 },{ "tile":"Grass", "x":1, "y":0, "rotation":0 },{ "tile":"Ball", "x":2, "y":1, "rotation":0 },{ "tile":"Starfish", "x":2, "y":3, "rotation":0 },{ "tile":"Rock", "x":5, "y":1, "rotation":0 },{ "tile":"Pail", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Cross", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":270 },{ "tile":"Curve", "x":6, "y":0, "rotation":180 },{ "tile":"Curve", "x":5, "y":0, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":180 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":270 },{ "tile":"Rock", "x":1, "y":0, "rotation":0 },{ "tile":"Grass", "x":1, "y":3, "rotation":0 },{ "tile":"Rock", "x":3, "y":0, "rotation":0 },{ "tile":"Shovel", "x":4, "y":2, "rotation":0 },{ "tile":"Pail", "x":5, "y":3, "rotation":0 },{ "tile":"Grass", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Curve", "x":7, "y":1, "rotation":270 },{ "tile":"Curve", "x":7, "y":2, "rotation":90 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":180 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Starfish", "x":0, "y":4, "rotation":0 },{ "tile":"Pail", "x":1, "y":0, "rotation":0 },{ "tile":"Rock", "x":3, "y":1, "rotation":0 },{ "tile":"Grass", "x":3, "y":3, "rotation":0 },{ "tile":"Grass", "x":6, "y":0, "rotation":0 },{ "tile":"Ball", "x":7, "y":3, "rotation":0 }],[{ "tile":"Curve", "x":1, "y":0, "rotation":180 },{ "tile":"Curve", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":180 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":90 },{ "tile":"Cross", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":0, "rotation":270 },{ "tile":"Curve", "x":4, "y":0, "rotation":180 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":0 },{ "tile":"Pail", "x":1, "y":1, "rotation":0 },{ "tile":"Ball", "x":1, "y":4, "rotation":0 },{ "tile":"Rock", "x":3, "y":0, "rotation":0 },{ "tile":"Rock", "x":3, "y":3, "rotation":0 },{ "tile":"Rock", "x":5, "y":2, "rotation":0 },{ "tile":"Starfish", "x":7, "y":3, "rotation":0 }]],[[{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":180 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 },{ "tile":"Straight", "x":7, "y":4, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":180 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":270 },{ "tile":"Shovel", "x":4, "y":0, "rotation":0 },{ "tile":"Grass", "x":5, "y":1, "rotation":0 },{ "tile":"Grass", "x":7, "y":3, "rotation":0 },{ "tile":"Pail", "x":3, "y":3, "rotation":0 },{ "tile":"Grass", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":270 },{ "tile":"Straight", "x":2, "y":3, "rotation":90 },{ "tile":"Straight", "x":2, "y":4, "rotation":90 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Curve", "x":7, "y":3, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Straight", "x":5, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":180 },{ "tile":"Cross", "x":3, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":2, "rotation":270 },{ "tile":"Straight", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":90 },{ "tile":"Rock", "x":6, "y":2, "rotation":0 },{ "tile":"Rock", "x":7, "y":4, "rotation":0 },{ "tile":"Ball", "x":4, "y":1, "rotation":0 },{ "tile":"Rock", "x":2, "y":3, "rotation":0 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":1, "rotation":180 },{ "tile":"Curve", "x":5, "y":0, "rotation":0 },{ "tile":"Straight", "x":4, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":0, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":3, "rotation":90 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":270 },{ "tile":"Curve", "x":1, "y":2, "rotation":0 },{ "tile":"Cross", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":180 },{ "tile":"Curve", "x":3, "y":3, "rotation":270 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":270 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Pail", "x":1, "y":0, "rotation":0 },{ "tile":"Grass", "x":0, "y":2, "rotation":0 },{ "tile":"Ball", "x":1, "y":3, "rotation":0 },{ "tile":"Shovel", "x":4, "y":2, "rotation":0 },{ "tile":"Grass", "x":7, "y":1, "rotation":0 },{ "tile":"Grass", "x":7, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":90 },{ "tile":"Straight", "x":8, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":2, "rotation":270 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 }],[{ "tile":"Curve", "x":5, "y":0, "rotation":90 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":3, "y":0, "rotation":270 },{ "tile":"Curve", "x":3, "y":1, "rotation":90 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Cross", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":270 },{ "tile":"Curve", "x":6, "y":2, "rotation":270 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":0 },{ "tile":"Rock", "x":2, "y":0, "rotation":0 },{ "tile":"Ball", "x":6, "y":1, "rotation":0 },{ "tile":"Rock", "x":7, "y":3, "rotation":0 },{ "tile":"Grass", "x":4, "y":3, "rotation":0 },{ "tile":"Rock", "x":1, "y":2, "rotation":0 },{ "tile":"Rock", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":270 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 },{ "tile":"Curve", "x":7, "y":4, "rotation":180 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":180 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":270 },{ "tile":"Straight", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":0 },{ "tile":"Rock", "x":1, "y":0, "rotation":0 },{ "tile":"Ball", "x":0, "y":2, "rotation":0 },{ "tile":"Rock", "x":1, "y":4, "rotation":0 },{ "tile":"Grass", "x":3, "y":3, "rotation":0 },{ "tile":"Rock", "x":6, "y":3, "rotation":0 },{ "tile":"Rock", "x":8, "y":1, "rotation":0 },{ "tile":"Curve", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":180 },{ "tile":"Cross", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":270 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Rock", "x":0, "y":2, "rotation":0 },{ "tile":"Rock", "x":1, "y":0, "rotation":0 },{ "tile":"Rock", "x":2, "y":4, "rotation":0 },{ "tile":"Pail", "x":5, "y":3, "rotation":0 },{ "tile":"Rock", "x":6, "y":0, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":270 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":90 },{ "tile":"Curve", "x":8, "y":3, "rotation":180 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Cross", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":180 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":90 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":270 },{ "tile":"Curve", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Grass", "x":0, "y":4, "rotation":0 },{ "tile":"Starfish", "x":1, "y":0, "rotation":0 },{ "tile":"Rock", "x":2, "y":2, "rotation":0 },{ "tile":"Grass", "x":5, "y":3, "rotation":0 },{ "tile":"Rock", "x":6, "y":1, "rotation":0 },{ "tile":"Rock", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":2, "rotation":270 },{ "tile":"Curve", "x":7, "y":4, "rotation":180 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":180 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 }],[{ "tile":"Curve", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":270 },{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":90 },{ "tile":"Cross", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":270 },{ "tile":"Curve", "x":3, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":270 },{ "tile":"Rock", "x":0, "y":3, "rotation":0 },{ "tile":"Rock", "x":1, "y":4, "rotation":0 },{ "tile":"Pail", "x":5, "y":0, "rotation":0 },{ "tile":"Grass", "x":5, "y":3, "rotation":0 },{ "tile":"Ball", "x":7, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":270 },{ "tile":"Curve", "x":2, "y":3, "rotation":90 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 }],[{ "tile":"Curve", "x":6, "y":0, "rotation":0 },{ "tile":"Curve", "x":5, "y":0, "rotation":180 },{ "tile":"Cross", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":180 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Cross", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":270 },{ "tile":"Curve", "x":8, "y":3, "rotation":180 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":270 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Ball", "x":1, "y":1, "rotation":0 },{ "tile":"Starfish", "x":4, "y":0, "rotation":0 },{ "tile":"Grass", "x":6, "y":2, "rotation":0 },{ "tile":"Pail", "x":6, "y":4, "rotation":0 },{ "tile":"Rock", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":1, "y":4, "rotation":180 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":270 },{ "tile":"Straight", "x":3, "y":2, "rotation":90 }],[{ "tile":"Curve", "x":2, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":270 },{ "tile":"Curve", "x":3, "y":1, "rotation":270 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":180 },{ "tile":"Curve", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":270 },{ "tile":"Curve", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":180 },{ "tile":"Curve", "x":6, "y":3, "rotation":270 },{ "tile":"Curve", "x":6, "y":4, "rotation":90 },{ "tile":"Rock", "x":0, "y":1, "rotation":0 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Pail", "x":3, "y":0, "rotation":0 },{ "tile":"Grass", "x":4, "y":3, "rotation":0 },{ "tile":"Starfish", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":270 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 }],[{ "tile":"Curve", "x":5, "y":0, "rotation":90 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":180 },{ "tile":"Curve", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Curve", "x":7, "y":1, "rotation":180 },{ "tile":"Curve", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":270 },{ "tile":"Straight", "x":5, "y":3, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":180 },{ "tile":"Rock", "x":0, "y":1, "rotation":0 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Grass", "x":5, "y":2, "rotation":0 },{ "tile":"Pail", "x":6, "y":0, "rotation":0 },{ "tile":"Ball", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":90 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Curve", "x":7, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Cross", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":180 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":180 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Grass", "x":0, "y":0, "rotation":0 },{ "tile":"Pail", "x":3, "y":3, "rotation":0 },{ "tile":"Grass", "x":4, "y":2, "rotation":0 },{ "tile":"Shovel", "x":5, "y":0, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":2, "rotation":0 },{ "tile":"Straight", "x":1, "y":3, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":270 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":3, "rotation":90 }],[{ "tile":"Curve", "x":0, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":180 },{ "tile":"Curve", "x":2, "y":1, "rotation":270 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":180 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Curve", "x":4, "y":0, "rotation":90 },{ "tile":"Straight", "x":5, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":270 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Ball", "x":1, "y":2, "rotation":0 },{ "tile":"Grass", "x":2, "y":0, "rotation":0 },{ "tile":"Rock", "x":3, "y":2, "rotation":0 },{ "tile":"Rock", "x":5, "y":1, "rotation":0 },{ "tile":"Pail", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":180 }],[{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Cross", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":180 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Cross", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":2, "rotation":180 },{ "tile":"Curve", "x":0, "y":1, "rotation":270 },{ "tile":"Curve", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":90 },{ "tile":"Straight", "x":2, "y":4, "rotation":270 },{ "tile":"Pail", "x":0, "y":4, "rotation":0 },{ "tile":"Grass", "x":2, "y":1, "rotation":0 },{ "tile":"Starfish", "x":2, "y":3, "rotation":0 },{ "tile":"Grass", "x":4, "y":1, "rotation":0 },{ "tile":"Pail", "x":6, "y":2, "rotation":0 },{ "tile":"Rock", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":270 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":3, "rotation":90 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":270 },{ "tile":"Curve", "x":1, "y":0, "rotation":180 },{ "tile":"Curve", "x":2, "y":0, "rotation":270 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Curve", "x":7, "y":3, "rotation":90 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":180 },{ "tile":"Grass", "x":0, "y":4, "rotation":0 },{ "tile":"Rock", "x":1, "y":2, "rotation":0 },{ "tile":"Rock", "x":3, "y":1, "rotation":0 },{ "tile":"Ball", "x":6, "y":2, "rotation":0 },{ "tile":"Pail", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":270 },{ "tile":"Curve", "x":5, "y":2, "rotation":90 }],[{ "tile":"Curve", "x":0, "y":0, "rotation":180 },{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Curve", "x":4, "y":0, "rotation":180 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Cross", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":270 },{ "tile":"Curve", "x":0, "y":3, "rotation":180 },{ "tile":"Curve", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":1, "y":4, "rotation":180 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Starfish", "x":0, "y":4, "rotation":0 },{ "tile":"Pail", "x":3, "y":1, "rotation":0 },{ "tile":"Shovel", "x":3, "y":3, "rotation":0 },{ "tile":"Grass", "x":5, "y":1, "rotation":0 },{ "tile":"Rock", "x":6, "y":4, "rotation":0 },{ "tile":"Grass", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":270 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Cross", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":1, "y":3, "rotation":270 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":180 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":180 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":270 },{ "tile":"Straight", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":0 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 },{ "tile":"Rock", "x":0, "y":1, "rotation":0 },{ "tile":"Rock", "x":2, "y":1, "rotation":0 },{ "tile":"Grass", "x":2, "y":3, "rotation":0 },{ "tile":"Ball", "x":6, "y":1, "rotation":0 },{ "tile":"Grass", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":180 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 }],[{ "tile":"Straight", "x":4, "y":0, "rotation":90 },{ "tile":"Cross", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":180 },{ "tile":"Straight", "x":5, "y":3, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":3, "rotation":0 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":270 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Starfish", "x":0, "y":0, "rotation":0 },{ "tile":"Pail", "x":1, "y":2, "rotation":0 },{ "tile":"Ball", "x":5, "y":0, "rotation":0 },{ "tile":"Rock", "x":5, "y":2, "rotation":0 },{ "tile":"Grass", "x":6, "y":4, "rotation":0 },{ "tile":"Shovel", "x":7, "y":2, "rotation":0 }],[{ "tile":"Curve", "x":3, "y":0, "rotation":0 },{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":270 },{ "tile":"Curve", "x":1, "y":2, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Curve", "x":8, "y":3, "rotation":90 },{ "tile":"Straight", "x":7, "y":3, "rotation":90 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 },{ "tile":"Grass", "x":0, "y":2, "rotation":0 },{ "tile":"Grass", "x":2, "y":1, "rotation":0 },{ "tile":"Ball", "x":5, "y":2, "rotation":0 },{ "tile":"Starfish", "x":7, "y":2, "rotation":0 },{ "tile":"Rock", "x":6, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Cross", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":270 },{ "tile":"Curve", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":1, "y":0, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":180 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Cross", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":270 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Straight", "x":4, "y":3, "rotation":270 },{ "tile":"Rock", "x":2, "y":4, "rotation":0 },{ "tile":"Rock", "x":3, "y":1, "rotation":0 },{ "tile":"Grass", "x":3, "y":3, "rotation":0 },{ "tile":"Ball", "x":6, "y":0, "rotation":0 },{ "tile":"Pail", "x":7, "y":3, "rotation":0 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":270 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":90 },{ "tile":"Straight", "x":8, "y":3, "rotation":0 },{ "tile":"Straight", "x":8, "y":4, "rotation":180 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":1, "y":3, "rotation":180 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Cross", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":180 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":270 },{ "tile":"Straight", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":0 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Ball", "x":0, "y":0, "rotation":0 },{ "tile":"Grass", "x":0, "y":4, "rotation":0 },{ "tile":"Pail", "x":2, "y":2, "rotation":0 },{ "tile":"Starfish", "x":5, "y":1, "rotation":0 },{ "tile":"Rock", "x":6, "y":3, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":180 }],[{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":270 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":270 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":180 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":6, "y":3, "rotation":270 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Grass", "x":2, "y":0, "rotation":0 },{ "tile":"Rock", "x":2, "y":2, "rotation":0 },{ "tile":"Starfish", "x":4, "y":0, "rotation":0 },{ "tile":"Ball", "x":4, "y":3, "rotation":0 },{ "tile":"Grass", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Straight", "x":0, "y":4, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":90 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":270 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Curve", "x":8, "y":3, "rotation":0 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":180 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":180 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":270 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":180 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Pail", "x":0, "y":0, "rotation":0 },{ "tile":"Grass", "x":1, "y":3, "rotation":0 },{ "tile":"Rock", "x":3, "y":2, "rotation":0 },{ "tile":"Ball", "x":5, "y":1, "rotation":0 },{ "tile":"Rock", "x":6, "y":2, "rotation":0 },{ "tile":"Grass", "x":6, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Curve", "x":7, "y":3, "rotation":270 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":270 },{ "tile":"Curve", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":180 },{ "tile":"Curve", "x":2, "y":0, "rotation":180 },{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":0, "y":0, "rotation":270 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Rock", "x":1, "y":1, "rotation":0 },{ "tile":"Grass", "x":2, "y":3, "rotation":0 },{ "tile":"Grass", "x":4, "y":3, "rotation":0 },{ "tile":"Rock", "x":6, "y":2, "rotation":0 },{ "tile":"Shovel", "x":8, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":90 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":180 }],[{ "tile":"Curve", "x":1, "y":0, "rotation":270 },{ "tile":"Curve", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":180 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":270 },{ "tile":"Cross", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":0, "rotation":270 },{ "tile":"Curve", "x":4, "y":0, "rotation":180 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Straight", "x":5, "y":3, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Cross", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":3, "rotation":270 },{ "tile":"Curve", "x":8, "y":2, "rotation":180 },{ "tile":"Curve", "x":7, "y":2, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":90 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Ball", "x":1, "y":1, "rotation":0 },{ "tile":"Grass", "x":3, "y":0, "rotation":0 },{ "tile":"Pail", "x":3, "y":3, "rotation":0 },{ "tile":"Rock", "x":5, "y":2, "rotation":0 },{ "tile":"Starfish", "x":8, "y":4, "rotation":0 }]],[[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":270 },{ "tile":"Curve", "x":1, "y":4, "rotation":90 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":90 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Cross", "x":3, "y":1, "rotation":90 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":180 },{ "tile":"Curve", "x":5, "y":0, "rotation":270 },{ "tile":"Straight", "x":4, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Cross", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":180 },{ "tile":"Curve", "x":8, "y":1, "rotation":270 },{ "tile":"Curve", "x":7, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":4, "rotation":90 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 },{ "tile":"Grass", "x":2, "y":2, "rotation":0 },{ "tile":"Ball", "x":2, "y":0, "rotation":90 },{ "tile":"Grass", "x":6, "y":3, "rotation":0 },{ "tile":"Pail", "x":6, "y":1, "rotation":180 },{ "tile":"Grass", "x":8, "y":4, "rotation":270 },{ "tile":"Straight", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":180 },{ "tile":"Curve", "x":6, "y":0, "rotation":0 },{ "tile":"Curve", "x":8, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":90 },{ "tile":"Straight", "x":1, "y":0, "rotation":270 },{ "tile":"Curve", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":180 },{ "tile":"Curve", "x":1, "y":3, "rotation":270 },{ "tile":"Curve", "x":1, "y":2, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":2, "rotation":90 },{ "tile":"Cross", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":180 },{ "tile":"Curve", "x":6, "y":3, "rotation":270 },{ "tile":"Curve", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":0 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 },{ "tile":"Ball", "x":1, "y":1, "rotation":90 },{ "tile":"Shovel", "x":3, "y":3, "rotation":0 },{ "tile":"Pail", "x":5, "y":3, "rotation":90 },{ "tile":"Grass", "x":4, "y":1, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":180 },{ "tile":"Straight", "x":4, "y":0, "rotation":270 },{ "tile":"Curve", "x":5, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":0 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 }],[{ "tile":"Straight", "x":5, "y":0, "rotation":90 },{ "tile":"Curve", "x":5, "y":1, "rotation":90 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":270 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Straight", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":90 },{ "tile":"Straight", "x":7, "y":4, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Cross", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":180 },{ "tile":"Curve", "x":7, "y":3, "rotation":270 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Cross", "x":2, "y":3, "rotation":180 },{ "tile":"Curve", "x":2, "y":4, "rotation":270 },{ "tile":"Grass", "x":6, "y":0, "rotation":90 },{ "tile":"Ball", "x":5, "y":2, "rotation":0 },{ "tile":"Starfish", "x":2, "y":0, "rotation":90 },{ "tile":"Grass", "x":1, "y":2, "rotation":90 },{ "tile":"Shovel", "x":0, "y":4, "rotation":0 },{ "tile":"Curve", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":3, "y":0, "rotation":180 },{ "tile":"Curve", "x":4, "y":0, "rotation":270 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":2, "y":0, "rotation":90 },{ "tile":"Curve", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":270 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":180 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":90 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 },{ "tile":"Curve", "x":7, "y":4, "rotation":180 },{ "tile":"Curve", "x":7, "y":3, "rotation":270 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":0 },{ "tile":"Rock", "x":1, "y":2, "rotation":90 },{ "tile":"Rock", "x":5, "y":0, "rotation":90 },{ "tile":"Starfish", "x":3, "y":1, "rotation":0 },{ "tile":"Shovel", "x":5, "y":2, "rotation":90 },{ "tile":"Ball", "x":3, "y":3, "rotation":0 },{ "tile":"Rock", "x":6, "y":4, "rotation":180 },{ "tile":"Curve", "x":0, "y":0, "rotation":270 },{ "tile":"Straight", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":0 },{ "tile":"Cross", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":0 }],[{ "tile":"Cross", "x":5, "y":0, "rotation":90 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Cross", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":270 },{ "tile":"Curve", "x":2, "y":1, "rotation":90 },{ "tile":"Cross", "x":2, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":90 },{ "tile":"Straight", "x":0, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":180 },{ "tile":"Straight", "x":1, "y":2, "rotation":270 },{ "tile":"Straight", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":90 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":0 },{ "tile":"Straight", "x":7, "y":3, "rotation":180 },{ "tile":"Curve", "x":8, "y":3, "rotation":270 },{ "tile":"Curve", "x":8, "y":4, "rotation":90 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 },{ "tile":"Starfish", "x":3, "y":0, "rotation":90 },{ "tile":"Shovel", "x":1, "y":1, "rotation":0 },{ "tile":"Grass", "x":5, "y":2, "rotation":90 },{ "tile":"Rock", "x":7, "y":2, "rotation":90 },{ "tile":"Rock", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":0, "rotation":180 },{ "tile":"Straight", "x":1, "y":0, "rotation":270 },{ "tile":"Curve", "x":2, "y":0, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":180 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Cross", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":270 },{ "tile":"Curve", "x":1, "y":0, "rotation":180 },{ "tile":"Curve", "x":1, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Cross", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Curve", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":3, "y":0, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":180 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Straight", "x":5, "y":3, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Cross", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":3, "rotation":270 },{ "tile":"Curve", "x":8, "y":2, "rotation":180 },{ "tile":"Curve", "x":7, "y":2, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":270 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Rock", "x":2, "y":3, "rotation":0 },{ "tile":"Rock", "x":6, "y":0, "rotation":0 },{ "tile":"Pail", "x":6, "y":2, "rotation":0 },{ "tile":"Grass", "x":8, "y":4, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":270 },{ "tile":"Straight", "x":2, "y":4, "rotation":90 },{ "tile":"Curve", "x":5, "y":0, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":90 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":90 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":0 },{ "tile":"Straight", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":180 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":0 },{ "tile":"Cross", "x":6, "y":2, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":90 },{ "tile":"Straight", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":90 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Pail", "x":1, "y":2, "rotation":0 },{ "tile":"Shovel", "x":3, "y":2, "rotation":0 },{ "tile":"Starfish", "x":5, "y":3, "rotation":0 },{ "tile":"Grass", "x":8, "y":1, "rotation":0 },{ "tile":"Grass", "x":8, "y":4, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":0, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":180 },{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":0 },{ "tile":"Straight", "x":5, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":0, "rotation":90 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Curve", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":90 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":270 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":270 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":5, "y":0, "rotation":270 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":4, "rotation":270 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 },{ "tile":"Starfish", "x":0, "y":0, "rotation":0 },{ "tile":"Rock", "x":2, "y":0, "rotation":0 },{ "tile":"Ball", "x":2, "y":4, "rotation":0 },{ "tile":"Pail", "x":5, "y":3, "rotation":0 },{ "tile":"Shovel", "x":6, "y":0, "rotation":0 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Curve", "x":3, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":270 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":90 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":180 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Cross", "x":4, "y":1, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":270 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":0, "rotation":180 },{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":90 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":0 },{ "tile":"Cross", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":270 },{ "tile":"Curve", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":4, "rotation":0 },{ "tile":"Ball", "x":0, "y":0, "rotation":0 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Starfish", "x":5, "y":0, "rotation":0 },{ "tile":"Grass", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":90 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Curve", "x":7, "y":3, "rotation":270 },{ "tile":"Straight", "x":7, "y":4, "rotation":90 },{ "tile":"Curve", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":180 }],[{ "tile":"Cross", "x":5, "y":0, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":270 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":90 },{ "tile":"Cross", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":180 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Curve", "x":2, "y":2, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":90 },{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":0, "rotation":180 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":2, "rotation":90 },{ "tile":"Cross", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":270 },{ "tile":"Curve", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":3, "rotation":270 },{ "tile":"Curve", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Pail", "x":0, "y":0, "rotation":0 },{ "tile":"Grass", "x":1, "y":1, "rotation":0 },{ "tile":"Rock", "x":0, "y":4, "rotation":0 },{ "tile":"Ball", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":270 },{ "tile":"Straight", "x":2, "y":4, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":180 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 },{ "tile":"Curve", "x":8, "y":3, "rotation":90 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":180 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":180 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":270 },{ "tile":"Curve", "x":2, "y":3, "rotation":90 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":90 },{ "tile":"Cross", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":180 },{ "tile":"Straight", "x":5, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":270 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Curve", "x":5, "y":1, "rotation":180 },{ "tile":"Curve", "x":5, "y":3, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":7, "y":4, "rotation":180 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 },{ "tile":"Pail", "x":0, "y":4, "rotation":0 },{ "tile":"Shovel", "x":1, "y":0, "rotation":0 },{ "tile":"Rock", "x":3, "y":2, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":0 },{ "tile":"Grass", "x":8, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":0, "rotation":270 },{ "tile":"Curve", "x":3, "y":1, "rotation":180 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":180 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Curve", "x":8, "y":3, "rotation":90 }],[{ "tile":"Straight", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":180 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":0, "rotation":180 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":5, "y":0, "rotation":270 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":270 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Curve", "x":6, "y":3, "rotation":270 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":270 },{ "tile":"Pail", "x":0, "y":0, "rotation":0 },{ "tile":"Ball", "x":1, "y":2, "rotation":0 },{ "tile":"Rock", "x":3, "y":3, "rotation":0 },{ "tile":"Shovel", "x":6, "y":1, "rotation":0 },{ "tile":"Rock", "x":8, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":90 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Curve", "x":4, "y":2, "rotation":180 },{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":270 },{ "tile":"Straight", "x":8, "y":1, "rotation":0 }],[{ "tile":"Cross", "x":3, "y":0, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Cross", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Cross", "x":2, "y":2, "rotation":90 },{ "tile":"Cross", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":180 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":1, "y":4, "rotation":270 },{ "tile":"Curve", "x":2, "y":4, "rotation":180 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":0, "rotation":0 },{ "tile":"Straight", "x":4, "y":0, "rotation":90 },{ "tile":"Straight", "x":5, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":0, "rotation":270 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":4, "rotation":90 },{ "tile":"Straight", "x":6, "y":4, "rotation":90 },{ "tile":"Starfish", "x":0, "y":3, "rotation":0 },{ "tile":"Grass", "x":1, "y":0, "rotation":0 },{ "tile":"Pail", "x":8, "y":1, "rotation":0 },{ "tile":"Rock", "x":8, "y":4, "rotation":0 },{ "tile":"Straight", "x":0, "y":0, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Curve", "x":5, "y":1, "rotation":180 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":3, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":2, "rotation":180 },{ "tile":"Curve", "x":8, "y":3, "rotation":270 }],[{ "tile":"Curve", "x":2, "y":0, "rotation":0 },{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":0, "y":0, "rotation":180 },{ "tile":"Straight", "x":0, "y":1, "rotation":90 },{ "tile":"Curve", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Cross", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":180 },{ "tile":"Curve", "x":2, "y":1, "rotation":270 },{ "tile":"Curve", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":0 },{ "tile":"Cross", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":180 },{ "tile":"Curve", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":90 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Ball", "x":0, "y":4, "rotation":0 },{ "tile":"Grass", "x":1, "y":1, "rotation":0 },{ "tile":"Grass", "x":4, "y":2, "rotation":0 },{ "tile":"Rock", "x":6, "y":0, "rotation":0 },{ "tile":"Rock", "x":7, "y":3, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":0 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":180 },{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":270 },{ "tile":"Curve", "x":5, "y":0, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":270 }],[{ "tile":"Curve", "x":0, "y":0, "rotation":0 },{ "tile":"Straight", "x":1, "y":0, "rotation":90 },{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Straight", "x":5, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":270 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":180 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":180 },{ "tile":"Straight", "x":5, "y":3, "rotation":0 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":270 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Rock", "x":0, "y":1, "rotation":0 },{ "tile":"Ball", "x":1, "y":3, "rotation":0 },{ "tile":"Grass", "x":3, "y":1, "rotation":0 },{ "tile":"Starfish", "x":5, "y":2, "rotation":0 },{ "tile":"Pail", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Curve", "x":4, "y":1, "rotation":180 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 }],[{ "tile":"Cross", "x":5, "y":0, "rotation":90 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Curve", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":270 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":270 },{ "tile":"Cross", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":270 },{ "tile":"Curve", "x":2, "y":1, "rotation":180 },{ "tile":"Curve", "x":0, "y":1, "rotation":180 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":270 },{ "tile":"Curve", "x":2, "y":3, "rotation":180 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Cross", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":1, "rotation":180 },{ "tile":"Curve", "x":3, "y":1, "rotation":270 },{ "tile":"Curve", "x":3, "y":2, "rotation":90 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":270 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":4, "rotation":270 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Rock", "x":0, "y":0, "rotation":0 },{ "tile":"Starfish", "x":1, "y":3, "rotation":0 },{ "tile":"Pail", "x":7, "y":1, "rotation":0 },{ "tile":"Shovel", "x":8, "y":4, "rotation":0 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":0 },{ "tile":"Straight", "x":8, "y":1, "rotation":90 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":3, "rotation":180 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Cross", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Curve", "x":6, "y":3, "rotation":180 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":3, "rotation":90 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Cross", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Cross", "x":2, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":180 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":270 },{ "tile":"Straight", "x":2, "y":3, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":0, "rotation":270 },{ "tile":"Straight", "x":3, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":0 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":3, "rotation":90 },{ "tile":"Ball", "x":0, "y":0, "rotation":0 },{ "tile":"Pail", "x":1, "y":3, "rotation":0 },{ "tile":"Grass", "x":5, "y":0, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":180 },{ "tile":"Curve", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":90 }],[{ "tile":"Curve", "x":3, "y":0, "rotation":0 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":5, "y":0, "rotation":0 },{ "tile":"Cross", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":180 },{ "tile":"Straight", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Cross", "x":2, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":1, "rotation":180 },{ "tile":"Curve", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":2, "y":0, "rotation":270 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Cross", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Curve", "x":0, "y":3, "rotation":180 },{ "tile":"Straight", "x":1, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":270 },{ "tile":"Grass", "x":0, "y":2, "rotation":0 },{ "tile":"Grass", "x":5, "y":3, "rotation":0 },{ "tile":"Shovel", "x":6, "y":0, "rotation":0 },{ "tile":"Rock", "x":8, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":2, "rotation":0 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":180 },{ "tile":"Curve", "x":7, "y":3, "rotation":90 },{ "tile":"Straight", "x":7, "y":4, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":90 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Curve", "x":3, "y":1, "rotation":270 },{ "tile":"Cross", "x":3, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":0 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":2, "rotation":180 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":0 },{ "tile":"Cross", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Cross", "x":6, "y":2, "rotation":90 },{ "tile":"Straight", "x":7, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":180 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":180 },{ "tile":"Straight", "x":5, "y":0, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":90 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Straight", "x":4, "y":3, "rotation":0 },{ "tile":"Ball", "x":5, "y":1, "rotation":0 },{ "tile":"Starfish", "x":5, "y":3, "rotation":0 },{ "tile":"Pail", "x":7, "y":1, "rotation":0 },{ "tile":"Grass", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":270 },{ "tile":"Curve", "x":1, "y":0, "rotation":90 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Straight", "x":2, "y":0, "rotation":90 },{ "tile":"Curve", "x":2, "y":4, "rotation":270 },{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Straight", "x":8, "y":1, "rotation":0 }],[{ "tile":"Cross", "x":1, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":1, "rotation":0 },{ "tile":"Curve", "x":2, "y":1, "rotation":270 },{ "tile":"Curve", "x":2, "y":0, "rotation":180 },{ "tile":"Curve", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":90 },{ "tile":"Cross", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":1, "y":2, "rotation":180 },{ "tile":"Curve", "x":1, "y":3, "rotation":90 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":90 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Straight", "x":4, "y":1, "rotation":90 },{ "tile":"Curve", "x":4, "y":0, "rotation":270 },{ "tile":"Straight", "x":5, "y":0, "rotation":0 },{ "tile":"Curve", "x":6, "y":0, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 },{ "tile":"Curve", "x":6, "y":2, "rotation":180 },{ "tile":"Curve", "x":7, "y":2, "rotation":0 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":4, "rotation":90 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Grass", "x":3, "y":2, "rotation":0 },{ "tile":"Grass", "x":6, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":90 },{ "tile":"Curve", "x":5, "y":2, "rotation":180 },{ "tile":"Straight", "x":5, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":180 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Straight", "x":8, "y":3, "rotation":0 },{ "tile":"Straight", "x":8, "y":4, "rotation":90 }],[{ "tile":"Straight", "x":2, "y":0, "rotation":90 },{ "tile":"Cross", "x":2, "y":1, "rotation":0 },{ "tile":"Cross", "x":2, "y":2, "rotation":90 },{ "tile":"Cross", "x":2, "y":3, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":270 },{ "tile":"Straight", "x":1, "y":4, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Curve", "x":0, "y":0, "rotation":270 },{ "tile":"Curve", "x":1, "y":0, "rotation":180 },{ "tile":"Curve", "x":1, "y":1, "rotation":0 },{ "tile":"Cross", "x":3, "y":1, "rotation":90 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Cross", "x":6, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":270 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":0 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":6, "y":4, "rotation":0 },{ "tile":"Cross", "x":6, "y":3, "rotation":90 },{ "tile":"Cross", "x":6, "y":2, "rotation":0 },{ "tile":"Curve", "x":6, "y":0, "rotation":270 },{ "tile":"Straight", "x":5, "y":0, "rotation":0 },{ "tile":"Straight", "x":4, "y":0, "rotation":90 },{ "tile":"Curve", "x":3, "y":0, "rotation":270 },{ "tile":"Curve", "x":3, "y":2, "rotation":180 },{ "tile":"Curve", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":270 },{ "tile":"Curve", "x":4, "y":2, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":7, "y":2, "rotation":180 },{ "tile":"Curve", "x":7, "y":3, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":90 }],[{ "tile":"Straight", "x":6, "y":0, "rotation":90 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Cross", "x":6, "y":3, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":180 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":270 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Curve", "x":7, "y":1, "rotation":90 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Curve", "x":7, "y":3, "rotation":270 },{ "tile":"Curve", "x":5, "y":3, "rotation":180 },{ "tile":"Straight", "x":5, "y":2, "rotation":0 },{ "tile":"Curve", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Straight", "x":2, "y":1, "rotation":0 },{ "tile":"Cross", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":0, "y":1, "rotation":90 },{ "tile":"Curve", "x":0, "y":0, "rotation":270 },{ "tile":"Curve", "x":1, "y":0, "rotation":180 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Cross", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":90 },{ "tile":"Curve", "x":0, "y":3, "rotation":270 },{ "tile":"Straight", "x":2, "y":3, "rotation":0 },{ "tile":"Straight", "x":3, "y":3, "rotation":0 },{ "tile":"Curve", "x":4, "y":3, "rotation":270 },{ "tile":"Pail", "x":0, "y":2, "rotation":0 },{ "tile":"Starfish", "x":2, "y":0, "rotation":0 },{ "tile":"Rock", "x":2, "y":4, "rotation":0 },{ "tile":"Shovel", "x":5, "y":0, "rotation":0 },{ "tile":"Curve", "x":2, "y":2, "rotation":0 },{ "tile":"Curve", "x":3, "y":0, "rotation":180 },{ "tile":"Straight", "x":3, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":0, "rotation":90 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":0 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":180 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":0 },{ "tile":"Cross", "x":2, "y":3, "rotation":90 },{ "tile":"Straight", "x":2, "y":2, "rotation":90 },{ "tile":"Curve", "x":2, "y":1, "rotation":180 },{ "tile":"Straight", "x":3, "y":1, "rotation":0 },{ "tile":"Cross", "x":4, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":6, "y":1, "rotation":0 },{ "tile":"Straight", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Curve", "x":8, "y":3, "rotation":0 },{ "tile":"Straight", "x":7, "y":3, "rotation":0 },{ "tile":"Straight", "x":6, "y":3, "rotation":90 },{ "tile":"Straight", "x":5, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":180 },{ "tile":"Straight", "x":4, "y":2, "rotation":0 },{ "tile":"Curve", "x":4, "y":0, "rotation":270 },{ "tile":"Straight", "x":3, "y":0, "rotation":90 },{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Curve", "x":1, "y":0, "rotation":180 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":90 },{ "tile":"Curve", "x":1, "y":3, "rotation":0 },{ "tile":"Curve", "x":3, "y":3, "rotation":270 },{ "tile":"Rock", "x":3, "y":2, "rotation":0 },{ "tile":"Grass", "x":5, "y":0, "rotation":0 },{ "tile":"Rock", "x":7, "y":2, "rotation":0 },{ "tile":"Rock", "x":8, "y":4, "rotation":0 },{ "tile":"Curve", "x":5, "y":2, "rotation":0 },{ "tile":"Straight", "x":6, "y":0, "rotation":0 },{ "tile":"Straight", "x":6, "y":2, "rotation":90 },{ "tile":"Curve", "x":6, "y":4, "rotation":180 },{ "tile":"Straight", "x":7, "y":4, "rotation":90 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":90 },{ "tile":"Straight", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":0 },{ "tile":"Straight", "x":0, "y":3, "rotation":90 },{ "tile":"Curve", "x":0, "y":4, "rotation":180 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":90 },{ "tile":"Curve", "x":3, "y":3, "rotation":270 },{ "tile":"Straight", "x":3, "y":2, "rotation":90 },{ "tile":"Straight", "x":3, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":0, "rotation":180 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Curve", "x":5, "y":0, "rotation":270 },{ "tile":"Straight", "x":5, "y":1, "rotation":0 },{ "tile":"Straight", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":180 },{ "tile":"Straight", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":7, "y":3, "rotation":270 },{ "tile":"Straight", "x":7, "y":2, "rotation":90 },{ "tile":"Curve", "x":7, "y":1, "rotation":0 },{ "tile":"Curve", "x":8, "y":1, "rotation":270 },{ "tile":"Straight", "x":8, "y":2, "rotation":90 },{ "tile":"Straight", "x":8, "y":3, "rotation":0 },{ "tile":"Curve", "x":8, "y":4, "rotation":270 },{ "tile":"Straight", "x":7, "y":4, "rotation":0 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Grass", "x":2, "y":2, "rotation":0 },{ "tile":"Rock", "x":4, "y":1, "rotation":0 },{ "tile":"Rock", "x":4, "y":3, "rotation":0 },{ "tile":"Grass", "x":6, "y":2, "rotation":0 },{ "tile":"Straight", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":1, "y":1, "rotation":90 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Curve", "x":1, "y":3, "rotation":270 },{ "tile":"Straight", "x":2, "y":0, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":4, "y":2, "rotation":270 },{ "tile":"Curve", "x":6, "y":0, "rotation":180 },{ "tile":"Straight", "x":6, "y":1, "rotation":90 }],[{ "tile":"Straight", "x":0, "y":0, "rotation":0 },{ "tile":"Straight", "x":0, "y":1, "rotation":90 },{ "tile":"Straight", "x":0, "y":2, "rotation":90 },{ "tile":"Straight", "x":0, "y":3, "rotation":0 },{ "tile":"Curve", "x":0, "y":4, "rotation":180 },{ "tile":"Straight", "x":1, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":4, "rotation":0 },{ "tile":"Curve", "x":2, "y":3, "rotation":270 },{ "tile":"Curve", "x":1, "y":3, "rotation":0 },{ "tile":"Straight", "x":1, "y":2, "rotation":0 },{ "tile":"Straight", "x":1, "y":1, "rotation":90 },{ "tile":"Curve", "x":1, "y":0, "rotation":90 },{ "tile":"Curve", "x":2, "y":0, "rotation":0 },{ "tile":"Straight", "x":2, "y":1, "rotation":90 },{ "tile":"Curve", "x":2, "y":2, "rotation":180 },{ "tile":"Curve", "x":3, "y":2, "rotation":270 },{ "tile":"Curve", "x":3, "y":3, "rotation":90 },{ "tile":"Curve", "x":4, "y":3, "rotation":0 },{ "tile":"Straight", "x":4, "y":2, "rotation":90 },{ "tile":"Curve", "x":4, "y":1, "rotation":90 },{ "tile":"Curve", "x":3, "y":1, "rotation":0 },{ "tile":"Curve", "x":3, "y":0, "rotation":180 },{ "tile":"Straight", "x":4, "y":0, "rotation":0 },{ "tile":"Straight", "x":5, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":0, "rotation":90 },{ "tile":"Curve", "x":6, "y":1, "rotation":270 },{ "tile":"Curve", "x":5, "y":1, "rotation":180 },{ "tile":"Straight", "x":5, "y":2, "rotation":90 },{ "tile":"Curve", "x":5, "y":3, "rotation":180 },{ "tile":"Curve", "x":6, "y":3, "rotation":0 },{ "tile":"Curve", "x":6, "y":2, "rotation":90 },{ "tile":"Curve", "x":7, "y":2, "rotation":270 },{ "tile":"Curve", "x":7, "y":1, "rotation":90 },{ "tile":"Curve", "x":8, "y":1, "rotation":0 },{ "tile":"Straight", "x":8, "y":2, "rotation":0 },{ "tile":"Straight", "x":8, "y":3, "rotation":90 },{ "tile":"Curve", "x":8, "y":4, "rotation":270 },{ "tile":"Straight", "x":7, "y":4, "rotation":90 },{ "tile":"Straight", "x":6, "y":4, "rotation":0 },{ "tile":"Starfish", "x":7, "y":3, "rotation":0 }]]]; init(); } private function loadSounds() : void { _SFX_Music = _soundMan.addStream("AJ_CS_mus_over_flow",1.1); _soundMan.addSound(SFX_OverflowWater,2,"SFX_OverflowWater"); _soundMan.addSoundByName(_audioByName[_soundNameFail],_soundNameFail,2); _soundMan.addSoundByName(_audioByName[_soundNameSuccess],_soundNameSuccess,2); _soundMan.addSoundByName(_audioByName[_soundNameRotate],_soundNameRotate,0.3); _soundMan.addSoundByName(_audioByName[_soundNameWaterRelease],_soundNameWaterRelease,2); _soundMan.addSoundByName(_audioByName[_soundNameRollOver],_soundNameRollOver,0.3); _soundMan.addSoundByName(_audioByName[_soundNameHudSelect],_soundNameHudSelect,0.6); _soundMan.addSoundByName(_audioByName[_soundNameHudRollover],_soundNameHudRollover,0.6); _soundMan.addSoundByName(_audioByName[_soundNameGemAdded],_soundNameGemAdded,0.3); } public function start(param1:uint, param2:Array) : void { myId = param1; p1Id = param2[0]; init(); } public function end(param1:Array) : void { if(_gameTime > 15 && MinigameManager.minigameInfoCache && MinigameManager.minigameInfoCache.currMinigameId != -1) { AchievementXtCommManager.requestSetUserVar(MinigameManager.minigameInfoCache.getMinigameInfo(MinigameManager.minigameInfoCache.currMinigameId).gameCountUserVarRef,1); } releaseBase(); if(_musicLoop) { _musicLoop.stop(); _musicLoop = null; } stage.removeEventListener("keyDown",replayKeyDown); stage.removeEventListener("keyDown",nextLevelKeyDown); stage.removeEventListener("enterFrame",heartbeat); resetGame(); _bInit = false; if(_waterLoop) { _waterLoop.stop(); _waterLoop = null; } if(_scoreCtrl && _scoreCtrl.loader.parent) { _scoreCtrl.loader.parent.removeChild(_scoreCtrl.loader); _scoreCtrl = null; } if(_slotHighlight) { if(_slotHighlight.tween) { _slotHighlight.tween.end(); _slotHighlight.tween = null; } if(_slotHighlight.layer.loader.parent) { _slotHighlight.layer.loader.parent.removeChild(_slotHighlight.layer.loader); _slotHighlight.layer = null; } } if(_gems) { while(_gems.length > 0) { if(_gems[0].loader.parent) { _gems[0].loader.parent.removeChild(_gems[0].loader); } _gems.splice(0,1); } } if(_gemsToRecycle && _gemsToRecycle.length > 0) { _gemsToRecycle.splice(0,_gemsToRecycle.length); } removeLayer(_layerLake); removeLayer(_layerBackground); removeLayer(_layerForeground); removeLayer(_guiLayer); _layerLake = null; _layerBackground = null; _layerForeground = null; _guiLayer = null; MinigameManager.leave(); } private function init() : void { var _loc2_:int = 0; var _loc3_:Array = null; var _loc1_:int = 0; _displayAchievementTimer = 0; if(!_bInit) { _pointsEarnedTotal = 0; _iPuzzle = 0; _score = 0; _layerLake = new Sprite(); _layerLake.mouseEnabled = false; _layerBackground = new Sprite(); _layerBackground.mouseEnabled = false; _layerForeground = new Sprite(); _layerForeground.mouseEnabled = false; _guiLayer = new Sprite(); _gems = []; _gemsToRecycle = []; _progressionArray = []; _loc2_ = 0; while(_loc2_ < _levels.length) { _loc3_ = []; _loc1_ = 0; while(_loc1_ < _levels[_loc2_].length) { _loc3_.push(_loc1_); _loc1_++; } _loc3_ = randomizeArray(_loc3_); _loc3_ = randomizeArray(_loc3_); _loc1_ = 0; while(_loc1_ < _loc3_.length) { _progressionArray.push(_loc3_[_loc1_]); _loc1_++; } _loc2_++; } addChild(_layerBackground); addChild(_layerLake); addChild(_layerForeground); addChild(_guiLayer); loadScene("MoatMadnessAssets/room_main.xroom",_audio); _mouseOverSlot = -1; _bInit = true; } } private function randomizeArray(param1:Array) : Array { var _loc2_:Array = []; while(param1.length > 0) { _loc2_.push(param1.splice(Math.floor(Math.random() * param1.length),1)[0]); } return _loc2_; } override protected function sceneLoaded(param1:Event) : void { var _loc3_:int = 0; var _loc4_:Object = null; var _loc2_:* = null; SFX_OverflowWater = getDefinitionByName("overflow_water") as Class; if(SFX_OverflowWater == null) { throw new Error("Sound not found! name:overflow_water"); } _soundMan = new SoundManager(this); loadSounds(); _sceneOffset = _scene.getOffset(stage); _sceneOffset.x = int(_sceneOffset.x); _sceneOffset.y = int(_sceneOffset.y); _loc4_ = _scene.getLayer("background"); _loc4_.loader.x = _loc4_.loader.x - _sceneOffset.x; _loc4_.loader.y -= _sceneOffset.y; _layerBackground.addChild(_loc4_.loader); _loc4_ = _scene.getLayer("lake"); _loc4_.loader.x = 0; _loc4_.loader.y = -2; _layerBackground.addChild(_loc4_.loader); _slotHighlight = {}; _slotHighlight.layer = _scene.getLayer("slot_highlight"); _slotHighlight.layer.loader.mouseEnabled = false; _slotHighlight.layer.loader.mouseChildren = false; _layerForeground.addChild(_slotHighlight.layer.loader); _startButton = addBtn("startwater_btn",452,526,startWater); _scoreCtrl = _scene.getLayer("score"); _scoreCtrl.loader.x -= _sceneOffset.x; _scoreCtrl.loader.y -= _sceneOffset.y; _layerForeground.addChild(_scoreCtrl.loader); _scoreCtrl.loader.content.scorebackground.text_score.mouseEnabled = false; _scoreCtrl.loader.content.scorebackground.text_level.mouseEnabled = false; _levelSelectPopupTimer = 0; _levelSelectPopup = _scene.getLayer("levelSelect"); _levelSelectPopup.loader.x = _sceneOffset.x; _levelSelectPopup.loader.y = _sceneOffset.y; _guiLayer.addChild(_levelSelectPopup.loader); _closeBtn = addBtn("CloseButton",847,5,showExitConfirmationDlg); _sceneLoaded = true; stage.addEventListener("enterFrame",heartbeat,false,0,true); restartGame(); super.sceneLoaded(param1); } public function message(param1:Array) : void { if(param1[0] == "ml") { end(param1); return; } } public function heartbeat(param1:Event) : void { var _loc3_:int = 0; var _loc4_:Boolean = false; var _loc2_:Bitmap = null; if(_sceneLoaded) { _frameTime = (getTimer() - _lastTime) / 1000; _lastTime = getTimer(); if(_levelSelectPopup) { if(_levelSelectPopup.loader.content.hud_select) { _levelSelectPopup.loader.content.hud_select = false; _soundMan.playByName(_soundNameHudSelect); } if(_levelSelectPopup.loader.content.hud_rollover) { _levelSelectPopup.loader.content.hud_rollover = false; _soundMan.playByName(_soundNameHudRollover); } if(_levelSelectPopupTimer > 0) { _levelSelectPopupTimer -= _frameTime; if(_levelSelectPopupTimer <= 0) { _guiLayer.removeChild(_levelSelectPopup.loader); _levelSelectPopup = null; } } else if(_levelSelectPopup.loader.content.introOn == false) { if(_levelSelectPopup.loader.content.difficulty == "medium") { _startLevelSelected = 25; } else if(_levelSelectPopup.loader.content.difficulty == "hard") { _startLevelSelected = 50; } else { _startLevelSelected = 0; } _iPuzzle = _startLevelSelected; _levelSelectPopupTimer = 0.25; resetGame(); restartGame(); } } else { if(!_pauseGame && !_gameOver) { _gameTime += _frameTime; _loc3_ = _gems.length - 1; while(_loc3_ >= 0) { _gems[_loc3_].killTimer -= _frameTime; if(_gems[_loc3_].killTimer <= 0) { _gems[_loc3_].loader.content.gotoAndStop(0); _gemsToRecycle.push(_gems[_loc3_]); _gems.splice(_loc3_,1); } _loc3_--; } if(_waterFilling) { if(_waterInlet && _waterInlet.loader.content.gateOpen == true) { _waterInlet.loader.content.gateOpen = false; pathFill(null,1); } if(_mouseOverSlot != -1) { mouseOverSlot(-1); } } else { _loc4_ = false; _loc3_ = 0; while(_loc3_ < _moatPath.length) { if(_moatPath[_loc3_]._container.mouseX > -_moatPath[_loc3_]._width / 2 && _moatPath[_loc3_]._container.mouseX <= _moatPath[_loc3_]._width / 2 && _moatPath[_loc3_]._container.mouseY > -_moatPath[_loc3_]._height / 2 && _moatPath[_loc3_]._container.mouseY <= _moatPath[_loc3_]._height / 2) { mouseOverSlot(_loc3_); _loc4_ = true; break; } _loc3_++; } if(!_loc4_) { mouseOverSlot(-1); } } } else if(_mouseOverSlot != -1) { mouseOverSlot(-1); } if(!_pauseGame || _gameOver) { _loc3_ = 0; while(_loc3_ < _moatPath.length) { _moatPath[_loc3_].heartbeat(_frameTime); _loc3_++; } } if(_moatFill) { _moatFill.heartbeat(_frameTime); } if(_moatWaterFall) { _moatWaterFall.heartbeat(_frameTime); if(!_moatFill && _moatWaterFall.atNextToLastFrame(1)) { _loc2_ = _scene.getLayer("fill_moat").loader.content as Bitmap; _moatFill = new FrameAnimation(_loc2_,300 + 300 / 2,450 + 100 / 2,300,100,1); _moatFill._container.mouseEnabled = false; _layerBackground.addChild(_moatFill._container); _moatWaterFall._container.parent.removeChild(_moatWaterFall._container); _layerBackground.addChild(_moatWaterFall._container); } } if(_displayAchievementTimer > 0) { _displayAchievementTimer -= _frameTime; if(_displayAchievementTimer <= 0) { _displayAchievementTimer = 0; AchievementManager.displayNewAchievements(); } } } } } public function pathFill(param1:MoatPath, param2:int) : void { var _loc5_:int = 0; var _loc4_:int = 0; var _loc7_:Bitmap = null; var _loc6_:int = 0; var _loc8_:Object = null; var _loc3_:MoatPath = null; if(param1) { _loc5_ = param1._container.x; _loc4_ = param1._container.y; switch(param2 - 1) { case 0: _loc4_ += param1._height; break; case 1: _loc5_ -= param1._width; break; case 2: _loc4_ -= param1._height; break; case 3: _loc5_ += param1._width; } if(_loc5_ >= 300 && _loc5_ <= 300 + 300 && _loc4_ >= 450) { _loc7_ = _scene.getLayer("fill_waterfall").loader.content as Bitmap; if(param2 == 2) { _moatWaterFall = new FrameAnimation(_loc7_,_loc5_,_loc4_,100,100,0.5,8,6); _moatWaterFall._container.rotation = 90; } else if(param2 == 4) { _moatWaterFall = new FrameAnimation(_loc7_,_loc5_,_loc4_,100,100,0.5,8,6); _moatWaterFall._container.rotation = 270; } else { _moatWaterFall = new FrameAnimation(_loc7_,_loc5_,_loc4_,100,100,0.5,8,6); } _moatWaterFall._container.mouseEnabled = false; _layerBackground.addChild(_moatWaterFall._container); setGameOver(true); return; } _loc6_ = 0; while(_loc6_ < _moatPath.length) { if(_moatPath[_loc6_].testForValidFill(_loc5_,_loc4_,param2)) { _loc3_ = _moatPath[_loc6_]; break; } _loc6_++; } } else if(_moatPath[0].testForValidFill(_moatPath[0]._container.x,_moatPath[0]._container.y,param2)) { _loc3_ = _moatPath[0]; } if(_loc3_) { _loc3_.startFill(param2); if(_moatIsConnected) { if(_gemsToRecycle.length > 0) { _loc8_ = _gemsToRecycle[0]; _gemsToRecycle.splice(0,1); _loc8_.loader.content.gotoAndPlay("collect"); } else { _loc8_ = _scene.cloneAsset("score_gem"); _loc8_.loader.contentLoaderInfo.addEventListener("complete",onGemCloneComplete); } _loc8_.killTimer = 1.5; _loc8_.loader.x = _loc3_._container.x - _loc3_._width / 4 + 10; _loc8_.loader.y = _loc3_._container.y - _loc3_._height / 2; _guiLayer.addChild(_loc8_.loader); _gems.push(_loc8_); _soundMan.playByName(_soundNameGemAdded); addScore(2); updateScore(); } } else { setGameOver(false); } } public function onGemCloneComplete(param1:Event) : void { param1.target.content.gotoAndPlay("collect"); param1.target.removeEventListener("complete",onGemCloneComplete); } public function verifyPath() : Boolean { var _loc1_:MoatPath = null; var _loc3_:int = 0; var _loc2_:int = 0; var _loc4_:int = 0; var _loc5_:int = 1; if(_moatPath[0].testForValidFill(_moatPath[0]._container.x,_moatPath[0]._container.y,_loc5_)) { _loc1_ = null; _loc1_ = _moatPath[0]; while(_loc1_) { _loc3_ = _loc1_._container.x; _loc2_ = _loc1_._container.y; switch((_loc5_ = _loc1_.getFillDirection(_loc5_)) - 1) { case 0: _loc2_ += _loc1_._height; break; case 1: _loc3_ -= _loc1_._width; break; case 2: _loc2_ -= _loc1_._height; break; case 3: _loc3_ += _loc1_._width; } if(_loc3_ >= 300 && _loc3_ <= 300 + 300 && _loc2_ >= 450) { return true; } _loc1_ = null; _loc4_ = 0; while(_loc4_ < _moatPath.length) { if(_moatPath[_loc4_].testForValidFill(_loc3_,_loc2_,_loc5_)) { _loc1_ = _moatPath[_loc4_]; break; } _loc4_++; } } } return false; } public function restartGame() : void { var _loc6_:int = 0; var _loc9_:int = 0; var _loc5_:Object = null; var _loc7_:Object = null; var _loc2_:MoatPath = null; var _loc4_:int = 0; _waterFilling = false; _gameOver = false; _gameTime = 0; _lastTime = getTimer(); _frameTime = 0; _moatWaterFall = null; _moatFill = null; _pointsEarnedThisGame = 0; _moatIsConnected = false; if(_musicLoop) { _musicLoop.stop(); _musicLoop = null; } _musicLoop = _soundMan.playStream(_SFX_Music,0,999999); if(_slotHighlight.tween) { _slotHighlight.tween.end(); _slotHighlight.tween = null; } _slotHighlight.layer.loader.alpha = 0; LocalizationManager.translateIdAndInsert(_scoreCtrl.loader.content.scorebackground.text_level,11548,_iPuzzle - _startLevelSelected + 1); while(_gems.length > 0) { if(_gems[0].loader.parent) { _gems[0].loader.parent.removeChild(_gems[0].loader); } _gems[0].loader.content.gotoAndStop(0); _gemsToRecycle.push(_gems[0]); _gems.splice(0,1); } _obstacles = []; var _loc8_:TextFormat = new TextFormat(); _loc8_.color = 65280; _loc8_.size = 20; _loc8_.bold = true; _moatPath = []; var _loc1_:int = int(_progressionArray[_iPuzzle]); var _loc3_:int = 0; _loc9_ = 0; while(_loc9_ < _levels.length - 1) { if(_iPuzzle < _loc3_ + _levels[_loc9_].length) { break; } _loc3_ += _levels[_loc9_].length; _loc9_++; } _loc6_ = 0; while(_loc6_ < _levels[_loc9_][_loc1_].length) { if(_levels[_loc9_][_loc1_][_loc6_].tile) { _loc7_ = null; _loc2_ = null; _loc4_ = int(_levels[_loc9_][_loc1_][_loc6_].rotation); if(_loc4_ != 0 && _loc4_ != 90 && _loc4_ != 180 && _loc4_ != 270) { _loc4_ = Math.floor(Math.random() * 4) * 90; } else if(_loc6_ < 4 && _iPuzzle > 0 && _iPuzzle < _levels[0].length) { if(_iPuzzle > 3 || _iPuzzle == 3 && _loc6_ > 0 || _iPuzzle == 2 && _loc6_ > 1 || _iPuzzle == 1 && _loc6_ > 2) { while(true) { _loc4_ = Math.floor(Math.random() * 4) * 90; if(_loc4_ != _levels[_loc9_][_loc1_][_loc6_].rotation) { break; } } } } if(_levels[_loc9_][_loc1_][_loc6_].tile == "Straight") { _loc2_ = new MoatPathStraight(this); } else if(_levels[_loc9_][_loc1_][_loc6_].tile == "Curve") { _loc2_ = new MoatPathCurve(this); } else if(_levels[_loc9_][_loc1_][_loc6_].tile == "Cross") { _loc2_ = new MoatPathCross(this); } else if(_levels[_loc9_][_loc1_][_loc6_].tile == "Starfish") { _loc5_ = _scene.getLayer("piece_starfish"); if(_loc5_) { _loc7_ = _scene.cloneAsset("piece_starfish"); } } else if(_levels[_loc9_][_loc1_][_loc6_].tile == "Grass") { _loc5_ = _scene.getLayer("piece_grass"); if(_loc5_) { _loc7_ = _scene.cloneAsset("piece_grass"); } } else if(_levels[_loc9_][_loc1_][_loc6_].tile == "Rock") { _loc5_ = _scene.getLayer("piece_rock"); if(_loc5_) { _loc7_ = _scene.cloneAsset("piece_rock"); } } else if(_levels[_loc9_][_loc1_][_loc6_].tile == "Pail") { _loc5_ = _scene.getLayer("piece_pail"); if(_loc5_) { _loc7_ = _scene.cloneAsset("piece_pail"); } } else if(_levels[_loc9_][_loc1_][_loc6_].tile == "Shovel") { _loc5_ = _scene.getLayer("piece_shovel"); if(_loc5_) { _loc7_ = _scene.cloneAsset("piece_shovel"); } } else if(_levels[_loc9_][_loc1_][_loc6_].tile == "Ball") { _loc5_ = _scene.getLayer("piece_ball"); if(_loc5_) { _loc7_ = _scene.cloneAsset("piece_ball"); } } if(_loc2_) { _loc2_.init(this,_loc2_._width * _levels[_loc9_][_loc1_][_loc6_].x,50 + _loc2_._height * _levels[_loc9_][_loc1_][_loc6_].y,_loc4_); _moatPath.push(_loc2_); } else if(_loc7_) { _loc7_.loader.x = _loc5_.loader.width * _levels[_loc9_][_loc1_][_loc6_].x; _loc7_.loader.y = 50 + _loc5_.loader.height * _levels[_loc9_][_loc1_][_loc6_].y; _layerBackground.addChild(_loc7_.loader); _obstacles.push(_loc7_); } } _loc6_++; } _waterInlet = _scene.getLayer("piece_inlet"); if(_waterInlet) { _waterInlet.loader.content.gotoAndPlay("off"); _layerBackground.addChild(_waterInlet.loader); } _waterInlet.loader.x = 100 * _levels[_loc9_][_loc1_][0].x; _waterInlet.loader.y = 0; updateScore(); } public function resetGame() : void { var _loc1_:int = 0; if(_waterInlet && _waterInlet.loader.parent) { _waterInlet.loader.parent.removeChild(_waterInlet.loader); _waterInlet = null; } if(_obstacles) { _loc1_ = 0; while(_loc1_ < _obstacles.length) { if(_obstacles[_loc1_].loader.parent) { _obstacles[_loc1_].loader.parent.removeChild(_obstacles[_loc1_].loader); } _scene.releaseCloneAsset(_obstacles[_loc1_].loader); _obstacles[_loc1_] = null; _loc1_++; } _obstacles = null; } if(_moatPath) { _loc1_ = 0; while(_loc1_ < _moatPath.length) { _moatPath[_loc1_].Remove(); _moatPath[_loc1_] = null; _loc1_++; } _moatPath = null; } if(_moatWaterFall && _moatWaterFall._container.parent) { _moatWaterFall._container.parent.removeChild(_moatWaterFall._container); _moatWaterFall = null; } if(_moatFill && _moatFill._container.parent) { _moatFill._container.parent.removeChild(_moatFill._container); _moatFill = null; } } private function setGameOver(param1:Boolean) : void { var _loc3_:Array = null; var _loc2_:int = 0; if(!_gameOver) { if(_musicLoop) { _musicLoop.stop(); _musicLoop = null; } if(_waterLoop) { _waterLoop.stop(); _waterLoop = null; } if(param1) { addGemsToBalance(_pointsEarnedThisGame); updateScore(); if(_iPuzzle < _progressionArray.length - 1) { _iPuzzle = _iPuzzle + 1; } else { _loc3_ = []; _loc2_ = 0; while(_loc2_ < _levels[_levels.length - 1].length) { _loc3_.push(_loc2_); _loc2_++; } _loc3_ = randomizeArray(_loc3_); _loc3_ = randomizeArray(_loc3_); _loc2_ = 0; while(_loc2_ < _loc3_.length) { _progressionArray.push(_loc3_[_loc2_]); _loc2_++; } _iPuzzle = _iPuzzle + 1; } if(MinigameManager.minigameInfoCache && MinigameManager.minigameInfoCache.currMinigameId != -1) { AchievementXtCommManager.requestSetUserVar(MinigameManager.minigameInfoCache.getMinigameInfo(MinigameManager.minigameInfoCache.currMinigameId).custom1UserVarRef,_iPuzzle - _startLevelSelected); _displayAchievementTimer = 1; } _soundMan.playByName(_soundNameSuccess); } else { _soundMan.playByName(_soundNameFail); } _gameOver = true; showGameOverDlg(param1); } } private function startWater() : void { if(!_pauseGame) { if(!_gameOver) { if(!_waterFilling) { _moatIsConnected = verifyPath(); _soundMan.playByName(_soundNameWaterRelease); _waterFilling = true; _startButton.stop(); _waterInlet.loader.content.gotoAndPlay("on"); _waterLoop = _soundMan.play(SFX_OverflowWater,0,99999); } } } } private function addScore(param1:int) : void { _pointsEarnedTotal += param1; _pointsEarnedThisGame += param1; _score += param1; } private function updateScore() : void { LocalizationManager.translateIdAndInsert(_scoreCtrl.loader.content.scorebackground.text_score,11432,_pointsEarnedThisGame); } private function mouseOverSlot(param1:int) : void { if(param1 != _mouseOverSlot) { if(_slotHighlight.tween) { _slotHighlight.tween.end(); _slotHighlight.tween = null; } if(param1 == -1) { _slotHighlight.layer.loader.x = 5000; _slotHighlight.layer.loader.y = 5000; _slotHighlight.layer.loader.alpha = 0; _mouseOverSlot = -1; } else { _mouseOverSlot = param1; if(_slotHighlight.layer.loader.x != _moatPath[_mouseOverSlot]._container.x || _slotHighlight.layer.loader.y != _moatPath[_mouseOverSlot]._container.y || _slotHighlight.layer.loader.alpha == 0) { _slotHighlight.layer.loader.alpha = 0; _slotHighlight.layer.loader.x = _moatPath[_mouseOverSlot]._container.x - _moatPath[_mouseOverSlot]._width / 2; _slotHighlight.layer.loader.y = _moatPath[_mouseOverSlot]._container.y - _moatPath[_mouseOverSlot]._height / 2; _slotHighlight.tween = new GTween(_slotHighlight.layer.loader,0.5,{"alpha":0.7}); _soundMan.playByName(_soundNameRollOver); } } } } private function showExitConfirmationDlg() : void { var _loc1_:MovieClip = showDlg("ExitConfirmationDlg",[{ "name":"button_yes", "f":onExit_Yes },{ "name":"button_no", "f":onExit_No }]); _loc1_.x = 450; _loc1_.y = 275; if(_levelSelectPopup && _levelSelectPopup.loader.content) { _levelSelectPopup.loader.content.introPaused = true; } } private function onExit_Yes() : void { hideDlg(); if(showGemMultiplierDlg(onGemMultiplierDone) == null) { end(null); } } private function onGemMultiplierDone() : void { hideDlg(); end(null); } private function onExit_No() : void { hideDlg(); if(_levelSelectPopup && _levelSelectPopup.loader.content) { _levelSelectPopup.loader.content.introPaused = false; } } private function showGameOverDlg(param1:Boolean) : void { var _loc2_:MovieClip = null; var _loc3_:int = 0; if(param1) { stage.addEventListener("keyDown",nextLevelKeyDown); _loc2_ = showDlg("card_mm_Great_Job",[{ "name":"button_nextlevel", "f":onNextLevel }]); LocalizationManager.translateIdAndInsert(_loc2_.Gems_Earned,11554,_pointsEarnedThisGame); LocalizationManager.translateIdAndInsert(_loc2_.Total_Gems,11549,_pointsEarnedTotal); _loc3_ = _iPuzzle - _startLevelSelected; LocalizationManager.translateIdAndInsert(_loc2_.Text_hit,_loc3_ == 1 ? 11631 : 11630,_loc3_); if(MinigameManager.minigameInfoCache && MinigameManager.minigameInfoCache.currMinigameId != -1) { if(_pointsEarnedTotal >= 300) { AchievementXtCommManager.requestSetUserVar(80,_pointsEarnedTotal); _displayAchievementTimer = 1; } } } else { stage.addEventListener("keyDown",replayKeyDown); _loc2_ = showDlg("card_mm_oops",[{ "name":"button_yes", "f":onRetry_Yes },{ "name":"button_no", "f":onRetry_No }]); } _loc2_.x = 450; _loc2_.y = 275; } private function replayKeyDown(param1:KeyboardEvent) : void { switch(param1.keyCode) { case 13: case 32: onRetry_Yes(); break; case 8: case 46: case 27: onRetry_No(); } } private function nextLevelKeyDown(param1:KeyboardEvent) : void { switch(param1.keyCode) { case 13: case 32: onNextLevel(); } } private function onNextLevel() : void { stage.removeEventListener("keyDown",nextLevelKeyDown); hideDlg(); resetGame(); restartGame(); } private function onRetry_Yes() : void { stage.removeEventListener("keyDown",replayKeyDown); if(MinigameManager.minigameInfoCache && MinigameManager.minigameInfoCache.currMinigameId != -1) { AchievementXtCommManager.requestSetUserVar(MinigameManager.minigameInfoCache.getMinigameInfo(MinigameManager.minigameInfoCache.currMinigameId).gameCountUserVarRef,1); _displayAchievementTimer = 1; } hideDlg(); resetGame(); restartGame(); } private function onRetry_No() : void { stage.removeEventListener("keyDown",replayKeyDown); hideDlg(); if(showGemMultiplierDlg(onGemMultiplierDone) == null) { end(null); } } } }