When two rabbits collide, they both die. | Two characters of the SAME type collide. |
When a fox collides with a rabbit, the rabbit dies. | Two characters of DIFFERENT types collide. |
When a rabbit and a carrot collide, the rabbit eats the carrot. When a rabbit touches a carrot, the carrot is eaten by the rabbit. |
These sentences describe a rabbit eating a carrot through collision. |
When a rabbit touches a ball, the rabbit kicks the ball. | These sentences describe a rabbit pushing/kicking the ball through collision. |
If no sentence describes the collision between two particular characters, then nothing will happen upon their collision. For example, in a text containing rabbits, foxes, and carrots. If no sentence describes the collision between a fox and a carrot, then nothing will happen when these two objects collide.
There are twenty carrots scattered in the playing area.
There is one rabbit.
The player controls the rabbit with the mouse.
There are two foxes.
The foxes start out moving in a random direction.
When a fox reaches a border, it reverses direction.
When a rabbit collides with a carrot, the rabbit eats the carrot.
Question: How would you make the rabbit die when it collides with a fox?
When you write your game plan, some parts of the text also need to be described in a procedural manner, in which you lay out the steps logically and coherently. For example, you must put on your socks before you put on your shoes. Similarly, in computer programming, some code needs to be organized into a certain order for the program to run correctly. Thus, writing more game plans can help you become a more logical thinker as well!