From 16ca42fb11e36c144bcf26472b432b5e397e8cc9 Mon Sep 17 00:00:00 2001 From: minhd-vu Date: Tue, 27 Feb 2024 01:51:59 -0500 Subject: [PATCH] add help page --- app/help/page.tsx | 81 +++++++++++++++++++++++++++++++++++++++++++ components/Navbar.tsx | 3 ++ 2 files changed, 84 insertions(+) create mode 100644 app/help/page.tsx diff --git a/app/help/page.tsx b/app/help/page.tsx new file mode 100644 index 0000000..cbb97b5 --- /dev/null +++ b/app/help/page.tsx @@ -0,0 +1,81 @@ +import Link from "next/link"; + +export default function Help() { + return ( +
+

How to Play

+

+ Assassins is a live action game that can be played almost anywhere, but + best done in semi-crowded environments. The goal of the game is to be + the last remaining person alive and to assassinate whomever you are + assigned. +

+

Create a User

+

+ Before doing anything, you should create a user. It will keep track of + your statistics as well as identifying who you are in a party. You can + register yourself by heading to the register link in the navbar. Once + you create a user, you will no longer be able to change the username or + password. +

+

+ If you already have a user, you can login by heading to the login link + in the navbar. +

+

Party System

+

+ Once you have logged in you have the option of joining or creating a + party. A party is an instance of the assassins game; it is how you + connect with your friends. +

+
Join a Party
+

+ To join a party, type in the party code in the input field on the{" "} + home page then click the{" "} + Join Party button. Once a party has started you can no + longer join it. +

+
Create a Party
+

+ To create a party, click the Create Party button on the + home page. Once you have created it, the app will display the party code + in bold. Give this code to your friends so that they can join. +

+
Leave a Party
+

+ Once you join a party, you have the option of leaving it. You can leave + it anytime, and the app will handle the reshuffling of players. +

+
Start a Party
+

+ Only the party leader can start the party. Once started everyone is + assigned a target. +

+

Eliminate Targets

+

+ You will be assigned a target to assassinate, hence the name{" "} + assassins. Once you assassinated your target, either by means + of dart blasters, tag, projectile launchers, or any other method, click + the Assassinate button. +

+

+ A notification will be send to the target just eliminated, the target + will have option of confirming or denying the assassination attempt. If + the attempt is denied, the game continues; this is in place to prevent + accidental clicks. If the attempt is successful, you will be assigned a + new target depending on the game mode. +

+

Game Modes

+
Classic
+

+ When you assassinate a target, your next target will be the target your + target had. +

+
Shuffle
+

+ When a player assassinates a target, all players will receive a new + target from the remaining players alive. +

+
+ ); +} diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 6656dac..33e4742 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -30,6 +30,9 @@ export default async function Navbar() {
  • Leaderboard
  • +
  • + Help +