Skip to content

Latest commit

 

History

History
28 lines (12 loc) · 1.01 KB

README.md

File metadata and controls

28 lines (12 loc) · 1.01 KB

AI play T rex game based on screenshot, using reinforcement learning.

the bar graph shows the Q value, which show how good it is for the two actions(jump and dont jump) in one particular state/situation. Q value is computed using convolutional neutral network with 4 consecutive screen shot as input. The model is trained by playing 1000 games on its own.

Youtube video for better explanation:

https://www.youtube.com/watch?v=WSUFRITj02A&t=98s&ab_channel=geinezhang

useful learning resources:

https://www.freecodecamp.org/news/an-introduction-to-deep-q-learning-lets-play-doom-54d02d8017d8/

https://www.groundai.com/project/reinforcement-learning-and-video-games/1#Ch3.S4

https://vdutor.github.io/blog/2018/05/07/TF-rex.html

reddit discussion

https://www.reddit.com/r/learnmachinelearning/comments/f238ey/ai_play_t_rex_game_based_on_screenshot_using/