peerjs
boardgame.io
Our great sponsors
peerjs | boardgame.io | |
---|---|---|
22 | 27 | |
11,969 | 9,875 | |
1.1% | 0.6% | |
9.0 | 6.2 | |
5 days ago | 3 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
peerjs
-
Help us prioritize features for our decentralized p2p chat app
this app is using peerjs to connect peers over a webrtc connection. check out thier docs for more info. with webrtc, things like file-transfer, should be very performant compared to cloud storage providers... especially over LAN. network speed doesnt seems to be an issue i have experienced.
- Blockchain as a Datastructure
-
Some things I learned, retrofitting a browser-based RTS for network multiplayer.
I'm using the client-side PeerJS https://peerjs.com/ library for networking. As the name may imply, a direct connection is established between two peers using WebRTC via "handshake" through an intermediary server they host - and, they provide source for the server as well. I have found it to be quite reliable, thus far.
-
A question about webrtc
You kind of sound like a beginner. The browser APIs are a bit painful to work with. It might be easier to use PeerJS: https://peerjs.com/
-
Create a Keyword Generator Chrome Extension🔥
If you want you can use Preact. PreactJS is a lightweight alternative to ReactJS, designed for high performance and compatibility. is often used in applications where performance is critical and has a small footprint.
-
Do you feel that programming has been easier to understand in game development versus other types of programming because of your experience with actual videogames?
This opens up a lot of neat possibilities, and fortunately I found a very easy JavaScript library for handling multiplayer called PeerJS. The way you can send packets from player to player is very simple and something even a beginner to JavaScript could understand.
-
Ask HN: Those making $0/month or less on side projects – Show and tell
You might be able to eliminate the VPS by making it P2P using something like PeerJS [1]. PeerJS provides a free shared connection broker server.
[1]: https://peerjs.com/
-
New to WebRTC and Node.js, Need Help Getting Started
Note: peerjs is a good starting point!
-
We just release our first version of TOONKS, a 3D Multiplayer Game where you can play a tiny tank against your friends directly on your browser without any installation.
We use peer.js module to create a WebRTC connection between clients
-
CRDTs and Distributed Consistency - Part 3: Building a distributed counter
Now that we have all the required boilerplate we can start building the actual game. For the communications between peers we are going to use PeerJS a peer-to-peer library built on top of WebRTC.
boardgame.io
-
Show HN: Boardzilla, a framework for making web-based board games
If you're looking for something more low-level, I can recommend boardgame.io [1].
[1] https://boardgame.io/
-
Play Othello in your web browser (using Mithril)
Here's mine! https://skeoh.com/othello/
It's not nearly as polished but I had a lot of fun making it. It uses React and the now-no-longer-maintained https://boardgame.io/.
-
Making a board-game app
It could definitely be used to do that. However, there are better frameworks to accomplish this with many of the features needed for board games. https://boardgame.io is one of them. If anything, take a look at that and utilize some of their game logic and game state management ideas in Django.
- Open Source Game Engine for Turn-Based Games
-
Best way to manage state in node/express
Are you looking for: https://github.com/boardgameio/boardgame.io
-
In a week I'm 30 and this is my latest achievement as a webDev. 5k undead units in a browser game with 120fps. Heh, not much, but hope release will happen soon and it'll be much bigger achievement.
Check out boardgame.io if you are not looking to do everything from scratch.
-
I am creating a boardgames platform with online multiplayer
Also https://www.freeboardgames.org/ which hosts games built with the https://boardgame.io/ game engine.
-
Ask HN: What is the most barebone back end solution?
I think you know best what you want to build yourself. :-)
If you separate the abstract interface for sending/receiving game states and its implementation, you can rely on an external service like hushfile to get started, and then switch to running a similar service yourself afterwards. Saves you from having to deploy and maintain the server initially.
Running a VPS wouldn't cost more than $5/mo.
Since nobody mentioned it, you may want to consider:
https://boardgame.io/
It is a service specifically for managing JSON game state.
But it comes with its own ideas, so your mileage may vary.
-
Is a Multiplayer Game Possible with NextJS + Vercel?
Have you looked at https://boardgame.io ? You’ll still have to deploy a backend but all the multiplayer functionality is already built in.
-
Open-source tabletop board game simulator
If you are more interested in the rules/logic side of things there’s also https://boardgame.io/
What are some alternatives?
simple-peer - 📡 Simple WebRTC video, voice, and data channels
jsboard - JavaScript library for easily creating board games
Socket.io - Realtime application framework (Node.JS server)
PlanarAlly - A companion tool for when you travel into the planes.
mediasoup - Cutting Edge WebRTC Video Conferencing
Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering. [Moved to: https://github.com/phaserjs/phaser]
Pion WebRTC - Pure Go implementation of the WebRTC API
Match_Game - Repository for the tutorial for creating a phaser game with electron
coturn - coturn TURN server project
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.
simple-peer-files - A library to send files over WebRTC
lba2remake - A Little Big Adventure 2 / Twinsen's Odyssey reimplementation in JavaScript / Three.js / React