|
@@ -6,9 +6,7 @@
|
|
./docker/build.sh
|
|
./docker/build.sh
|
|
```
|
|
```
|
|
|
|
|
|
-## Back End
|
|
|
|
-
|
|
|
|
-In the future, names should be tracked via actual tokens
|
|
|
|
|
|
+## API
|
|
|
|
|
|
```
|
|
```
|
|
API Endpoints
|
|
API Endpoints
|
|
@@ -84,25 +82,22 @@ POST /game/{ID}/guesses/{round}
|
|
}
|
|
}
|
|
```
|
|
```
|
|
|
|
|
|
-## Front End
|
|
|
|
|
|
+## Next Steps
|
|
|
|
|
|
-```
|
|
|
|
-- Render streetview pano
|
|
|
|
-- Render map for guessing
|
|
|
|
- - On click, place and track marker for guess
|
|
|
|
-- Render control pane
|
|
|
|
- - Submit button
|
|
|
|
- - Timer
|
|
|
|
- - Round counter
|
|
|
|
- - Current scores
|
|
|
|
-- Fetch /game/{ID}, extract coords and timer length
|
|
|
|
-- Main Loop
|
|
|
|
- - Fetch /game/{ID}/guesses/{name}, update scores and round
|
|
|
|
- - if round comes back null, redirect to /summary/{ID}
|
|
|
|
- - Extract current coord
|
|
|
|
- - Clear map markers
|
|
|
|
- - Zoom out map
|
|
|
|
- - Change pano to coord
|
|
|
|
- - Reset timer
|
|
|
|
- - On timeout or submit -> POST to /game/{ID}/guesses/{name}/{round}
|
|
|
|
-```
|
|
|
|
|
|
+- Refactor round tracking in database logic
|
|
|
|
+- Reduce complexity of `game_api` in back-end
|
|
|
|
+- Reduce complexity of `GamePanel` in front-end
|
|
|
|
+- Genericize number of rounds
|
|
|
|
+- Genericize round timer in UI
|
|
|
|
+- Finalize scoring formula
|
|
|
|
+- Button to return the street view pano to the target
|
|
|
|
+- Track name via tokens
|
|
|
|
+- Error handling in UI
|
|
|
|
+- Live update summary page
|
|
|
|
+- Navigate directly to summary page
|
|
|
|
+- Navigate directly to joining a game
|
|
|
|
+- Re-join a game you did not finish
|
|
|
|
+- Show current best on round summary
|
|
|
|
+- Round summary should use dynamic map
|
|
|
|
+- Cache API key after first call to back-end
|
|
|
|
+- Styling and layout improvements
|