Abdur-rahmaanJ / hooman

~ pygame for humans (pip install hooman) (p5js api) (63k+ downloads)
https://abdur-rahmaanj.github.io/hooman/gallery
MIT License
48 stars 45 forks source link

Created Pipe_Jumper.py #92

Closed VinayReddy-vr closed 11 months ago

VinayReddy-vr commented 11 months ago

The code implements a simple game using the Pygame library and the Hooman library. In this game, the player controls a blue square that can jump to avoid green pipes moving from right to left. The goal is to survive as long as possible, accumulating points by successfully passing through the gaps between the pipes. If the player collides with a pipe, the game ends.

--> Use the Spacebar to make the player jump. Hold the spacebar for a longer jump. -->Players earn points for each successfully passed pipe. -->Green pipes move from right to left across the screen. -->The game ends if the player collides with a pipe.