Skip to content

iitbmartian/git_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

##HELLO! #GOO GAA

Robotic Dog Game

THI

#THIS IS GOING TO CREATE A MERGE REQUEST

File Structure

project/
├── robotic_dog.py   
└── game.py          

Steps to Implement

  1. In robotic_dog.py:

    • Create a class RoboticDog.

    • Implement functions for:

      • Initializing dog attributes (name, etc.).
      • Moving legs realistically (front/back leg motion).
      • Fetching a stick.
      • Updating dog state (battery, position, etc.).
  2. In game.py:

    • Import the RoboticDog class:

      from robotic_dog import RoboticDog
    • Create a RoboticDog instance.

    • Integrate it with the provided game engine.

    • Use the dog’s functions (movement, fetch, etc.) in gameplay.

  3. Install Dependencies:

    pip install pygame

    (The random module is included by default in Python.)

  4. Run the Game:

    python3 game.py

About

git_test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages