The Laundry Catch Game is a fun, interactive game where players catch falling laundry items (like shirts and socks) in a basket. The goal is to catch as many items as possible before running out of lives. The game tracks the score and lives, and users earn loyalty points based on their performance.
- catch_game.php: The main game file that displays the game interface, handles falling items, and tracks the score and lives.
- log_game_play.php: Logs the player's game activity (score and lives left) into the database for tracking.
- award_points.php: Awards loyalty points based on the player's score, which are added to their account.
- Players use the arrow keys or mouse to move the basket left and right to catch falling laundry items.
- For each item caught, the score increases.
- The game tracks the number of lives. If the player misses an item, they lose a life.
- When all lives are lost, the game ends.
- The score and number of lives are logged in the database, and loyalty points are awarded based on performance.