Skip to content

onurrtosunn/Python-Exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Python-Exercises

https://www.linkedin.com/in/onurrtosunn

onurtosunn0@gmail.com

  • In hangman, the player tries to guess a word, phrase or sentence by suggesting letters in order. You can easily play hangman and enjoy.

    You will get 6 chances to guess a right word. Your chance will be decreamented whenever you guess wrong word.

    Make sure to put this both file in one directory.

ScreenShots

win last_chance lost

  • An open scene will appear where a carrot moves randomly at a certain angle and speed.

  • Control the rabbit using your mouse cursor. The cursor will represent the rabbit.

  • Your goal is to move the rabbit to catch the falling carrot by hovering the cursor over it.

  • If a carrot hits the edge of the screen, it will bounce off in a different direction.

  • When you catch a carrot, your score increases, and your total score is displayed in the corner of the screen.

  • A new carrot will spawn in a random location with a random speed and direction every time you catch one.

    Installation

  pip install opencv-python
  cd Rabbit-and-Carrot
  python3 rabbit_and_carrot.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages