@@ -34,18 +34,63 @@ async function applySeed() {
3434
3535<template >
3636 <dialog id =" helpModal" class =" modal" >
37- <div class =" modal-box" >
38- <h3 class =" text-lg font-bold" >How to play?</h3 >
39- <p class =" py-4" >Here, you will find explanation on how to play the game</p >
40- <div class =" modal-action" >
41- <form method =" dialog" >
42- <button class =" btn btn-soft btn-primary" >
43- <FontAwesomeIcon icon="xmark" class="w-5 h-5" />
44- Close
45- </button >
46- </form >
37+ <div class =" modal-box w-11/12 max-w-2xl p-0 bg-base-100 shadow-2xl overflow-hidden" >
38+ <div class =" bg-primary p-6 text-primary-content text-left shrink-0" >
39+ <h2 class =" text-3xl font-bold tracking-tight mb-1" >Welcome Aboard !</h2 >
40+ <p class =" text-lg opacity-90 font-light" >How to plan your journey and find your destination ?</p >
41+ </div >
42+
43+ <div class =" p-8 text-base-content" >
44+
45+ <div class =" mb-6" >
46+ <h3 class =" text-xl font-bold mb-2" >Your Objective</h3 >
47+ <p class =" text-base-content/80" >
48+ You will start at a random train station. Your objective is to <strong >reach the targeted final station</strong > by navigating from train to train, station to station.
49+ </p >
50+ </div >
51+
52+ <div class =" space-y-6 mb-8" >
53+ <div class =" flex gap-4 items-start" >
54+ <div class =" w-8 h-8 rounded-full bg-primary text-primary-content flex items-center justify-center shrink-0 font-bold text-sm shadow-sm" >
55+ 1
56+ </div >
57+ <div >
58+ <h4 class =" font-bold text-lg leading-none mb-1 mt-1" >Check Departures</h4 >
59+ <p class =" text-sm text-base-content/70" >Review the departure board of your current station. Choose a train that seems to head in the right direction.</p >
60+ </div >
61+ </div >
62+
63+ <div class =" flex gap-4 items-start" >
64+ <div class =" w-8 h-8 rounded-full bg-primary text-primary-content flex items-center justify-center shrink-0 font-bold text-sm shadow-sm" >
65+ 2
66+ </div >
67+ <div >
68+ <h4 class =" font-bold text-lg leading-none mb-1 mt-1" >Manage Connections</h4 >
69+ <p class =" text-sm text-base-content/70" >Board the train, check its list of stops, and decide where to get off to catch your next connection.</p >
70+ </div >
71+ </div >
72+
73+ <div class =" flex gap-4 items-start" >
74+ <div class =" w-8 h-8 rounded-full bg-primary text-primary-content flex items-center justify-center shrink-0 font-bold text-sm shadow-sm" >
75+ 3
76+ </div >
77+ <div >
78+ <h4 class =" font-bold text-lg leading-none mb-1 mt-1" >Time Moves Forward</h4 >
79+ <p class =" text-sm text-base-content/70" >Time passes as you travel. The departure board shows only the connections available at your time.</p >
80+ </div >
4781 </div >
4882 </div >
83+ </div >
84+
85+ <div class =" bg-base-100 p-6 border-t border-base-300 flex justify-end" >
86+ <form method =" dialog" >
87+ <button class =" btn btn-primary px-8 text-lg font-bold" >
88+ Start Journey
89+ </button >
90+ </form >
91+ </div >
92+
93+ </div >
4994 </dialog >
5095
5196 <dialog id =" multiplayerModal" class =" modal" >
0 commit comments