DinoRunTutorial icon indicating copy to clipboard operation
DinoRunTutorial copied to clipboard

Adding duck functionality

Open b-x-wu opened this issue 4 years ago • 2 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.

b-x-wu avatar Jan 19 '21 04:01 b-x-wu

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.

mofengboy avatar Jun 03 '21 10:06 mofengboy

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

ravi72munde avatar Oct 12 '21 02:10 ravi72munde