
Science Hangman
Python-based Project.
This is a python-based hangman game using python turtle where you answer science questions, saving yourself from getting hanged. The purpose of this game is to be a fun science revision tool while having a fun experience.
Introduction
In this game, you have to answer science questions to prevent yourself from getting hanged. There are 3 gamemodes, easy, medium, and hard. You have to answer all questions without dying to survive. I wanted to create this as I was interested in science, and this would be a fun science revision tool to remember science concepts while having a fun experience Remember to share with your friends to allow them to have a fun revision time!
Code Highlights
I used many functions to draw out everything, like drawHang(), drawHead(), drawBody() and more. I used seperate functions to put everything neatly and to trigger them in order when needed.
I also created many PSLE questions to put into the hangman game.
​
There is a special easter egg in my code, granting you the rights to get every question correct. Initially, it was a way for me to test the code but decided to leave it in the code as an easter egg.
Reflections

In this project, I created a Hangman-style quiz game using Python’s turtle and random modules. I learned how to control drawing with turtle to animate a stick figure as the player answers questions. I also practiced using functions, conditionals, and loops to handle quiz logic and user input, including multiple-choice and multi-select questions. This helped me better understand how to combine graphics with game logic.