ラダー言語でテトリス!
```ladder (* ゲーム初期化 *) Network 1 | FirstCycle InitializeGame_EN |---| |---------------(EN)---| | | |InitializeGame_EN InitializeGame_Done |---( )---------------| (* ゲームスタート/リスタート *) Network 2 | GameState.GameOver Input.Start GameState.IsRunning |---| |--------| |---------(S)---| | | |GameState.IsRunning | |---( )---------------| (* 左移動処理 *) Network 3 | Input.MoveLeft PrevInput.MoveLeft LeftCommand |---| |--------|/|---------( )---| | | |LeftCommand | |---[MOV CurrentPiece.X := CurrentPiece.X - 1]---| (* 左移動衝突チェック *) Network 4 | LeftCommand NOT CheckCollision() RevertLeft |---| |--------| |---------( )---| | | |RevertLeft | |---[MOV CurrentPiece.X := CurrentPiece.X + 1]---| (* 右移動処理 *) Network 5 | Input.MoveRight PrevInput.MoveRight RightCommand |---| |--------|/|-------...