top of page

Design

The problem that Mr. Hartzler's Country Music Maze addresses is the game parameters as spelled out in the 1.1.7 Scratch Game Project. These include user interaction with the game, an objective of the game, and multiple stages. I developed several ideas on how to solve this problem, which are laid out here. In the end, I decided to incorporate the following brainstormed ideas:

​

  • Make a project that includes moving a sprite through a maze

  • Have Mr. Hartzler as a sprite

  • Include a final score

  • Make time a factor

  • Have multiple levels to the maze

​​

The objective of Mr. Hartzler's Country Music Maze is to move the Mr. Hartzler Sprite (refered to as "Sprite 1" in the actual coding) through three different levels of mazes of varying difficulty as quickly as possible. A score, based on the time that a user takes to complete the maze, is tabulated at the completion of all three mazes using the formula 100,000/time (to the nearest integer). The basis of this project is the varying backgrounds on Scratch, on which I first designed three mazes by using the "box" feature. For the mazes themselves, a user cannot touch the edges of the maze, or they must restart that maze. This is accomplished by using an "if" loop with a specific color (which changes with each maze) defined as the trigger. "Sprite 1" is then returned to the initial spawn point of that specific maze. I added a "door" sprite that "Sprite 1" must touch to complete each maze, and when it is touched, the backdrop is changed to the next maze and "Sprite 1" is teleported to the beginning of that maze. After I designed and coded all three mazes, I made an introduction page that has instructions for the game, and added the "Button" sprite that the user clicks to begin the first maze. At this point, I added an Easter Egg to Maze 2, a Green Chevy Silverado (Just like Mr. Hartzler's), that, when touched by "Sprite 1", displays the following message- "No time for trucks! Quick, go to the door!". After this, I added a final page, where a new, larger, Mr. Hartzler sprite (called "end" in coding), makes his way across a backdrop of his classroom to ask Alexa to play Today's Country Music. The final score is also displayed on this page, using the formula described above. After I designed the final page, I tested the game, and determined that it was ready for sharing and submitting.

©2020 by Thomas' CSP Website. America is the best country in the history of the world!

bottom of page