Summary of Arduino Flash game streamer
This project uses an Arduino with an Ethernet shield to serve a simple web page hosting a Flash game. By modifying the Ethernet server example code, it streams the Flash game "Dirtbike 2" directly from an online source onto the webpage served by the Arduino. Users can access the game through a browser connected to the Arduino's IP address, effectively turning the Arduino into a minimalist web server for Flash games.
Parts used in the Arduino Flash game streamer:
- Arduino
- Ethernet shield
- Arduino software (IDE)
- Ethernet cable
- Web browser
- Internet connection
its a simple project that uses the a ethernet shield server to give a advanst web page with flash games on it.
Step 2: The code:::
you can download this code at the end:
load up the ethernet server example and delete the code for uploading the analog inputs.
then enter this:
client.println("<h1>Arduino streamer</h1>"); client.println("<title>Arduino streaming</title>"); client.println("<object width='550' height='400'>"); client.println("<param name='movie' value='http://www.freeonlinegames.com/exgames/dirtbike2/dirtbike2794724478.swf'>"); client.println("<embed src='https://www.freeonlinegames.com/exgames/dirtbike2/dirtbike2794724478.swf' width='1000' height='750'>"); client.println("</embed>"); client.println("</object>"); // output the value of each analog input pin client.println("<body bgcolor='Teal'>"); client.println(""); client.println("made by cody chambers"); client.println("http://arduino.cc");
this will load the dirtbike 2 game as a examp
Thing you will need
well you will need the interwebs,
ethernet shield,
arduino,
arduino software,
webbrowser,
ethernet cable
For more detail: Arduino Flash game streamer