End of week 4. Puzzle mode has been completed. How this works, is that the grid is already completed with the blocks, but the block rotation isn’t. What the player then has to do, is to rotate each individual block until the numbers satisfy the equation again. The timer at the top is gone, and has been replaced by a rotation counter. It counts how many times the player has rotated a block. This will eventually be used to determine scores, as the game also saves the number of times it rotated itself to achieve the scrambled state.
Overall, puzzle mode was relatively simple to integrate, as all the code was already there. All this required was a rework of the scoring system, and a couple of checks of which game mode was selected. There was the possibility of still being able to drag blocks in puzzle mode, something that shouldn’t work, but that was also fixed with the addition of a single if statement. All the options are also the same. That is, being able to choose difficulty, number range, and addition or subtraction. So not much had to be changed there either. There was a small tweak, as puzzle mode only has two difficulties compared to four. Easy mode is a 3×3 grid, and medium is a 4×4 grid.
Something I should have talked about sooner, but over break I was also play testing blocku with a group of friends, and their younger siblings. One of them was even the target audience, so that worked out nicely. Play testing was simply “Time how long it takes you to complete this puzzle”. However, the results were interesting. These were all time attack. In easy mode, it took friends in the college age group between 5 and 10 minutes to complete. Medium took considerably longer, and no one managed to finish one that involved rotation. The 4th grader required 20 minutes to solve an easy puzzle. Now this game was originally targeted at the 4th grade audience, but after seeing these results, I’m not too sure about that anymore. During development I already realized that rotation makes the game exponentially harder. Maybe if this game was worked on as a group project it might still be 4th grade stuff. But apart from test results, everyone seemed to enjoy the game, and that is a good thing at least.
http://gitorious.org/blocku/blocku/commit/a2b294df78a0f190a466627e24ee430fb8f5c9e0