From 6b2778751b2125d9f3e9c9b497b9ddb4f0af3a39 Mon Sep 17 00:00:00 2001 From: Z8MB1E Date: Sun, 2 Aug 2026 14:32:53 -0400 Subject: [PATCH] refactor(flappy): use obstacle terminology instead of pipes --- src/app/(frontend)/flappy/actions.ts | 2 +- src/app/(frontend)/flappy/page.tsx | 4 ++-- src/components/frontend/flappy/FlappyLeaderboard.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/(frontend)/flappy/actions.ts b/src/app/(frontend)/flappy/actions.ts index 45ef3a4..04f2f4b 100644 --- a/src/app/(frontend)/flappy/actions.ts +++ b/src/app/(frontend)/flappy/actions.ts @@ -104,7 +104,7 @@ export async function submitFlappyScore(input: { if (passes > 0) { await emitGameEvent(payload, { type: EventTypes.MinigameFlappy, - message: `Completed a flight simulator run passing ${passes} pipe${passes === 1 ? "" : "s"} (definitely not Flappy Bird) (+${runXp} XP)`, + message: `Completed a flight simulator run passing ${passes} obstacle${passes === 1 ? "" : "s"} (definitely not Flappy Bird) (+${runXp} XP)`, actor: user.id as number, targetCollection: "users", targetId: user.id as number, diff --git a/src/app/(frontend)/flappy/page.tsx b/src/app/(frontend)/flappy/page.tsx index 59f23b8..f181efc 100644 --- a/src/app/(frontend)/flappy/page.tsx +++ b/src/app/(frontend)/flappy/page.tsx @@ -52,8 +52,8 @@ export default async function FlappyPage() {

Flight Simulator

- An unofficial side activity. (Definitely not Flappy Bird.) Earn 1 XP per 15 pipes passed - in a single run. + An unofficial side activity. (Definitely not Flappy Bird.) Earn 1 XP per 15 obstacles + passed in a single run.

diff --git a/src/components/frontend/flappy/FlappyLeaderboard.tsx b/src/components/frontend/flappy/FlappyLeaderboard.tsx index 54b70de..1fc47e3 100644 --- a/src/components/frontend/flappy/FlappyLeaderboard.tsx +++ b/src/components/frontend/flappy/FlappyLeaderboard.tsx @@ -125,7 +125,7 @@ export function FlappyLeaderboard({ refreshKey = 0, currentUserId }: FlappyLeade # Pilot Games - Pipes + Passes Best XP