Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
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 ?


What I have tried:

Nothing yet, can't find a similar topic anywhere..
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900