Code Monkey home page Code Monkey logo

Comments (3)

PBug90 avatar PBug90 commented on July 30, 2024 1

The random seed is used to initialize the random number generator across all clients so that everyone can run the same deterministic simulation (if you want more information look up deterministic lockstep in rts games).

As a consequence, the random number generator also determines the player starting positions. What you can do is infer the starting position from the first N actions of a player. Another possible scenario is generating a heatmap that shows game activity over time on the map.

from w3gjs.

JFGHT avatar JFGHT commented on July 30, 2024

I don't think we could get the spawn position from the random seed, but let's not keep that door closed.

What we could actually do, as a temporary solution, is detect the coordinates of the first actions from actions block. What do you think?

from w3gjs.

jblanchette avatar jblanchette commented on July 30, 2024

Ah darn, it seemed very likely it would come from the seed :)

I'll continue onward using estimation / prediction like suggested - closing this off, thanks!

from w3gjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.