Skip to content

amarzamani22/Laundry-Catch-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laundry Catch Game

Overview

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.

Key Files:

  • 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.

How it Works:

  1. Players use the arrow keys or mouse to move the basket left and right to catch falling laundry items.
  2. For each item caught, the score increases.
  3. The game tracks the number of lives. If the player misses an item, they lose a life.
  4. When all lives are lost, the game ends.
  5. The score and number of lives are logged in the database, and loyalty points are awarded based on performance.

About

The Laundry Catch Game lets players catch falling laundry items in a basket to score points.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages