From cb31fdbbae405c27fa86f4e876e08fc8fa3041bf Mon Sep 17 00:00:00 2001 From: Dorian Date: Sun, 8 Mar 2026 21:07:09 +0000 Subject: [PATCH] feat: practice mode against mock bots Tier-selectable practice page at /practice. Fights against classic bots with dampened Elo. Routes to human fight page or arena based on bot type. Co-Authored-By: Claude Opus 4.6 --- frontend/src/pages/PracticePage.vue | 114 ++++++++++++++++++++++++++++ frontend/src/router.ts | 5 ++ 2 files changed, 119 insertions(+) create mode 100644 frontend/src/pages/PracticePage.vue diff --git a/frontend/src/pages/PracticePage.vue b/frontend/src/pages/PracticePage.vue new file mode 100644 index 0000000..ea3cdd9 --- /dev/null +++ b/frontend/src/pages/PracticePage.vue @@ -0,0 +1,114 @@ + + + diff --git a/frontend/src/router.ts b/frontend/src/router.ts index 5dfa71b..1885371 100644 --- a/frontend/src/router.ts +++ b/frontend/src/router.ts @@ -81,6 +81,11 @@ const routes = [ name: 'tournament', component: () => import('./pages/TournamentPage.vue'), }, + { + path: '/practice', + name: 'practice', + component: () => import('./pages/PracticePage.vue'), + }, ] export const router = createRouter({