Friday, October 20, 2017

Cat and Mouse - Bordelois and Langenheim



For this Deadline we had to do certain activities. We use a program called Scratch that allows you to program interactive stories, games and animations. Also Google drive, Google classroom and more. We had 20 days to finish it. In this post we are going to talk about a special activity, called the game of the mouse and the cat. More specifically we are going to talk about our difficulties, how we solved them, our achievements and what we learned by programming this game. We are going to put also some images of the programming. With programming I mean the blocks that we use, the backgrounds and the characters.


  First we will show you a WordCloud that summarizes all the information that will be in this post.

Made with WordClouds.com


In this game there are three sprites, the mouse, the piece of cheese and the cat. 

 






The goal of the mouse is to reach a cheese that is in a corner of the labyrinth, but without the cat catches it, in that case the mouse would lose. The mouse must be controlled with the mouse pointer and when touching a wall bounce. The cat must be able to move around the track so that when it hits a wall, rotate 90, 180 or 270 degrees at random.





We have three different backgrounds. We made a background of a labyrinth, as requested by the requirements. The maze is of a white background with internal blue walls, and exterior green and red walls.We made a "Win" background that appears when the mouse eats the cheese. We even made a "Loser" background that is used when the mouse is trapped by the cat.




One of our problems during this time was that when we wanted the mouse to follow the mouse pointer, it did not work. We tested it in many ways and it still did not work, until we remember to put the control block "forever". It was a mistake that made us learn because since then we remember how important that block is.




Langenheim and Bordelois 2C



























No comments:

Post a Comment