Code Review Author: Zach Jones Date: 10/3/21 Sprint 2 File being reviewed: BlockStateMachine.cs File author: Bryce Time spent: 14 minutes The state machine is of good quality. In order to limit the amount of repeated code, we could add a private array block states and an index that is incremented or decremented according to the sign of "nextOrPrevious." This would limit the decision structure to an if deciding whether the index needs to loop around the array size and an if deciding whether to increment the index or decrement it. If we want to have a block for each part of the level at all times and just switch between the states of the block to change between levels, the state machine would need to have some changes. First, we would have to add a state for no block, which could be implemented relatively easily, requiring only a new state. Also, we might want to change the case structure into an if strucutre that compares the value of an int passed into it, so we do not have to go through the intermediate states to get to the desired state.