LuxAI-Gamers / QLara

I'm here to play Lux and to destroy LucIA
0 stars 1 forks source link

Test Python game engine #50

Open alesolano opened 2 years ago

alesolano commented 2 years ago

Description

@chucheria shared this new game engine that claims to be 45x faster than the one we are using. That's a huge statement. Let's test it.

Requirements

Things you need in order to complete the issue.

Acceptance Criteria

Criteria that must be met in order to close the issue successfully.

alesolano commented 2 years ago

Lots of problems with the installation. I've left an open issue in the repo: https://github.com/glmcdona/LuxPythonEnvGym/issues/107

EDIT: SOLVED!

alesolano commented 2 years ago

OK, things are more complicated than I thought.

Their game.py is very different than the standard game.py. Our code breaks since, for example, _initialize(), _update() or players are not methods/attributes of the class Game.

@chucheria @DelgadoPanadero can you take a look at the difference between those two game.py files? Do you see a way that we can easily use their engine without changing too much of our code? Is it worth it?