Gathering Hazard is a Two-player game.

Periodically on the map, diamonds are generated. Players must collect 5 diamonds of different colors to score a point. 

*The first player to score three points wins the match. 

*To assist in this task, three types of weapons are also generated during the game:

1. Pistol: Rapid shots, 5 ammunition, the hit player is incapacitated for a while.

2. Bazooka: Slow shot, 3 ammunition, upon colliding with any object, it creates an area explosion, hit player is incapacitated for a while.

3. Sword: melee weapon, unlimited ammunition, player gains a movement speed bonus, generates an area attack around the player.

*The player carrying diamonds who is hit by any of these weapons has a random diamond taken from their inventory and thrown to the ground. 

*Hit players gain invincibility for a while. 

*In each round, the scenario changes randomly. 

*Players can only carry one weapon at a time. 

*Diamonds thrown outside the scenario boundaries are respawned somewhere randomly within the scenario.

Commands:

Player 1 -> Up, Left, Down, Right, K

Player 2 -> W, A, S, D, R