gitmyhub

zbounce

HTML ★ 0 updated 19d ago

A simple 3D tunnel pong/curve ball game using Three.js and WebRTC for 2 player

ZBounce is a simple two-player 3D tunnel pong game built with Three.js and WebRTC, playable directly in a web browser.

JavaScriptThree.jsWebRTCPHPSQLsetup: moderatecomplexity 2/5

ZBounce is a simple 3D tunnel pong style game built with Three.js, a JavaScript library for creating 3D graphics in a web browser. The game is described as a tunnel pong or curve ball game meant for two players, played through a browser rather than installed as a separate app.

Two player connectivity is handled with WebRTC, a technology that lets two browsers talk to each other directly in real time without routing all the gameplay data through a central server. A small PHP file called signal.php helps the two players find and connect to each other, a step commonly called signaling in WebRTC based applications.

The project is built from just a few files. An index.html file contains the main gameplay code and is the file you would open to play the game. A schema.sql file sets up a database, though the README does not explain what data the database stores or how it is used within the game.

The README for this project is quite sparse. It does not describe how to install or run the project locally, what dependencies are needed beyond Three.js and WebRTC, or what license, if any, applies to the code. It links to a live version of the game at zbounce.app, a social media account for the developer, and the developer's personal site, but offers no setup instructions, screenshots, or further documentation beyond the short description at the top of the file.

Where it fits