Assignment in the below link

Pastry Shop
Your pastry shop is having a gigantic sale and a crowd of people want to buy your cookies, brownies, and cakes. The food comes out of three cooking stations next to one another designated for each food type and you must bring each batch to the front counter to be sold.
Game Board:
At Level 1:
It would be a 900 x 900 px game shown here as a grid of 30 rows and columns where each square on the grid represents 30 square px. Number of squares on the grid multiplied by 30 px will give you the pixel dimensions of the areas.
Food icons show inside a 6 x 6 box by chance every 3 seconds
The 6 x6 boxed lightest shade of gray would be where cookies are ready in the cooking station to be brought to the counter which is the corresponding light gray rectangle strip 1 x 18.
The 6 x 6 boxed slightly darker shade of gray would be where brownies are ready in the cooking station to be brought to the counter which is the corresponding slightly darker gray rectangle strip 2 x 18.
The 6 x 6 boxed slightly more dark shade of gray would be where cakes are ready in the cooking station to be brought to the counter which is the corresponding slightly more dark gray rectangle strip 3 x 18.
The counter is all one 6 x 18 place despite the shaded areas, once a food reaches the counter it is simply in the counter to be sold to the customers. Progress bars would be within the shaded areas to know how far along you are to the game’s/level’s goal.
Playing Piece movement:
The 6 numbered two-toned darkest rectangle areas are where the players can be in the game, the player’s piece takes up a 2 x 4 square space. The piece can only be in these designated areas and snap to the area by the player tapping the up, down, left, right arrow keys each time (key’s release); player piece is immovable if there is no space in the direction key you tap.
If you’re in Box 1 or 4, choices to move: Up, Down, Right.
If you’re in Box 2 or 5, choices to move: Up, Down, Left, Right.
If you’re in Box 3 or 6, choices to move: Up, Down, Left.
Also, if you tap the up key when there’s a food item ready in the area next to the player piece, it “picks up” the food and a food icon shows on your playing piece, and if you tap the down key while you had picked up your food already and you’re next to the counter, it drops the food into the counter to be sold and the food icon disappears from your playing piece.
Stats/Lives:
For Level 1, food is prepared at random percentages of 20% chance of cakes to show, 35% chance of brownies to show, and 45% chance of cookies to show. A batch will have a chance of getting burned or inedible (icon changes to show that) and must be left there for 9 seconds to get thrown out, if you bring a burnt batch to the counter, you lose a life, you get 5 lives in the game. If one or more burnt batches show up around the same time, you can wait for a different food to show in the other spaces or you can wait until the burnt batch disappears and a new batch appears during its chance.
For Level 2, donuts get added in and the food is prepared at random percentages of 15% chance of cakes to show, 20% chance of donuts to show, 25% chance of brownies to show, and 40% chance of cookies to show.

If you’re in Box 1 or 5, choices to move: Up, Down, Right.
If you’re in Box 2, 3, 6 or 7, choices to move: Up, Down, Left, Right.
If you’re in Box 4 or 8, choices to move: Up, Down, Left.
For Level 3, scones get added in and the food is prepared at random percentages of 10% chance of cakes to show, 15% chance of scones to show, 20% chance of donuts to show, 25% chance of brownies to show, and 30% chance of cookies to show.
If you’re in Box 1 or 6, choices to move: Up, Down, Right.
If you’re in Box 2, 3, 4, 7, 8 or 9, choices to move: Up, Down, Left, Right.
If you’re in Box 5 or 10, choices to move: Up, Down, Left.
Goals:
Level 1 you must sell 10 cakes, 20 batches of brownies, and 30 batches of cookies in 5 minutes and batches have a 10% chance of burning.
Level 2 you must sell 15 cakes, 25 batches of brownies, 30 batches of donuts, and 35 batches of cookies 4 minutes and 12% chance of burning.
Level 3 you must sell 20 cakes, 25 batches of scones, 30 batches of donuts, 35 batches of brownies, and 40 batches of cookies in 3 minutes and 15% chance of burning. You will get overflow but you need to sell them but they won’t count extra toward your total goal for the level.
A level can be repeated as long as you have lives remaining or else it is game over, but you can choose to restart from the beginning. It is also game over when time runs out and you have no lives left.
Screens except for game board/during gameplay:
Game Home screen:
Title/Pastry Shop
Start
Instructions
Instructions:
Page 1 or top of scrolling:
Pastry Shop
Your pastry shop is having a gigantic sale and a crowd of people want to buy your cookies, brownies, donuts, scones, and cakes. Batches of food comes out of 3-5 cooking stations next to one another designated for each food type and you must bring each batch to the front counter to be sold.
Page 2 or by scrolling:
Different foods will show up in their own cooking station, you must move your playing piece up, down, and sideways using your arrow keys to grab the batch of food one at a time by tapping the Up arrow key again, then move down and tap your Down arrow key again to drop the batch of food into the counter.
Page 3 or by scrolling:
Grab a certain amount of each different food to reach the level’s goal and try to finish all 3 levels. However, due to the rush, a batch of food can get ruined while at the cooking station sometimes. They will soon be removed after a period of time and your cooking station will be ready to be used again. Press “z” to pause/resume your game. Press “x” to quit your game.
Game screen when:
Pause:
The game is stopped right where it is at, press “z” again to resume.
Quit:
A message will pop up in front of what ends up being your paused game saying, Are you sure you want to quit? Yes No. Yes loops back to the Home screen and No resumes the game.
Game Over:
(If you lost the game, it will say why) Game Over. Play Again? Post Score?
Play Again loops to Home screen. Post Score leads to a screen where you type in your name and your score will go on a chart against other players, if you currently hold the highest score, it will say so. Then loop to Home screen.

