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

Added 3 Pygames #76

Closed anvithayerneni closed 11 months ago

anvithayerneni commented 11 months ago

It is a pygame using Hooman Library. How to Play: PONG GAME: The player controls the right paddle using the up and down arrow keys. The left paddle (opponent) moves automatically. The ball moves across the screen, bouncing off the top and bottom edges and the paddles. A point is scored when the ball passes one of the paddles. The score is displayed at the top of the screen.

ASTEROID DODGER: Use the left and right arrow keys to move the spaceship. Avoid the falling asteroids. If asteroid falls on spaceship game over. Try to survive as long as possible to increase your score.

OCEAN CLEANER: When the game starts, your submarine is located in the middle of the screen. Trash items will randomly appear and stay in place, waiting for you to collect them. Hazards will appear at the top and move downwards; avoid them to stay in the game. The game will keep track of your score, and it will increase by 10 points for each piece of trash collected. As your score increases, the game can level up, making it more challenging by spawning trash and hazards more frequently. If you hit a hazard, the game ends immediately, and the window closes.