Skip to content

Random block not random #35

@RustyRyuu

Description

@RustyRyuu

Hi
I already reported a bug, but I found another one and I want to report it too.
SYMPTOM: The random block always generates the lower number when trying to "flip a coin" (generate an aleatory between only 2 consecutive numbers)
CLUES: If I try to generate random numbers between 3 or more numbers it works well
FOUND: This problem may be generated because of the lack of a seed() call before the random() function.


Hola.
Ya he reportado un bug pero he encontrado otro y quiero reportarlo también
SÍNTOMA: El bloque random siempre genera el número más bajo cuando se intenta "lanzar una moneda" (generar un aleatorio entre sólo 2 números consecutivos)
PISTAS: Si intento generar aleatorios entre 3 o más números, funciona bien
ENCONTRADO: Este problema puede estar generado por la falta de un bloque seed() antes de la llamada a random():

Videocaptura de pantalla

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions