Skip to content

Immediate score update and sorting - Nathan Gendler (ng3000) - #828

Open
nathangendler wants to merge 1 commit into
ColumbiaBuildLab:masterfrom
nathangendler:nathan-scoreboard-update
Open

Immediate score update and sorting - Nathan Gendler (ng3000)#828
nathangendler wants to merge 1 commit into
ColumbiaBuildLab:masterfrom
nathangendler:nathan-scoreboard-update

Conversation

@nathangendler

@nathangendler nathangendler commented Aug 20, 2026

Copy link
Copy Markdown

Name: Nathan Gendler
UNI: ng3000

  • server.py: sort the scoreboard in non-increasing order of score after each increase, before returning the JSON response.
  • static/scoreboard.js: call display_scoreboard(result.scoreboard) in the AJAX success callback so the score change and re-sorted order appear immediately without a page refresh.

- server.py: sort the scoreboard in non-increasing score order after each increase before returning JSON
- static/scoreboard.js: re-render the board in the AJAX success callback so changes appear without a refresh
@nathangendler
nathangendler force-pushed the nathan-scoreboard-update branch from 8c5fd7d to 3ea36c0 Compare August 20, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant