Two teams try and fill in any horizontal, vertical, or diagonal line on a bingo board by playing maps on osu! osu.bingo
osu

more cleanup

+10 -13
+3 -3
src/lib/components/EventScore.svelte
··· 78 78 {:else} 79 79 <div class="flex items-center pl-2 opacity-80"> 80 80 <span class="mr-1 opacity-50"> 81 - <ListVideo /> 81 + <ListVideo class="inline" /> 82 82 </span> 83 - Failed score by 83 + Unsubmitted score by 84 84 <span 85 85 data-user={score.user.team_name.toUpperCase()} 86 86 class="pl-1 font-bold data-[user=BLUE]:text-blue-400 data-[user=RED]:text-amber-400" 87 87 >{score.user.user.username} 88 88 </span> 89 89 <span class="pl-1" 90 - >on <button on:click={click}>{alphabet.charAt(square.y_pos)}{square.x_pos + 1}</button></span 90 + >on <button on:click={click}>{alphabet.charAt(square.x_pos)}{square.y_pos + 1}</button></span 91 91 > 92 92 </div> 93 93 {/if}
+4 -1
src/lib/components/overlays/Board.svelte
··· 10 10 }; 11 11 </script> 12 12 13 - <div class="size-full rounded-xl bg-base-800/50 font-rounded text-white"> 13 + <div 14 + class="size-full rounded-xl bg-base-800/50 font-rounded text-white" 15 + style="scale: {settings.scale}" 16 + > 14 17 {#if $game} 15 18 {#if $game.state == 0} 16 19 {#if $game.public}
+1 -1
src/lib/drizzle/index.ts
··· 1 1 import { env } from '$env/dynamic/private'; 2 2 import { createClient } from '@libsql/client'; 3 - import { drizzle, LibSQLDatabase } from 'drizzle-orm/libsql'; 3 + import { drizzle, type LibSQLDatabase } from 'drizzle-orm/libsql'; 4 4 5 5 export let db: LibSQLDatabase<Record<string, never>>; 6 6
+2 -8
src/routes/(main)/+layout.server.ts
··· 1 - export const load = ({ url }) => { 2 - const path = url.pathname 3 - 4 - if (path.match("/game/\\w+")) { 5 - const game_id = url.pathname.slice(6) 6 - return { game_id }; 7 - } 8 - return { game_id: null }; 1 + export const load = ({ locals }) => { 2 + return { user: locals.user, game_id: null }; 9 3 };
src/routes/(main)/overlays/+page.svelte

This is a binary file and will not be displayed.