Add Who's branch is it anyway game page #688
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a new page for the "Who's branch is it anyway" game.
New Page and Components
src/pages/whos-branch.tsx
to create a new page component for the game.src/components/whos-branch/index.tsx
to implement the game logic and UI.src/components/whos-branch/question.tsx
to display game questions.src/components/whos-branch/score.tsx
to display the game score.Game Data
src/data/whos-branch.json
to store game data, including branches and questions.Navigation and Menu
src/pages/index.tsx
to add a link to the new game page.src/data/menu.ts
to add a menu item for the new game page.Testing
__tests__/pages/whos-branch.tests.tsx
to create tests for the game page, game logic, and UI.For more details, open the Copilot Workspace session.