CS297 Proposal

Javascript Game Engine for Mobile using HTML5

Nakul Natu (nakul.natu@gmail.com)

Advisor: Dr. Chris Pollett

Description:

The goal of this project is to develop a mobile Javascript game engine which uses HTML5. We will be able to create platform independent mobile games using this engine. To achieve game persistence, HTML5 local storage will be used. The created games will be stored on the desktop of the device in the form of a data url, and this can be clicked just like a native app. When the user launches the data url, the game will open in a browser but the user will feel he is in a native app. The data url contains the complete game. HTML5 has many restrictions on use of local storage, connecting it to the data url will be a really challenging aspect of this project. I will also provide test games created using the engine to support my project.

Schedule:

Week 1-2: 08/24/2011 - 09/06/2011Discuss the project in detail with the advisor.
Week 3: 09/07/2011 - 09/13/2011Read [LMAS1998] and search about data url's
Week 4 - 5: 09/14/2011 - 09/27/2011Deliverable 1: Create a data url for game "Pong" and store the high scores
Week 6: 09/28/2011 - 10/04/2011Read [JORG2011] and study existing javascript game engine
Week 7: 10/05/2011 - 10/18/2011Deliverable 2: Run test game created using "Crafty" a javascript game engine on device
Week 8 - 9: 10/19/2011 - 10/25/2011Read [MARK2009] and learn basics of HTML5
Week 10: 10/26/2011 - 11/01/2011Deliverable 3: Develop HTML5 application using Local Storage
Week 11: 11/02/2011 - 11/08/2011Read [RICK2010] and implement portable test app on device
Week 12: 11/09/2011 - 11/15/2011Study about connecting data url and html5 local storage
Week 13 - 14: 11/16/2011 - 11/29/2011Deliverable 4: Create an application which will connect data URL to HTML5 Local Storage
Week 15: 11/30/2011 - 12/13/2011Deliverable 5: Final CS297 Report

Deliverables:

The full project will be done when CS298 is completed. The following will be done by the end of CS297:

1. Create a data url for game "Pong" and store the high scores

2. Run test game created using "Crafty" a javascript game engine on device

3. Develop HTML5 application using Local Storage

4. Create an application which will connect data URL to HTML5 Local Storage

5. CS297 Report.

References:

[MARK2009] Dive Into HTML5. Mark Pilgrim. http://diveintohtml5.org/. 2009.

[RICK2010] Developing portable mobile web applications. Rick Rogers. Linux Journal Volume 2010 Issue 197. 2010.

[JORG2011] Collaborative framework for browser games development. In proceedings of the 2011 Workshop on Open Source and Design of Communication. 2011

[LMAS1998] RFC2397 : The "data" URL scheme. L. Masinter. IETF. August 1998