Home     Contact     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
 Home      Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   

<< Back to INDEX

Playing Snake Game using Raspberry Pi Game Pad [Project]
posted November 13 2013 13:37.15 by spic0m

This article discusses about how to develop simple game pad hardware and interface it with the Raspberrypi board and also about the technique of interfacing a game code written in HTML5 with the game pad.
Here a Snake game written in HTML5 and JavaScript is modified in such a way that it can be played with the new game pad having four push buttons. In this project the techniques of signals, pipe, fork etc. are used get the game running.
The Snake game running on a browser window forms the GUI or front end of the entire system. In a Linux operating system each hardware device is represented as a file. The device can be controlled by simply reading and writing into that file. The hardware of an operating system is on the one side and the user trying to access the hardware is on the other side, and in between them there might be several layers of process running which communicates each other using inter process communication methods. In this project there is game pad which is the hardware and there is a process which reads from the game pad and there is also a Pipe file or FIFO in-between the game and the game pad reading process.

[Link: Engineers Garage]

You might also like...

Why Are Olympic Records Always Broken? [Science]

GOCE Satellite - Science Performed Before Its Destruction [Video]

What would you do if money did not matter [Video]

The 110 (plus) Years Old Lamp is Still Working!

Linux on an 8-bit micro? [Project]

Guitar Pickup Winder [Project]

Which Came First - The Rain or the Rainforest? [Knowledge]

This was the first time man ever reached space [Video]

<< Back to INDEX



  Email (shall not be published)


Notify me of new posts via email

Write your comments below:
BEFORE you post a comment:You are welcome to comment for corrections and suggestions on this page. But if you have questions please use the forum instead to post it. Thank you.


No comment yet...

Be the first to comment on this page!

 Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS   

Site design: Giorgos Lazaridis
© Copyright 2008
Please read the Terms of services and the Privacy policy