Hey guys,
Recently, I made a bot which can play the game “Snake”, with only visual inputs.
this game: -->> http://www.speeleiland.nl/snake.htm
But the problem is, sometimes it’s kind of laggy .
The visual input, a sort of stream of printscreens of a certain part of my screen (the game) is too heavy.
I was wondering if there is a way to get the location of the head of the snake during the game, leaked out of the webbased game. So I can write a bot with that live information, which is constantly up-to-date.
I probably would write the code in Python, so can I extract that information (location of head of snake) out of the flash player and use it in Python code ?