Skip to content

puhk/puhk

Repository files navigation

Puhk

Puhk is a 2D football/hockey hybrid multiplayer game.

screenshot

Packages

This repo is a monorepo containing the individual components of puhk:

  • puhk-core - The core physics, networking and rendering logic
  • puhk-ui - A react-based client UI

Development

yarn install
yarn start

In another tab spawn the peerjs server

yarn peerjs --port 9000

Open http://localhost:8080

In the console use the following commands to start a game

hostGame('name', 'avatar'); // create a new game
joinGame(hostId, 'name', 'avatar'); // join an existing game (host id can be retrieved with controller.network.peer._id in console)

About

2D football/hockey hybrid multiplayer game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published