glmcdona / LuxPythonEnvGym

Matching python environment code for Lux AI 2021 Kaggle competition, and a gym interface for RL models.
MIT License
73 stars 38 forks source link

Update README.md #90

Closed glmcdona closed 2 years ago

glmcdona commented 2 years ago

@nosound2 finished validation of this engine versus the original luxai2020 engine, so marking as complete. Add a couple minimal examples of different ways to use this game engine.

nosound2 commented 2 years ago

Hi, are you adding all this code to the readme? Almost looks like an accidental copy paste))

glmcdona commented 2 years ago

Hi, are you adding all this code to the readme? Almost looks like an accidental copy paste))

This is a pretty big example to put right in the readme, but I thought it helps people understand quite a bit and illustrates a few different ways to interface with the environment. Let me just do one quick thing to simplify our examples.

glmcdona commented 2 years ago

@nosound2. Refactored the replay agent design, added a base class for ML agents to simplify examples to not include the complicated process_turn() that shouldn't normally be modified.