Skip to content

Latest commit

 

History

History
 
 

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

For the examples to work properly you need to install ViZDoom system-wide with pip or create a link to dir with ViZDoom pip_package or set doom_game_path and vizdoom_path manually or in config files.

Troubleshooting

  • SystemError: dynamic module not initialized properly may mean that you are trying the run an example using python3 instead of python2.

Examples

Demonstrates how to use the most basic features of the environment. It configures the engine, and makes the agent perform random actions. It also prints the current state and the reward earned with every action.

Demonstrates how to configure and play multiplayer game for CIG competition.

Demonstrates how to play with bots to simulate multiplayer game. Helpful for developing AI agent for CIG competition.

Demonstrates how to configure and play singleplayer game for CIG competition.

Shows how delta buttons work (they may take values other than 0 and 1 and can be used for precise movement).

Presents different formats of the screen buffer. OpenCV is used to display the images.

Tests the performance of the environment in frames per second. It should give you some idea how fast the framework works on your hardware.

Contains an example of how to implement basic Q-learning on the interface within PyTorch

Contains an example of how to implement basic Q-learning on the interface within Theano

Contains an example of how to implement basic Q-learning on the interface within Tensorflow

Contains an example of how to create a "server" and have multiple agents playing on the server at once. Combine with bots.py and learning_x.py to train agents against some AI

oblige.py (level generator)

Contains an example of how to combine PyOblige with ViZDoom.

Presents different scenarios that come with ViZDoom environment.

Shows how to run deterministic episodes by setting the seed. After setting the seed every episode will look the same (if the agent behaves deterministically).

Demonstrates how to make use of the game variables to implement shaping using health_guided.wad scenario.

Shows how to use the SPECTATOR mode in which YOU play Doom and AI is the spectator (intended for apprenticeship learning).