collinsleewyatt / videopong

A game inspired by VIDEOBALL using WebSockets, JavaScript Canvas, and rollback netcode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VideoPong Honors Project
Collins Wyatt, Fall 2021.

This is a two-player game of pong using WebAssembly.

src/ contains all of the source for the browser implementation.
src/GameManagement - a bunch of general classes, some abstract, that are used for rolling back and input collection.
src/PongGame - specific to the pong game itself (note: protocol.ts is unused)
src/index.ts - the main js file, which calls src/PongGame/PongGame.ts - the main file for the pong game

first time: run npm install.

npx webpack build - build the code and it will send it into dist/.
npm run dev - development server.
node host.js to run on port 8080.

About

A game inspired by VIDEOBALL using WebSockets, JavaScript Canvas, and rollback netcode

License:GNU General Public License v3.0


Languages

Language:TypeScript 81.3%Language:JavaScript 13.6%Language:Dockerfile 4.3%Language:HTML 0.4%Language:Shell 0.3%Language:CSS 0.1%