İçeriğe atla

Proje

Ping2Pong

a peer-to-peer multiplayer arcade gameClassic Game of Pong built on Holochain. Game utilizes Holochain ephemeral signals for ball and paddle position propagation between players.
Nasıl çalıştırılır
kaydedilmedi
Holochain sürümü
0.7.0
Etkinlik
aktif
Kontrol edildi
30 Ekim 2026

What is Ping2Pong and what is it for?

Ping2Pong is a multiplayer Pong game built on Holochain in which each player runs their own node and the two exchange paddle and ball movement directly as they play. It was made to test how much fast, real-time movement Holochain's peer-to-peer messaging can carry, so the live game stays between the players rather than passing through a central server.

Ping2Pong is a multiplayer version of the arcade game Pong that runs on Holochain. The project's repository describes it as a proof of concept, written to explore how far Holochain's high-frequency signals can be pushed for real-time game movement. The stated aim was to see whether live arcade play could run over Holochain's own peer-to-peer transport and its WASM zomes rather than through third-party relay services.

In a match, one player hosts and the other joins from an invitation; both see a shared lobby, with online, ready and playing states, and a chat room. To keep the ball and both paddles in step, the game sends small position updates many times a second between the two players' nodes, and it widens each paddle's hit area slightly so that a save is not lost to network delay. Finished match scores are recorded and appear on a shared leaderboard.

To try it, the repository's quick start installs a Nix environment with the Holochain tooling, then runs a script that builds the project and starts two nodes side by side, so one person can register two players and play both sides. Screenshots of the lobby and chat, live play, the end-of-match screen and the leaderboard, together with the full setup instructions, are in the repository at github.com/cassieopeanuts/ping2pong.

Nasıl edinilir

Masaüstü uygulaması

  1. Install Nix with flakes enabled, then clone the repository.
  2. Run nix develop to enter the project's Holochain development shell, then npm install.
  3. Run npm run start, which builds the zomes, packages workdir/ping2pong.webhapp and opens two client windows so two players can register and play.

Kaynak: https://github.com/cassieopeanuts/ping2pong

Moss içinde

  1. Obtain the packaged ping2pong.webhapp (the project's start script produces it at workdir/ping2pong.webhapp).
  2. Open that webhapp in a Moss host.

Kaynak: https://github.com/cassieopeanuts/ping2pong

İnsanların sorduğu sorular

How do I try Ping2Pong with two players?
The repository's quick start enters a Holochain development shell and runs a start script that builds the project, packages it, and opens two separate client windows, so you can register two players and play both sides on one machine. kaynak
Is Ping2Pong a finished game?
The repository presents it as a proof of concept, built to explore real-time signalling in Holochain rather than released as a finished product. kaynak

1 herkese açık kaynaktan derlendi; son kontrol: 23 Eylül 2026.

Deneyin: Ping2Pong

Ayrıntılar ve kaynaklar

Kanıt

Son değişiklik
api.github.com/repos/cassieopeanuts/ping2pongüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · github.repository@1
Etkinlik
api.github.com/repos/cassieopeanuts/ping2pongüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · liveness@1
Desktop app
src-tauri @ 43f48bekodda · 29 Ekim 2026 tarihinden beri görülüyor · desktop.in-code@1

Uyumluluk

holochain-client
0.21.0 · ui/package.json @ 43f48be
happ.yaml
mevcut · workdir/happ.yaml @ 43f48be
web-happ.yaml
mevcut · workdir/web-happ.yaml @ 43f48be
Ping2Pong projesini siz mi sürdürüyorsunuz?Adınızı bu projenin sayfasına ekleyin.
Bu sayfayı sahiplenin