Development stage : early state
A lightweight Teeworlds in the browser. Teeworlds was created by Magnus Auvinen and released under CC-BY-SA 3.0
This project does NOT intend to port the original game into JavaScript. The goal of this project is to recreate a lightweight version of Teeworlds into the browser. All graphical and audio resources comes from the original game.
Teeworlds JS is a Javascript project using the melonJS framework game and the PeerJS library for connections between players through WebRTC (P2P connections). These connections are initiated using the standard PeerJS peer-server being either the free developer server from (peerjs.com)[http://peerjs.com] or a server hosted on its own.
data -> game resources (sprites, audio, maps, ...)
src
├──js -> game js sources
└──web -> game web sources (css and html)
lib -> non-npm javascript library (melonJS)
grunt -> grunt tasks definitions
properties.json -> properties file used during packaging (for PeerJS API key)
npm install
grunt serve
grunt build
grunt sprite