Easily game & chat built with PeerJS
- combine files -> single version
- Instructions of files:
- P2PLiveIndex.html serves as the website homepage (displaying rooms ready for live streaming and providing entry points)
- P2PLiveHost.html & P2PLiveAudience.html are auxiliary pages placed in the same directory
- [For Audiences / Players]
- Use browser to load the homepage(P2PLiveIndex.html) with available Internet, [if can't connect to the root node, directly enter and connect room ID]
- After completing step one, you can view all active rooms, click it and click auto Join(or input room ID for directly jumping to room page)
- after you enter the room, you can click Join to take part in gane as player.
- [For Host]
- Visit the homepage(P2PLiveIndex.html), [create pravite room or enter and connect a root ID]
- Clicks Create Room and then choose room type(FiveOnline) in Option for creating room.
- waiting for others join game and ready, you can modify setting or click button of start to start game