Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 1.58 KB

todo.md

File metadata and controls

31 lines (28 loc) · 1.58 KB

Conceptual

  • Cities

  • mapillary works propably

  • need a pool of cities (20+?) with manual bboxes in them

  • 3 pictures/locations inside of bbox

  • Multiplayer and Singleplayer

  • how can we sync games? -> turnbased not realtime but with manual refresh

  • point calculation system -> gdal for java

  • based on distance -> full points in bb, decreasing with distance away from bb

  • IDW?

Technical

  • calculation of distance between location and guess
  • JAVA: function calculate_score(guess, bbox) -> full points for inside, less/decreasing for outside
  • Login completion
  • JS: call to backend
  • JAVA: confirm existing/correct username/passwort
  • Overview page over current and past games
  • JS: Games View -> Open Lobbies, active Games, old Games
  • game creation
  • JS: open game button
  • JS: Lobby -> host + other players, players can join, host can start. Host can determine the number of rounds (up to 20?).
  • JS: function update data -> get all games, compare if player already made a guess for newest city, if no, show guess view.
  • JAVA: get all games with player x
  • JAVA: endpoint add player to game -
  • JAVA: endpoint create game -> save game to db
  • JAVA: endpoint start game -> get_new_city
  • JAVA: function get_new_city - request random city not in the game, and query imageIds from mapillary, save to db
  • JAVA: endpoint commit_guess - compare guess with city boundaries/distance and return points -> get_new_city (hat der letzte den guess commited)