Codecademy Python terminal game - Epsilon the cat

Motivation I got to look after a cat named Epsilon for close to 10 months while her owner went for study exchange. After returning her to the owner, I kinda miss her. I miss that whenever I said her name “Epsilon”, she knew it’s food time and ran from where-ever she’s sleeping to the kitchen. While following Codecademy Computer Science curriculum, I am to create personal project in Python terminal program. I take this chance to create a little game dedicated to Epsilon. Users’ stories User know that the game starts, by seeing a board, a narration, a game control instruction Player can move Epsilon to a direction when user hits a keystroke the direction keystrokes are w, a, s, d or arrow keys, because it’s intuitive for everyone playing games When player moves Epsilon to Food, player wins the game Player can quit the game early by press the ‘q’ keyboard When player types any others keys apart from the our game’ controller allowed key, player sees a note. Player also sees that Epsilon stay at the same spot on the board The game You can give the game a whirl by cloning this GitHub repo. Development notes Character encoding I chose to use

Apr 5, 2025 - 18:39
 0
Codecademy Python terminal game - Epsilon the cat

Motivation

I got to look after a cat named Epsilon for close to 10 months while her owner went for study exchange.

After returning her to the owner, I kinda miss her.

I miss that whenever I said her name “Epsilon”, she knew it’s food time and ran from where-ever she’s sleeping to the kitchen.

While following Codecademy Computer Science curriculum, I am to create personal project in Python terminal program. I take this chance to create a little game dedicated to Epsilon.

game screenshot

Users’ stories

  • User know that the game starts, by seeing a board, a narration, a game control instruction
  • Player can move Epsilon to a direction when user hits a keystroke
    • the direction keystrokes are w, a, s, d or arrow keys, because it’s intuitive for everyone playing games
  • When player moves Epsilon to Food, player wins the game
  • Player can quit the game early by press the ‘q’ keyboard
  • When player types any others keys apart from the our game’ controller allowed key, player sees a note. Player also sees that Epsilon stay at the same spot on the board

The game

You can give the game a whirl by cloning this GitHub repo.

Program flow diagram

Development notes

Character encoding

I chose to use