A simple command line game of rabbit's simple life.
Help rabbit find his carrot and store it in the rabbit hole.
git clone https://github.com/adhadse/RabbitGame.git
cd RabbitGame
python -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt
- use
a
to move left andd
to move right. - pick carrot (
c
) usingp
(rabbit changes fromr
toR
) and drop it in rabbit hole (O
). - Jump over rabbit hole using
j
. - Press
esc
key anytime to escape the game
py main.py
Test passes.
pytest --no-header -v