UQcsse3200 / 2024-studio-3

MIT License
6 stars 0 forks source link

Implement Win/Lose Checking Logic #206

Closed madeleinecoombs closed 5 days ago

madeleinecoombs commented 1 week ago

Description

Task: [Implement Win/Lose Checking Logic]. Feature: Win Lose Checking

This task involves creating the core logic for checking if the player has won or lost the game. The CheckWinLoseComponent will define the logic based off variables such as totalMoneyMade, storeRating, and mealQuality. These values will be evaluated at the end of each day to determine if the player has won by achieving the target goal, or lost due to a poor store rating or insufficient money. The game state (win/lose) will be updated accordingly.

Example (optional)

Dependencies

Milestones

Completion Deadline: Sept. 11

Documentation

Member