rubenvereecken / py-vgdl

VGDL 2.0: A video game description language for AI research

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need better documentation

swarupmohalik opened this issue · comments

Need some good documentation for usage. In particular, how to add the details of a game (description, level etc) in init.py?

I agree, it could do with more documentation for different use cases. The best way would be a comprehensive small example of a RL agent.

I can get you started quickly however. If you check out play_vgdl.py, it takes a levelfile and domainfile. Ignoring all the rest of the parameters for now, it registers these with the VGDL registry, after which the environment can be accessed from anywhere through the registry.

If I remember correctly, this basically sets up the VGDL interface, so you access VGDL through its own interface instead of Pybrain or Gym, which are other interfaces VGDL exposes if that's what you prefer.