Top    a_cat_mouse

title REXX for CICS Transaction Server 1.1, User Guide and Reference, Chapter 10, Happy Hour
year 2024
publishers IBM Documentation Help
taken from https://www.ibm.com/docs/en/cics-ts/6.x?topic=techniques-happy-hour
terms of use © Copyright IBM Corporation 1974, 2024

1This is the mouse.
2These are the cat's paws.
3This is the mousehole.
4This is a wall.
5You are the mouse.
6You win if you reach the mousehole.
7You can not go past the cat.
8Wait for him to jump over you.
9If you bump into him you're caught!
10The cat always jumps towards you, but he's not very good at judging distances.
11If either player hits the wall he misses a turn.
12Enter a number between 0 and 2 to say how far to the right you want to run.
13Be careful,
14if you enter a number greater than 2 then the mouse will freeze and the cat will move!