Skip to content

This is the code for the "How to Install OpenAI's Universe and Make a Game Bot" live session by Siraj Raval on Youtube

Notifications You must be signed in to change notification settings

llSourcell/OpenAI_Game_Bot_Live_stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

OpenAI_Game_Bot_Live_stream

##Overview

This is the code for the "How to Install OpenAI's Universe and Make a Game Bot" live session by Siraj Raval on Youtube. The bot is for the Coaster Racer flash game and determines the answer to 2 questions -- should I turn, and which way should I turn? It answers the first by checking if it's been receiving a reward for a certain interval (no crashes), and if it has it will turn. It answers the second by randomly picking a turn between left and right. This bot is able to complete the race. So it's a bot that uses reinforcement learning to determine when to turn and each turn is a random direction.

##Dependencies

  • Universe- install instructions here
  • random (pip install random)

##Usage

Run python demo.py in terminal to run this code

##Credits

Credits go to Mick. I've merely created a wrapper to get people started.

About

This is the code for the "How to Install OpenAI's Universe and Make a Game Bot" live session by Siraj Raval on Youtube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages