How to build a comunication interface between a reinforcement learning and a videogame?
You might wanna check OPEN AI GYM The project has several environments for atari games, robotics and a lot of other useful resources on reinforcement learning.
I think this good place to start. If you need a bridge for some specific game, you need to google, for example there is repo for TorchCraft - A bridge between Torch and StarCraft.