473,378 Members | 1,142 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,378 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 4895

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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.