yenchenlin / DeepLearningFlappyBird

Flappy Bird hack using Deep Reinforcement Learning (Deep Q-learning).
MIT License
6.65k stars 2.04k forks source link

Make it runnable with python3 #5

Closed chengchingwen closed 8 years ago

chengchingwen commented 8 years ago

yeah, I agree, It automatically modify the file and I accidentally commit it, I'll try to fix it

chengchingwen commented 8 years ago

I fix it

yenchenlin commented 8 years ago

Hello @chengchingwen , it works well for me.

However, it will add additional bracket "(" and ")" in print's output when I run it in Python 2.7, anyway you think can address it?

chengchingwen commented 8 years ago

I import print function from module future

yenchenlin commented 8 years ago

Cool! Let's merge this. Thanks a lot :smile:

yenchenlin commented 8 years ago

Hello @chengchingwen , just a reminder.

Since all these three commits are actually doing one thing - make it runnable with python3, it will be more clear if you can squash them into one commit and it will be more clear when we review commit log in the future.

Still great thanks for your help :smile: