Skip to content

Build a bot to play the game #23

@douglascdev

Description

@douglascdev

Build a bot in a separate module that plays the game. It'll have to:

  • Get the location of the food and the snake
  • Find the best path to follow between those two points
  • Make the path it's currently following visible with lines
  • The path finding should prioritize not getting the snake stuck in a circle with it's own body around, not just the closest path
  • Change the snake's direction on each step to follow the determined path
  • Get the game to run faster when the bot is playing

This could also be made with an AI later on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions