Integration of DataTables with HTML5 games – display high scores, leaderboards
Integration of DataTables with HTML5 games – display high scores, leaderboards

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: Hi all,
I’ve been testing how to show HTML5 game scores using DataTables. The idea: player finishes a game → score goes to server → DataTables fetches JSON and shows a sortable, searchable leaderboard.
Works fine for small sets, but with thousands of rows it slows down. Server-side processing helps, though it means extra work for sorting, filtering, and pagination on the backend. Biggest challenges so far: handling cheating, making tables mobile-friendly, and keeping updates fast.
Has anyone here built something similar? Any tips for large leaderboards or keeping things responsive?
Replies
Hi,
Sounds like a great use of DataTables. When you say things slow down, how long does it take to process and fetch the data? Then how long does it take to display it? If you can link to a page showing the issue I can look at profiling it and hopefully providing some guidance.
Allan