Quick start
Get started playing the Mouse and Cats game in just a few minutes. This guide assumes you’ve already installed CLIPS 6.4 and have theraton_y_gatos.clp file ready.
Launch the game
There are two ways to start playing:- Start with Instructions
- Start Directly
If this is your first time playing, view the in-game instructions:This will display a two-screen tutorial explaining the rules and gameplay.
Understanding the board
After starting the game, you’ll see an 8x8 chessboard rendered in ASCII art:Board legend
- Cat (
/\_/\) - Four cats start at row 8, columns 1, 3, 5, and 7 - Mouse (
(_)_(_)) - Starts at row 1, column 4 - Black square (
. . .) - Playable squares where pieces can move - White square (empty) - Non-playable squares
Making your first move
The mouse always moves first. You’ll be prompted to enter your move:The game validates your move automatically. You can only move to adjacent diagonal black squares that aren’t occupied by a cat.
Example game sequence
Here’s what a typical opening might look like:Movement rules
Mouse movement
The mouse can move diagonally in any of the four directions:- Up-left (row + 1, column - 1)
- Up-right (row + 1, column + 1)
- Down-left (row - 1, column - 1)
- Down-right (row - 1, column + 1)
- A black square (diagonal from current position)
- Not occupied by a cat
- Within board boundaries (rows 1-8, columns 1-8)
Cat movement
Cats can only move diagonally forward (toward row 1):- Forward-left (row - 1, column - 1)
- Forward-right (row - 1, column + 1)
Common errors
Casilla no disponible (Square not available)
Casilla no disponible (Square not available)
You tried to move to a square that’s occupied by a cat or is not a valid black square. Choose a different destination.
Movimiento no válido (Invalid move)
Movimiento no válido (Invalid move)
Your move doesn’t follow the diagonal movement rule or is outside board boundaries. Remember, the mouse can only move one square diagonally.
No hay movimientos disponibles (No moves available)
No hay movimientos disponibles (No moves available)
The mouse is trapped - game over! The cats win when you have no legal moves remaining.
Game tips
Head for the edges
Moving toward the sides of the board (columns 1 or 8) can give you more escape options
Avoid the center
The center of the board makes it easier for cats to surround you from multiple directions
Watch cat formations
The cats coordinate their movements - if you see them forming a line, try to break through before it closes
Plan two moves ahead
Think about where the cats will move in response to your action before committing
Next steps
Now that you’ve played your first game, explore more:- Learn about the game rules in detail
- Understand winning conditions
- Dive into the AI strategy that makes the cats unbeatable
- Explore the CLIPS code powering the expert system