diff --git a/AGENTS.md b/AGENTS.md index 481d1a1..a15fecd 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,4 +1,4 @@ -# Agent Development Guidelines - Typing Chud +# Agent Development Guidelines - The Last StarTyper ## React 19 Best Practices diff --git a/README.md b/README.md index ce7fbb8..8ff605c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Typing Chud +# The Last StarTyper A fast-paced typing game built with React and TypeScript. Type falling text before it reaches your ship! @@ -14,14 +14,14 @@ A fast-paced typing game built with React and TypeScript. Type falling text befo ## Installation ```bash -npm install @vimazing/typing-chud +npm install @vimazing/the-last-startyper ``` ## Quick Start ```typescript -import { useGame } from '@vimazing/typing-chud'; -import '@vimazing/typing-chud/game.css'; +import { useGame } from '@vimazing/the-last-startyper'; +import '@vimazing/the-last-startyper/game.css'; function App() { const game = useGame({ diff --git a/UNIFIED_API.md b/UNIFIED_API.md index 1d17ae6..c425d33 100644 --- a/UNIFIED_API.md +++ b/UNIFIED_API.md @@ -202,7 +202,7 @@ type ScoreManager = { }; ``` -**typing-chud Content Tracking:** +**the-last-startyper Content Tracking:** All content types are tracked independently throughout the game: @@ -242,7 +242,7 @@ Some games support dynamic option changes during gameplay via `changeGameMode()` game.changeGameMode({ gameMode: 'words', downwardSpeed: 75 }); ``` -### Delayed Mode Switching (typing-chud) +### Delayed Mode Switching (the-last-startyper) Mode changes are deferred to respect current gameplay: - Changes are stored as "pending options" @@ -289,7 +289,7 @@ type GameOptions = { timeLimit?: number; }; -// typing-chud (Unified Platform Control) +// the-last-startyper (Unified Platform Control) type GameOptions = { gameMode?: 'letters' | 'words' | 'sentences' | 'paragraphs'; downwardSpeed?: number; // px/s (mode-agnostic) @@ -310,7 +310,7 @@ type GameOptions = { - Make most options optional - Use consistent naming (e.g., `timeLimit` always in seconds) -**Platform Control (typing-chud):** +**Platform Control (the-last-startyper):** - Platforms have full control over game behavior via `GameOptions` - `downwardSpeed` is mode-agnostic (single value for all modes) - `wordList` allows custom content across all modes @@ -521,7 +521,7 @@ type ScoreManager = { - Additional metrics for display - Difficulty multipliers -**typing-chud Content Tracking:** +**the-last-startyper Content Tracking:** - Tracks all content types independently (letters, words, sentences, paragraphs) - Preserves historical counts when mode switches - `currentCount` reflects only the current game mode count diff --git a/example/package-lock.json b/example/package-lock.json index 0bf4939..4c2cd90 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -1,13 +1,13 @@ { - "name": "typing-chud-example", + "name": "the-last-startyper-example", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "typing-chud-example", + "name": "the-last-startyper-example", "dependencies": { "@tailwindcss/vite": "^4.1.14", - "@vimazing/typing-chud": "file:../", + "@vimazing/the-last-startyper": "file:../", "react": "^19.1.1", "react-dom": "^19.1.1" }, @@ -24,7 +24,7 @@ } }, "..": { - "name": "@vimazing/typing-chud", + "name": "@vimazing/the-last-startyper", "version": "0.1.0", "license": "MIT", "devDependencies": { @@ -1362,7 +1362,7 @@ "@types/react": "^19.2.0" } }, - "node_modules/@vimazing/typing-chud": { + "node_modules/@vimazing/the-last-startyper": { "resolved": "..", "link": true }, diff --git a/example/package.json b/example/package.json index f986e6f..c152ef4 100755 --- a/example/package.json +++ b/example/package.json @@ -1,5 +1,5 @@ { - "name": "typing-chud-example", + "name": "the-last-startyper-example", "private": true, "type": "module", "scripts": { @@ -20,7 +20,7 @@ }, "dependencies": { "@tailwindcss/vite": "^4.1.14", - "@vimazing/typing-chud": "file:../", + "@vimazing/the-last-startyper": "file:../", "react": "^19.1.1", "react-dom": "^19.1.1" } diff --git a/example/src/App.tsx b/example/src/App.tsx index 56fed33..2281075 100755 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -1,6 +1,6 @@ import { useState } from "react"; -import { useGame, type GameMode } from "@vimazing/typing-chud"; -import "@vimazing/typing-chud/game.css"; +import { useGame, type GameMode } from "@vimazing/the-last-startyper"; +import "@vimazing/the-last-startyper/game.css"; import { usePlatformHook, useStateMachine, getScenario, getScenarioNames } from "./usePlatformHook"; function App() { @@ -27,7 +27,7 @@ function App() { return (