/DinoController

Use your body to control the dinosaur!

Primary LanguagePythonMIT LicenseMIT


logo

DinoController

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Acknowledgments

About The Project

demo1
This is a simple controller for the Dino game. You can use the mouth to control the game or jump to control the game.

(back to top)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Installation

  1. Clone the repo
    git clone https://github.com/qqizhao/DinoController
  2. Install python packages
    pip install -r requirements.txt

(back to top)

Usage

  1. Start the game
cd Dino-game  
python Game.py
  1. Open a new terminal and start the controller
# if you want to use the mouth to control the game
python mouthCon.py  
# if you want to jump to control the game
python jumpCon.py
  • Note: Click the game window before starting the controller.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b your-branch-name)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin your-branch-name)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Acknowledgments

(back to top)