Skip to content

How to get started with your diet with code, fun, and PANDAS!

Notifications You must be signed in to change notification settings

Sarish002/DietPlan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.