Skip to content

Latest commit

 

History

History

c++

C++ Examples

Building

To build the examples first you need to build the ViZDoom library, then you can run the following commands in this directory (examples/c++):

cmake . && make

Examples will be placed in <vizdoom_dir>/bin/examples.


The list of 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.

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

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

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).