https://github.com/sarish002/dietplan
How to get started with your diet with code, fun, and PANDAS!
https://github.com/sarish002/dietplan
diet diet-plan healthy-eating intestine junk-food live nicegui panda panda-not-pandas points pygame pygame-game pygame-games python random randomizer time timer
Last synced: 3 months ago
JSON representation
How to get started with your diet with code, fun, and PANDAS!
- Host: GitHub
- URL: https://github.com/sarish002/dietplan
- Owner: Sarish002
- Created: 2024-07-20T05:29:56.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-20T05:38:23.000Z (11 months ago)
- Last Synced: 2025-02-06T18:50:39.858Z (4 months ago)
- Topics: diet, diet-plan, healthy-eating, intestine, junk-food, live, nicegui, panda, panda-not-pandas, points, pygame, pygame-game, pygame-games, python, random, randomizer, time, timer
- Language: Python
- Homepage:
- Size: 5.46 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DietPlan
How to get started with your diet with code, fun, and PANDAS!# How to SetUp?
To set up:
+ Install and import **pygame**
+ Import **random** and **time**
+ To do this, write this code:
+ `import random
import time`# How to Play?
To play:
* Use arrow keys to move your Panda.
* Eat Healthy, Not the other!
* When there are no lives left **OR** there isn't any time, the game shuts down.
* When a junk food is left, 2 points are earned.
* When a junk food is eaten, no points are earned
* When a healthy food is left, no points are earned
* When a healthy food is eaten, 4 points are earned.