Skip to content

relocateApple #20

Description

@LayneUhhhhh

The apple can spawn in the body of the snake. The snake body fully covers it until the last body segment moves off of it. This is an issue at towards the end of the game when the snake takes up most of the play area and is more likely to spawn in the body than not. I don't really know how this effects actual gameplay though because I'm using this code for a neural network to play snake.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions