libretro / libretro/RetroArch

How is Randomness Synchronized Between Clients in Netplay?

Open
#17,730 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Hi, I would like to ask how you implement ensuring consistent random events between two clients during online multiplayer matches. I'm currently studying the code in this repository, and I would greatly appreciate it if someone could point me to the specific part of the code where this is handled. Thank you in advance!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the netplay code that handles synchronized random events; done means identifying the relevant code location and explaining how consistency between clients is maintained.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
networking
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.