-
Notifications
You must be signed in to change notification settings - Fork 16
Home
This project is an HTML5/Javascript implementation of the popular game Bomberman and utilizes WebRTC peer-to-peer communication features for real-time multiplayer-gaming without an intermediate server. It can be understood as a showcase for the possibilities of real-time communication via RTCDataChannels.
The upcoming HTML5 technology WebRTC allows real-time peer to peer communication from browser to browser. With this it is possible to transfer audio, video or all other kinds of data directly from one peer to another without intermediate servers. This has several advantages especially:
- low latency connections allow real-time communication
- no intermediate servers means no load on these servers (especially for audio/video streaming)
- no intermediate servers means regaining the control over your data
Possible applications include for example real-time video and text chat, file sharing and multiplayer gaming.
A presentation was given by me about this topic and is contained in the repository.
For further information you can visit:
Or buy the book about WebRTC from Johnston and Burnett.
The documentation of this project will discuss the general program structure and will furthermore focus on the implementation of the peer to peer communication with WebRTC. It will not go into details about canvas drawing or game logic because this is not the purpose of this project.
Further more I have to note that I am no expert in JavaScript and this was the first bigger project for me. So the code might not follow common JavaScript patterns although it is completely encapsulated in object prototypes.