Paperspace / DinoRunTutorial

Accompanying code for Paperspace tutorial "Build an AI to play Dino Run"

Home Page:https://blog.paperspace.com/dino-run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding duck functionality

b-x-wu opened this issue · comments

Hi! I was looking through the code, and I realized that there's no way for the dino to duck during the game. There's a duck method for the DinoAgent class, but there's nothing in the Game class to support it.

I added in the functionality, and I was wondering if I could make a pull request.

Hi! I was looking through the code, and I realized that there's no way for the dino to duck during the game. There's a duck method for the DinoAgent class, but there's nothing in the Game class to support it.

I added in the functionality, and I was wondering if I could make a pull request.

How is the duck method implemented, please? I tried send_keys(Keys.DOWN) and keep_down(Keys.DOWN) without success.

It was intentionally removed to reduce the training time and complexity.