Last active
January 21, 2020 00:10
-
-
Save piEsposito/42e1eb876012658a55152b89ca6c257d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Doom game assets: game env creation and frame resize functiom | |
#We are using the config and scenario paths from Thomas Simonini tutorial | |
#Those files are available on my GitHub repo from the post. | |
game = DoomGame() | |
game.load_config("health_gathering.cfg") | |
game.set_doom_scenario_path("health_gathering.wad") | |
game.set_seed(42) | |
game.init() | |
doom_actions = np.identity(3, dtype=int).tolist() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment