Skip to content

A simple command line game of rabbit's simple life.

License

Notifications You must be signed in to change notification settings

adhadse/RabbitGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RabbitGame

A simple command line game of rabbit's simple life.

Story

Help rabbit find his carrot and store it in the rabbit hole.

RabbitGame

Install

git clone https://github.com/adhadse/RabbitGame.git
cd RabbitGame
python -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt

Gameplay

  • use a to move left and d to move right.
  • pick carrot (c) using p (rabbit changes from r to R) and drop it in rabbit hole (O).
  • Jump over rabbit hole using j.
  • Press esc key anytime to escape the game
py main.py

Testing

Test passes.

pytest --no-header -v

Screenshot from 2022-07-20 20-49-19

About

A simple command line game of rabbit's simple life.

Topics

Resources

License

Stars

Watchers

Forks

Languages