ukoethe / bomberman_rl

24 stars 66 forks source link

Replace relative paths with absolute ones #27

Open OoJJBoO opened 1 year ago

OoJJBoO commented 1 year ago

Currently, the game uses relative paths to locate agent images and store logging data.

This results in two issues when launching the game from outside its root directory:

  1. Custom agent images are not loaded correctly.
  2. A new agent_code directory is created in the working directory for logging.

While these are, of course, only minor inconveniences, I would suggest to replace the use of relative paths with absolute ones instead, which would prevent the aforementioned behavior.