Built for NTU MA1008 Mini Project by Gabriel James Goenawan
- Formatting only supported in Windows & through commandline Interface (cmd).
- Debug Mode will always print the answer on top of the screen. (Useful for testing purposes)
- On weaker hardware, the game may struggle to run. (low frames per second on animations)
Clone the Repository using:
git clone https://github.com/gabrieljames01/WheelOfFortune-Python.git
cd WheelOfFortune-Python
App launched by runnning:
py app.py
No Additional Libraries needed.
FeatureTest Folder consists of first successful test code for most features included in this project.
- User-friendly GUI
- A wheel that actually charges, turns, decelerates and stops at the selected value.
- Natural turning animation. (the pointer can stop anywhere on the circle. not just the center)
- A dynamic scoreboard that adjusts its own size based on the numbers of player and their balance.
- Phrases are randomly selected & displayed properly in the GUI.
- Properly implemented player action function. So it's easy to add new features.
- Some input proofing. (Decided to took the first character if the input length is more than 1 character & skipped the person who gives empty input or " ")
- Working input timer with a graphical indicator. (with Threading)
- Proper ending screen.
- Player number can be customized. The default max player is 3, but you can change it by changing the maxplayer variable in line 3. However, each player needed a custom asset (pX.gif and endbgX.gif). I've only included the asset for player 1-5, so errors will occur if maxplayer is more than 5. This is just a proof of concept of the neat implementation of the player turn and action based system.
- When a player is choosing action, the default answer is spin (selected when the answer is empty or something else)