Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add flag to randomise spawn #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Mar 24, 2023

  1. add flag to randomise spawn

    - by default randomisation is turned on, to ensure consistency with prior
      versions
    - without randomisation, agents are spawned in corners of maps and food
      are spawned in the center
    - if spawn points are already occupied then increasing degrees of
      randomisation are added to ensure that items can still be spawned
    LukasSchaefer committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    0a07c05 View commit details
    Browse the repository at this point in the history
  2. ensure player and food spawns are valid

    - player spawns within the map
    - food spawns within the map, excluding first and low row or column
    LukasSchaefer committed Mar 24, 2023
    Configuration menu
    Copy the full SHA
    22df79e View commit details
    Browse the repository at this point in the history