Advertisement

Latest snakegame Activity

I am  interested in creating a game bot and was hoping to find someone who could offer some assistance

If I understand this correctly, you want an algorithm that will guide the fruit to a moving pot? And you can't move diagonally?

some code you could use in an UpdateFruit() routine:

  • Calculate the current distance of the the fruit's X and Y coordinates from the pot's X and Y coordinates. 
  • Pot_Dist…
    5,329 views
    Advertisement
    Advertisement
    Advertisement