Catch by Coordinate – Scratch Game Assignment

The following task was discussed in class today:

Task : Create a game where a sprite moves around a few times to a random position and asks the player (user) to guess his x and y coordinates. If both the x and y coordinates entered by the player are within 10 units of the sprites location, say a message which indicates success, otherwise, say that the player missed and tell the player to try again.

A sample of blocks below shows how to move the sprite around:

© 2021  Vedesh Kungebeharry. All rights reserved. 

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s