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

[BUG] On small custom maps (5 points), some points appear more often than others, or twice in a row. #409

Closed
NicolasMICAUX opened this issue Mar 5, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NicolasMICAUX
Copy link

Describe the bug
I created a small custom map, made of 5 Points. But when playing, some points appear more often than others, and some twice in a row : I wouldd expect to have all the 5 points once in a game.

To Reproduce
Create custom map :


  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -86.10796395608769,
          39.75757874775252
        ]
      },
      "properties": {}
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          126.96188407675675,
          37.56048137961429
        ]
      },
      "properties": {}
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          3.0630908873607723,
          36.785391600650165
        ]
      },
      "properties": {}
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          -0.13509788453040983,
          51.50966895098276
        ]
      },
      "properties": {}
    },
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          7.00547185134451,
          51.44244264508981
        ]
      },
      "properties": {}
    }
  ]
}

Play.

Expected behavior
Every location displayed once in each game (5 rounds, 5 locations).

Observed behavior
Sometimes, I have the same point to guess twice in a row, or some points are never played.

Desktop : (not very relevant here I think but let's give it a go)

  • OS: Ubuntu & Windows
  • Chrome
  • Ubuntu 20.04, Chrome 98.0.4758.102 (Build officiel) (64 bits)
@NicolasMICAUX NicolasMICAUX added the bug Something isn't working label Mar 5, 2022
@BilelJegham BilelJegham self-assigned this Mar 5, 2022
@NicolasMICAUX
Copy link
Author

Nice ! Thx for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants