Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add seed to ROSE #467

Closed
wants to merge 13 commits into from
Closed

add seed to ROSE #467

wants to merge 13 commits into from

Commits on Aug 9, 2023

  1. add random seed to server

    added argument to server that contain seed.
    if seed is "" generate random seed
    added seed reset in function start in game class.
    ArielP123 committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    84c495c View commit details
    Browse the repository at this point in the history
  2. get seed from client

    added the seed argument
    added libary random
    change truck_seed in config according to seed value
    moran121231 committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    d18e143 View commit details
    Browse the repository at this point in the history
  3. fixed random seed in server

    מקודם לא השאיר את הבחירה הרדונמלית אלא שם סיד רנדומלי קבוע בפתיחת בסרבר
    עכשיו הוא יבחר סיד חדש בכל הרצה אם סיד רנדומלי
    GaliItzak committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    ba8f5be View commit details
    Browse the repository at this point in the history
  4. minor fixex and seed.txt

    added log in the start of every run
    client seed in seed.txt
    ArielP123 committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    511fd0f View commit details
    Browse the repository at this point in the history
  5. HTML element for showing the seed

    added a seed var for the game class
    added an element for displaying the seed
    moran121231 committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    f3ad2ec View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. fixed log

    log now print seed at the start of a run
    at the start of the server the seed is no longer "" if the -s is diffult
    ArielP123 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    2ab2e00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ee24b5 View commit details
    Browse the repository at this point in the history
  3. add base seed

    truck_seed is now actual track seed weather random or not
    base seed is the base value from the server activation
    ArielP123 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    c98fdf3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    37edd89 View commit details
    Browse the repository at this point in the history
  5. fix

    fixed mistake in client/game
    ArielP123 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    27662d7 View commit details
    Browse the repository at this point in the history
  6. seed

    added the seed to state dict and used it in js to show it when running
    the game
    moran121231 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    1a8fa6c View commit details
    Browse the repository at this point in the history
  7. css

    changed the html element of seed to h1 instead of button, and changed
    the css of that element by the id
    moran121231 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    bf54a53 View commit details
    Browse the repository at this point in the history
  8. delete seed from client/main

    seed from client didnt work so we removed it
    changed where the seed is saved
    ArielP123 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    b6563c4 View commit details
    Browse the repository at this point in the history