Partywork / partyworks

multiplayer framework inspired by liveblocks

Home Page:https://partyworks-game-tic-tac-toe.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Partyworks: A Multiplayer Framework for Partykit

Please note: I am not affiliated with the partykit team.

Partyworks is an innovative framework designed for creating multiplayer applications using partykit ๐ŸŽˆ. Inspired by liveblocks, it aims to combine the power of liveblocks with custom code for a unique development experience.

Key Features Currently in Development:

  • Presence API
  • Broadcast Capabilities
  • Custom Events Support
  • Bot API
  • Documentation coming soon

Current Status

Partyworks is currently in the development phase:

  • Dev: Actively evolving with new features and APIs that might experience breaking changes.
  • Alpha: Some features are missing, and there might be bugs that require fixing.
  • Beta: Stable APIs, with final features being integrated.
  • General Availability: Ready for production usage.

Examples Showcasing Partyworks

Folder Description
examples/connection-status Demonstrates live socket connection status and a lost connection toast notification. Live Example
examples/game-connect4 Connect4 game example. Live Example
examples/game-rock-paper-scissors Rock, Paper, Scissors game example. Live Example
examples/game-tic-tac-toe Tic-Tac-Toe game example. Live Example
examples/group-chat Live group chat (Work in Progress). Live Example
examples/live-cursors Live cursors example (Work in Progress).

Motivation & Story Behind Partyworks

During the development of my multiplayer game room project, funrooms.io, on Cloudflare Workers, I encountered several challenges like socket reconnections, broadcast issues, managing presence, and custom event setups. I wished for a better alternative. Having previously used liveblocks and admired their API and developer experience, I found that it lacked support for custom backend code, which led me to discover partykit. With its superior developer experience compared to Cloudflare Workers and a supportive community, I decided to develop a library on top of it. Initially intended for personal use, the library evolved into something I'd like to share because, after all, "everything's better with friends" ๐ŸŽˆ.

Meet the Party Guy

Hey there, I'm Shivam! I'm deeply passionate about the multiplayer, collaboration, and gaming space. Presently, I'm working on Partyworks and funrooms.io. In the past, I've implemented my own CRDT based on Yata (the same as Yjs). Wishing you a fantastic day! ๐Ÿ˜

(Pssst... I'm currently looking for new opportunities!)

About

multiplayer framework inspired by liveblocks

https://partyworks-game-tic-tac-toe.vercel.app/

License:MIT License


Languages

Language:TypeScript 99.6%Language:JavaScript 0.4%