Rework AI

This commit is contained in:
Aslan 2025-12-28 23:11:33 +01:00
parent e46c4427cc
commit aebee54562
10 changed files with 79 additions and 20 deletions

View file

@ -98,7 +98,7 @@ const onAILeaderboard = (_text: string, roomId: string) => {
const cost = user.aiCost;
const username = getUserName(user);
return `<li>${username}: cost <b>${cost.toFixed(2)}$</b></li>`;
return `<li>${username}: <b>${cost.toFixed(2)}$</b></li>`;
};
const users = state.users.sort(