Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danilop/justagame
A (very) simple game to showcase the power of HTML5 + WebSockets and the use of Amazon Web Services (AWS) APIs within an application
https://github.com/danilop/justagame
Last synced: 24 days ago
JSON representation
A (very) simple game to showcase the power of HTML5 + WebSockets and the use of Amazon Web Services (AWS) APIs within an application
- Host: GitHub
- URL: https://github.com/danilop/justagame
- Owner: danilop
- License: mit
- Created: 2013-07-18T10:20:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-26T21:08:27.000Z (almost 11 years ago)
- Last Synced: 2024-10-29T18:32:54.487Z (2 months ago)
- Language: JavaScript
- Homepage: http://danilop.github.io/JustAGame
- Size: 4.9 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### JustAGame
A (very) simple game to showcase the power of [HTML5](http://en.wikipedia.org/wiki/HTML5) + [WebSockets](http://en.wikipedia.org/wiki/WebSocket)
and the use of [Amazon Web Services (AWS)](http://aws.amazon.com) [APIs](http://aws.amazon.com/code) within an application.It is based on the [mozilla-festival](https://github.com/robhawkes/mozilla-festival) repository by [Rob Hawkes](http://rawkes.com) ([@robhawkes](https://twitter.com/robhawkes)).
The server side code is written in [Node.js](http://nodejs.org) with [Socket.IO](http://socket.io).
I used the [AWS SDK for Node.js](http://aws.amazon.com/sdkfornodejs/)
to log client connections/disconnections in an [Amazon Simple Queue Service (SQS)](http://aws.amazon.com/sqs/) queue.The game is using WebSockets for bidirectional communication between clients (i.e. browsers) and server.
I used [Redis](http://redis.io) (managed by [ElastiCache](http://aws.amazon.com/elasticache)) for session data.You can use the accelerometer of a (mobile) device to move.
You can check if your device supports “DeviceOrientation” events [here](http://caniuse.com/deviceorientation).This is a work-in-progress as I'm going to add other sample features in the (near?) future.
The latest version is currently deployed here (I used [AWS Elastic Beanstalk](http://aws.amazon.com/elasticbeanstalk/)):
http://justagame.elasticbeanstalk.com
Any feedback is welcome! :)
### License
Copyright (c) 2013 Danilo Poccia, http://blog.danilopoccia.net
This code is licensed under the The MIT License (MIT). Please see the LICENSE file that accompanies this project for the terms of use.