Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting the Difficulty Level of the Game #57

Open
sahisnu opened this issue Aug 29, 2018 · 2 comments
Open

Setting the Difficulty Level of the Game #57

sahisnu opened this issue Aug 29, 2018 · 2 comments

Comments

@sahisnu
Copy link

sahisnu commented Aug 29, 2018

Hi,

Thanks for your nice code and documentation.

I saw the report from Kevin Chen where he experimented with three difficulty levels (easy, medium, hard) of the game. Can you please tell me which difficulty level the game is set in your code ? and How to change the difficulty level if I want to?

I guess, it's related to value of PIPEGAPSIZE in wrapped_flappy_bird.py.. currently it's set to 100. Is that hard mode? By Increasing or decreasing the PIPEGAPSIZE, can I change the difficulty level? If so, are there any specific value for those modes?

Thanks!

@DZ9
Copy link

DZ9 commented Nov 28, 2018

I have the same question. Does anybody have an idea of this?

@sahisnu
Copy link
Author

sahisnu commented Nov 28, 2018

set PIPEGAPSIZE... I think the default is- PIPEGAPSIZE = 100 as hard mode, 150 as medium and 200 as easy. However, you can set any value based on your preference...setting PIPEGAPSIZE < 100 would make it more harder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants