473,287 Members | 1,947 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

How to get input from a flash player game to make a bot ? (No visual input)

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 ?
Mar 17 '16 #1
0 4844

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: b83503104 | last post by:
Hi, I want to accept the user's answer yes or no. If I do this: answer = input('y or n?') and type y on the keyboard, python complains Traceback (most recent call last):
15
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
3
by: Erdem ALKILIÇGiL | last post by:
hello Does anybody know how to embed a flash player in to a c# project? regards..
7
by: Sharon Tal | last post by:
Hi to all. I'm developing a web multi player game. The game will run on the server, and the clients will just show it. All the clients will have few events, by which they can change the game...
6
by: Brian Basquille | last post by:
Hello all. Due to the short time remaining to my project handup for my Air Hockey game, i've abandoned the idea of implementing it over a network. But since the only real way to play Air...
6
by: ATS | last post by:
HOWTO Make Visual Studio 2003 build .NET 2.0 apps Please help, Can Visual Studio 2003 build .NET 2.0 apps? And if so how? As a test to ensure that it can be done, I want to be able to...
8
by: Jay | last post by:
Hey There, I have been writing some code in C++ that gets a message from a Macromedia Flash Player to launch an application that is associated with a flash button. When the button is pressed, it...
1
by: redet | last post by:
A demo created by a person who has since left, runs fine on a local (Windows XP) system within flash player 8, but when we try to access it through the html version (index.html) on a local system or...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.