Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (June 2021)

Cat and Mouse is a type of game that involves constant pursuit and near captures, and is based on how a cat hunts a mouse in real life. The cat will constantly chase the user's mouse pointer until it has been caught or the game has been stopped.

The most used variants of cats are the Scratch Cat and the Cat 2 sprite.[citation needed] The repeat until block can be used to continue moving until the mouse pointer is reached:

when green flag clicked
go to x: (0) y: (0)
repeat until <touching (mouse-pointer v)?>
point towards (mouse-pointer v)
move (2) steps
end

Additions

A common method of score tracking is by the amount of time has transpired. This can done using the timer:

when green flag clicked
set [score v] to (0)
reset timer
repeat until <touching (mouse pointer v)?>
set [score v] to (timer)
end

Variations

Common variations of the Cat and Mouse game are:[citation needed]

  • Adding high scores using cloud data
  • Adding achievements, such as coins or other virtual currencies which can be used to purchase other items in it
  • Adding sound effects for certain events such as scoring and loss
  • Adding obstacles that the cat must maneuver around