parvezDevOps commited on
Commit
b275c14
·
verified ·
1 Parent(s): b57b56b

I want to create a text based game website/app whatever is best for first prototype.

Browse files

Here is the rules

A admin user will create a thread. tread name = FDCT XX - Registration

in this thread the admin will ask users of this game community to register

They will be asked to register in a few way

Option 1. super owner
Option 2. captain
Option 3. player

players list demo names:
holud_himu, jahangir, soto_khoka, durbin,
mostakim, rumana, esha, sabbir, and etc (full list on team details)



super owners are team owners who will own one or more teams in this (FDCT XX) tournament
captains will lead the team of super owners.
players are those who will just play matches as team member.

Now in forum community those were posted as thread reply

we can think of something futuristic or more convenient


after that, when registration ends. super owners and captains and players names are announced in a new thread.
List demo:
1. Super Owners
a. Mostakim
b. holud_himu
c. Rhetoric
d. Yamazaki
e. Rishad

Captains
esha, frozen, soto_khoka, maxwell, knight, faruk_vai, neel, ahana, motu, rajib


TEAMS
EXT - Owner Mostakim, captain Esha
TM - Owner holud_himu, captain frozen
AH - Owner holud_himu, captain Soto_Khoka
AH2.0 - Owner holud_himu captain maxwell
AH3.0 - Owner holud_himu captain knight
RBA - Owner holud_himu, captain rajib
BS - Owner Rhetoric , captain Faruk_vai
BT - Owner Yamazaki, captain neel
FTR - Owner Rishad, captain ahana
SC - Owner Rishad, captain motu



Then the super owners groups are created for this tournament along with captains

after that the admin creates another thread for posting team details only by super owners.
Team Details posts (thread replies) will be like this

1.
Team: AH
a. holud_himu (O)
b. Dhew
c. Soto_Khoka (C)
d. Jahangir

2.
Team: AH 2.0
a. Abha
b. Durbin
c. Maxwell (C)
d. Quiinn

3.
Team: AH 3.0
a. Lebu_vai
b. iquu
c. Sabira
d. Knight (c)

4.
Team: TM
a. frozen (c)
b. ikhtiar
c. namii
d. Mizan

5.
Team: RBA
a. rajib (c)
b. tamim
c. sotto_ferdous
d. Mahmud

6.
Team EXT
a. Mostakim (O)
b. MyTH
c. Esha (c)
d. Hira

7.
Team: BS
a. Rhetoric (O)
b. faruk_vai (c)
c. nildrita
d. nipukhan

8.
Team: FTR
a. Rishad (O)
b. Opurbo
c. ahana (c)
d. muntaha

9.
Team: SC
a. Motu (c)
b. zeph
c. osiris
d. twinkle

10.
Team: BT
a. Yamazaki (O)
b. moynar_bap
c. alumnus
d. tania

another important thing. admins will be able to give a super owner and captain badge to some users


when all teams are ready the admin will generate another thread by give team names to a round robin schedule generators.

Schedule tread will be like this

FDCT - XX - Match Times

Home/Away Matches (Names are organized as Home(EXT) vs AWAY(BS))
Date: October 1, 2025 - 8.30 PM
Match 1. EXT vs BS
Date: October 1, 2025 - 10.30 PM
Match 2. BT vs AH
Date: October 2, 2025 - 8.30 PM
Match 3. AH vs BS
Date: October 2, 2025 - 10.30 PM
Match 4. BT vs EXT
.
.
.

Suppose there are 4 team each team will play each other 1/2 time as home away matches
in home away matches home team will decide who will bat/ball

aftet that in neutral venue toss happens

toss and lineup rules

example:

Match 2. BT vs AH

here home team is BT

THEY WILL DECIDE WHO BAT FIRST BOWL FIRST

lineup demo
(posted by BT Captain rozelin)
BT, BOWL FIRST
Bat
1. alumnus
2. rozelin
3. joker
4. Yamazaki
Bowl
1. Yamazaki
2. alumnus
3. joker
4. rozelin
Backup: yamazaki (if this was not mention the lineup poster would be auto backup. this backup can be used for only bowling time and first occurance of time out which wll be discussed later)

(posted by AH Captain Soto_Khoka)
AH
Bat
1.holud_himu
2. Durbin
3. Soto_Khoka
4. Jahangir
Bowl
1. jahangir
2. Soto_Khoka
3. Durbin
4. holud_himu



Now BT bats first and AH then chases.
In netural matches toss happens toss rules are given match rules

now cricket match rules are below




🏏 Social Cricket — Official Rules 

Version: 1.0

Game type: Forum-based cricket simulation (played with posts/replies)Players needed: 2 captains + 6 players per team (names can repeat in batting/bowling orders)Match length: 6 overs per innings (short, fast, easy to run)

1) What is Social Cricket?

Social Cricket is a forum game that simulates cricket using thread posts. A Host runs the match inside one thread. Two captains post team lineups, and batters/bowlers post sequences of numbers to score runs, take wickets, and finish overs—just like a real match, but with posts.

If you can post numbers like 664466 within 120 seconds when asked, you can play!

2) The People & Their Jobs

Host – Creates the match thread, tracks time, updates the scoreboard, enforces rules.

Captains (one per team) – Post the lineup (batting order, bowling order, optional backup), make the toss call in their lineup, and coordinate players.

Players – Bat or bowl by posting number sequences (allowed: 1, 2, 3, 4, 6) when the Host asks.

3) The Thread & Timeline (at a glance)

T-60 min (1 hour before match):Captains must have posted lineups before this time.Replies stay hidden publicly until T-30 min.

T-30 min:Host reveals pre-match scoreboard in the thread.

T-0 (match start):First ball! From now on, batters/bowlers must respond within 120 seconds when called.

Live play:First innings (4 overs) → Second innings (4 overs) → Result.

If one team fails to post a lineup by T-60: the other team wins by default.If neither posts by T-60: No Result.

4) Posting the Lineup (what captains must include)

Each captain posts one reply with:

Toss choice & coin call (e.g., “BAT FIRST – TAIL” or “BOWL FIRST – HEAD”)

Batting order (4 names)

Bowling order (4 names)

Optional backup player (1 name; if omitted, the lineup-posting captain becomes backup automatically)

Example lineup (AH):

AH
BAT FIRST – TAIL

Batsman
1. holud_himu
2. Abha
3. Dhew
4. Durbin


Bowler
1. Jahangir
2. Soto_Khoka
3. Durbin
4. Abha


Backup: Soto_Khoka


Example lineup (BS):

BS
BAT FIRST – HEAD

Batsman
1. Dashing_Boy
2. Niladrita
3. Rhetoric
4. Faruk_vai

Bowler
1. Faruk_Vai
2. Nipukhan
3. Niladrita
4. Rhetoric


(Backup defaults to the captain who posted this lineup if not named)


5) How the Toss Works (simple!)

The team that posts their lineup first puts a coin face in it (HEAD or TAIL).

The team that posts later must match that coin face in their lineup to win the toss.

If they don’t match, the earlier poster wins the toss.

Example: AH posted first with “TAIL”.BS posted later with “HEAD” → didn’t match → AH wins the toss.

The toss winner’s choice (“BAT FIRST” or “BOWL FIRST”) is taken from their lineup.

6) Innings & Overs

A match has two innings (Team A bats first; Team B chases).

Each innings has 4 overs (24 balls max). {note this can be custom for any tournamnet like 5/6 etc}

Target: The chasing team needs (first-innings total + 1) to win.

7) Batting & Bowling Posts (the core of play)

When the Host prompts (e.g., “Bat/Bowl: holud_himu, Faruk_Vai post 6”), both must post a sequence of allowed numbers:

Allowed numbers per ball: 1, 2, 3, 4, 6

Full over: post 6 numbers (e.g., 664466)

If fewer balls remain (after a wicket in the middle of an over), the Host will ask for that many (e.g., “post 3”).

Timing: Each required post must be made within 120 seconds of the Host’s prompt.

8) How Runs & Wickets Are Determined

Runs

Team runs for an over are simply the sum of the batter’s numbers for the valid balls (unless it’s a penalty case—see Extras below).

Example: Batter posts 664466 → runs = 6+6+4+4+6+6 = 32.

Wickets

On any ball, if the batter’s number equals the bowler’s number → OUT on that ball.

The next batter comes in and will be asked to post the remaining balls of the over.The same bowler also re-posts the remaining balls.

Example (ball-by-ball wicket):Batter: 446644Bowler: 666444Ball 3 is 6 vs 6 → OUT at 2.3 overs (third ball of the over).

9) Timing & Penalties (read carefully)

Batter timeout (posts after 120s or not at all): OUT.

Bowler timeout: the whole set of required balls becomes FREE HIT (no wicket possible); all batter’s posted runs are added as Extras to the team (do not count to the batter’s personal runs).

“Free hit” here means no dismissal on those balls and runs go to Extras.

Wrong post length (more or fewer than asked):

Batter wrong length: OUT (immediately).

Bowler wrong length: all those balls become Extras equal to the batter’s numbers for that segment (no wicket possible on those balls).

Both wrong or both timeout on the same segment: the entire segment becomes a dead over (no runs, no wickets), recorded as XXX.

10) Backup Rule (for bowlers)

If a bowler times out or fails mid-segment, the backup (if available) may be called to bowl the remaining balls of that over.

This can be used once per innings only.

If a second bowler failure occurs later in the innings and backup is already used, the batter’s posted balls for that segment count fully as Extras (no wicket possible).

If a team didn’t name a backup, the lineup-posting captain is the backup by default.

11) Scoreboard Format (what the Host shows)

Between T-30 and start: a pre-match board, for example:

FDCT XX – Match 13 – AH vs BS
1st Innings
AH – 0/0 [0]

NoticeBoard: Match will start at 8:00 PM
Bat/Bowl: holud_himu, Faruk_Vai post 6
AH:
1. holud_himu 0 [0] *
2. Abha
3. Dhew
4. Durbin


BS:
1. Faruk_Vai [0-00-0] *
2. Nipukhan [0-00-0]
3. Niladrita [0-00-0]
4. Rhetoric [0-00-0]


Backup: Rhetoric
Extras: 0
Recent Overs: …… | …… | …… | ……


Conventions

AH – 54/0 [2] means 54 runs, 0 wickets, after 2 overs.

Batter line holud_himu 54 [12] * means 54 runs off 12 balls, currently batting (*).

Bowler figures [Overs-Runs-Wickets] e.g., [1-32-0].

Recent Overs shows sequences per over (or partial): e.g., 664466 | 123664 | 44W….

12) Worked Examples (clear scenarios)

A) Big over, no wicket

Batter posts: 664466

Bowler posts: 446644

Runs: 32

Wickets: none (no ball matched)

Scoreboard update:

AH – 32/0 [1]
NoticeBoard: holud_himu is on fire!
Bat/Bowl: holud_himu, Nipukhan post 6
BS bowlers:
Faruk_Vai [1-32-0]
Nipukhan [0-00-0] *
Extras: 0
Recent Overs: 664466

Files changed (5) hide show
  1. README.md +8 -4
  2. admin.html +188 -0
  3. index.html +0 -19
  4. registration.html +114 -0
  5. superowner.html +235 -0
README.md CHANGED
@@ -1,10 +1,14 @@
1
  ---
2
- title: Fantasydraftcrickettournament
3
- emoji: ⚡
4
- colorFrom: yellow
5
  colorTo: blue
 
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
1
  ---
2
+ title: FantasyDraftCricketTournament 🏏
3
+ colorFrom: purple
 
4
  colorTo: blue
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
14
+
admin.html ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>FDCT Admin Panel</title>
7
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css">
8
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
9
+ </head>
10
+ <body class="bg-light">
11
+ <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
12
+ <div class="container">
13
+ <a class="navbar-brand" href="#">FDCT Admin</a>
14
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
15
+ <span class="navbar-toggler-icon"></span>
16
+ </button>
17
+ <div class="collapse navbar-collapse" id="navbarNav">
18
+ <ul class="navbar-nav">
19
+ <li class="nav-item">
20
+ <a class="nav-link active" href="#"><i class="bi bi-house-door"></i> Dashboard</a>
21
+ </li>
22
+ <li class="nav-item">
23
+ <a class="nav-link" href="#"><i class="bi bi-people"></i> Users</a>
24
+ </li>
25
+ <li class="nav-item">
26
+ <a class="nav-link" href="#"><i class="bi bi-trophy"></i> Teams</a>
27
+ </li>
28
+ <li class="nav-item">
29
+ <a class="nav-link" href="#"><i class="bi bi-calendar-event"></i> Schedule</a>
30
+ </li>
31
+ </ul>
32
+ </div>
33
+ </div>
34
+ </nav>
35
+
36
+ <div class="container py-4">
37
+ <div class="row mb-4">
38
+ <div class="col-md-4">
39
+ <div class="card text-white bg-success mb-3">
40
+ <div class="card-body">
41
+ <div class="d-flex justify-content-between align-items-center">
42
+ <div>
43
+ <h5>Registered Users</h5>
44
+ <h2 class="mb-0">42</h2>
45
+ </div>
46
+ <i class="bi bi-people fs-1"></i>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ <div class="col-md-4">
52
+ <div class="card text-white bg-info mb-3">
53
+ <div class="card-body">
54
+ <div class="d-flex justify-content-between align-items-center">
55
+ <div>
56
+ <h5>Teams</h5>
57
+ <h2 class="mb-0">10</h2>
58
+ </div>
59
+ <i class="bi bi-trophy fs-1"></i>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ <div class="col-md-4">
65
+ <div class="card text-white bg-warning mb-3">
66
+ <div class="card-body">
67
+ <div class="d-flex justify-content-between align-items-center">
68
+ <div>
69
+ <h5>Upcoming Matches</h5>
70
+ <h2 class="mb-0">5</h2>
71
+ </div>
72
+ <i class="bi bi-calendar-event fs-1"></i>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ </div>
78
+
79
+ <div class="card mb-4">
80
+ <div class="card-header bg-primary text-white">
81
+ <h5 class="mb-0">Create New Thread</h5>
82
+ </div>
83
+ <div class="card-body">
84
+ <form>
85
+ <div class="mb-3">
86
+ <label for="threadTitle" class="form-label">Thread Title</label>
87
+ <input type="text" class="form-control" id="threadTitle" placeholder="FDCT XX - Registration">
88
+ </div>
89
+ <div class="mb-3">
90
+ <label for="threadType" class="form-label">Thread Type</label>
91
+ <select class="form-select" id="threadType">
92
+ <option value="registration">Registration</option>
93
+ <option value="teams">Teams Announcement</option>
94
+ <option value="schedule">Match Schedule</option>
95
+ <option value="results">Match Results</option>
96
+ </select>
97
+ </div>
98
+ <div class="mb-3">
99
+ <label for="threadContent" class="form-label">Content</label>
100
+ <textarea class="form-control" id="threadContent" rows="5"></textarea>
101
+ </div>
102
+ <button type="submit" class="btn btn-primary">Create Thread</button>
103
+ </form>
104
+ </div>
105
+ </div>
106
+
107
+ <div class="card">
108
+ <div class="card-header bg-primary text-white">
109
+ <h5 class="mb-0">Manage Badges</h5>
110
+ </div>
111
+ <div class="card-body">
112
+ <div class="table-responsive">
113
+ <table class="table table-striped">
114
+ <thead>
115
+ <tr>
116
+ <th>Username</th>
117
+ <th>Current Role</th>
118
+ <th>Assign Badge</th>
119
+ <th>Actions</th>
120
+ </tr>
121
+ </thead>
122
+ <tbody>
123
+ <tr>
124
+ <td>mostakim</td>
125
+ <td>Super Owner</td>
126
+ <td>
127
+ <select class="form-select">
128
+ <option selected>None</option>
129
+ <option>Super Owner</option>
130
+ <option>Captain</option>
131
+ </select>
132
+ </td>
133
+ <td>
134
+ <button class="btn btn-sm btn-success">Save</button>
135
+ </td>
136
+ </tr>
137
+ <tr>
138
+ <td>holud_himu</td>
139
+ <td>Super Owner</td>
140
+ <td>
141
+ <select class="form-select">
142
+ <option selected>None</option>
143
+ <option>Super Owner</option>
144
+ <option>Captain</option>
145
+ </select>
146
+ </td>
147
+ <td>
148
+ <button class="btn btn-sm btn-success">Save</button>
149
+ </td>
150
+ </tr>
151
+ <tr>
152
+ <td>esha</td>
153
+ <td>Captain</td>
154
+ <td>
155
+ <select class="form-select">
156
+ <option selected>None</option>
157
+ <option>Super Owner</option>
158
+ <option>Captain</option>
159
+ </select>
160
+ </td>
161
+ <td>
162
+ <button class="btn btn-sm btn-success">Save</button>
163
+ </td>
164
+ </tr>
165
+ <tr>
166
+ <td>soto_khoka</td>
167
+ <td>Captain</td>
168
+ <td>
169
+ <select class="form-select">
170
+ <option selected>None</option>
171
+ <option>Super Owner</option>
172
+ <option>Captain</option>
173
+ </select>
174
+ </td>
175
+ <td>
176
+ <button class="btn btn-sm btn-success">Save</button>
177
+ </td>
178
+ </tr>
179
+ </tbody>
180
+ </table>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ </div>
185
+
186
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
187
+ </body>
188
+ </html>
index.html CHANGED
@@ -1,19 +0,0 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
registration.html ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>FDCT Registration</title>
7
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css">
8
+ <style>
9
+ .role-card {
10
+ transition: all 0.3s;
11
+ cursor: pointer;
12
+ }
13
+ .role-card:hover {
14
+ transform: translateY(-5px);
15
+ box-shadow: 0 10px 20px rgba(0,0,0,0.1);
16
+ }
17
+ .selected {
18
+ border: 3px solid #0d6efd;
19
+ }
20
+ </style>
21
+ </head>
22
+ <body class="bg-light">
23
+ <div class="container py-5">
24
+ <div class="text-center mb-5">
25
+ <img src="http://static.photos/sport/320x240/42" alt="Cricket Logo" class="rounded-circle mb-3" width="120">
26
+ <h1>FDCT XX Registration</h1>
27
+ <p class="lead">Choose your role for the tournament</p>
28
+ </div>
29
+
30
+ <form id="registrationForm">
31
+ <div class="mb-4">
32
+ <label for="username" class="form-label">Username</label>
33
+ <input type="text" class="form-control" id="username" required>
34
+ </div>
35
+
36
+ <div class="mb-4">
37
+ <label for="email" class="form-label">Email</label>
38
+ <input type="email" class="form-control" id="email" required>
39
+ </div>
40
+
41
+ <div class="row g-4 mb-4">
42
+ <div class="col-md-4" onclick="selectRole('super-owner')">
43
+ <div class="card role-card h-100" id="super-owner-card">
44
+ <div class="card-body text-center">
45
+ <div class="mb-3">
46
+ <img src="http://static.photos/finance/200x200/1" alt="Super Owner" class="rounded-circle" width="80">
47
+ </div>
48
+ <h5>Super Owner</h5>
49
+ <p class="text-muted">Own and manage one or more teams</p>
50
+ <input type="radio" name="role" value="super-owner" hidden>
51
+ </div>
52
+ </div>
53
+ </div>
54
+
55
+ <div class="col-md-4" onclick="selectRole('captain')">
56
+ <div class="card role-card h-100" id="captain-card">
57
+ <div class="card-body text-center">
58
+ <div class="mb-3">
59
+ <img src="http://static.photos/people/200x200/2" alt="Captain" class="rounded-circle" width="80">
60
+ </div>
61
+ <h5>Captain</h5>
62
+ <p class="text-muted">Lead your team to victory</p>
63
+ <input type="radio" name="role" value="captain" hidden>
64
+ </div>
65
+ </div>
66
+ </div>
67
+
68
+ <div class="col-md-4" onclick="selectRole('player')">
69
+ <div class="card role-card h-100" id="player-card">
70
+ <div class="card-body text-center">
71
+ <div class="mb-3">
72
+ <img src="http://static.photos/sport/200x200/3" alt="Player" class="rounded-circle" width="80">
73
+ </div>
74
+ <h5>Player</h5>
75
+ <p class="text-muted">Play matches as team member</p>
76
+ <input type="radio" name="role" value="player" hidden>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ </div>
81
+
82
+ <div class="mb-4">
83
+ <label for="password" class="form-label">Password</label>
84
+ <input type="password" class="form-control" id="password" required>
85
+ </div>
86
+
87
+ <div class="mb-4">
88
+ <label for="confirmPassword" class="form-label">Confirm Password</label>
89
+ <input type="password" class="form-control" id="confirmPassword" required>
90
+ </div>
91
+
92
+ <div class="d-grid">
93
+ <button type="submit" class="btn btn-primary btn-lg">Register</button>
94
+ </div>
95
+ </form>
96
+ </div>
97
+
98
+ <script>
99
+ function selectRole(role) {
100
+ document.querySelectorAll('.role-card').forEach(card => {
101
+ card.classList.remove('selected');
102
+ });
103
+ document.getElementById(`${role}-card`).classList.add('selected');
104
+ document.querySelector(`input[value="${role}"]`).checked = true;
105
+ }
106
+
107
+ document.getElementById('registrationForm').addEventListener('submit', function(e) {
108
+ e.preventDefault();
109
+ alert('Registration successful! Welcome to FDCT XX');
110
+ // In a real app, you would handle the form submission here
111
+ });
112
+ </script>
113
+ </body>
114
+ </html>
superowner.html ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>FDCT Super Owner Dashboard</title>
7
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css">
8
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
9
+ <style>
10
+ .team-logo {
11
+ width: 50px;
12
+ height: 50px;
13
+ object-fit: cover;
14
+ }
15
+ </style>
16
+ </head>
17
+ <body class="bg-light">
18
+ <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
19
+ <div class="container">
20
+ <a class="navbar-brand" href="#">
21
+ <i class="bi bi-shield-shaded me-2"></i>Super Owner
22
+ </a>
23
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
24
+ <span class="navbar-toggler-icon"></span>
25
+ </button>
26
+ <div class="collapse navbar-collapse" id="navbarNav">
27
+ <ul class="navbar-nav ms-auto">
28
+ <li class="nav-item">
29
+ <a class="nav-link" href="#"><i class="bi bi-person-circle"></i> Profile</a>
30
+ </li>
31
+ <li class="nav-item">
32
+ <a class="nav-link" href="#"><i class="bi bi-box-arrow-right"></i> Logout</a>
33
+ </li>
34
+ </ul>
35
+ </div>
36
+ </div>
37
+ </nav>
38
+
39
+ <div class="container py-4">
40
+ <div class="d-flex justify-content-between align-items-center mb-4">
41
+ <h2 class="mb-0">Your Teams</h2>
42
+ <button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#createTeamModal">
43
+ <i class="bi bi-plus-lg"></i> Create Team
44
+ </button>
45
+ </div>
46
+
47
+ <div class="row">
48
+ <div class="col-md-6 col-lg-4 mb-4">
49
+ <div class="card h-100">
50
+ <div class="card-header bg-primary text-white">
51
+ <div class="d-flex justify-content-between align-items-center">
52
+ <h5 class="mb-0">Team AH</h5>
53
+ <span class="badge bg-light text-dark">Captain: soto_khoka</span>
54
+ </div>
55
+ </div>
56
+ <div class="card-body">
57
+ <div class="d-flex align-items-center mb-3">
58
+ <img src="http://static.photos/sport/200x200/42" alt="Team Logo" class="team-logo rounded-circle me-3">
59
+ <div>
60
+ <h6 class="mb-0">Owner: holud_himu</h6>
61
+ <small class="text-muted">Created: 15 Oct 2023</small>
62
+ </div>
63
+ </div>
64
+ <ul class="list-group list-group-flush mb-3">
65
+ <li class="list-group-item d-flex justify-content-between align-items-center">
66
+ holud_himu (O)
67
+ <span class="badge bg-primary">Owner</span>
68
+ </li>
69
+ <li class="list-group-item d-flex justify-content-between align-items-center">
70
+ Dhew
71
+ <span class="badge bg-secondary">Player</span>
72
+ </li>
73
+ <li class="list-group-item d-flex justify-content-between align-items-center">
74
+ Soto_Khoka (C)
75
+ <span class="badge bg-success">Captain</span>
76
+ </li>
77
+ <li class="list-group-item d-flex justify-content-between align-items-center">
78
+ Jahangir
79
+ <span class="badge bg-secondary">Player</span>
80
+ </li>
81
+ </ul>
82
+ <div class="d-grid gap-2">
83
+ <button class="btn btn-sm btn-outline-primary">Edit Team</button>
84
+ <button class="btn btn-sm btn-outline-danger">Delete Team</button>
85
+ </div>
86
+ </div>
87
+ </div>
88
+ </div>
89
+
90
+ <div class="col-md-6 col-lg-4 mb-4">
91
+ <div class="card h-100">
92
+ <div class="card-header bg-primary text-white">
93
+ <div class="d-flex justify-content-between align-items-center">
94
+ <h5 class="mb-0">Team AH 2.0</h5>
95
+ <span class="badge bg-light text-dark">Captain: maxwell</span>
96
+ </div>
97
+ </div>
98
+ <div class="card-body">
99
+ <div class="d-flex align-items-center mb-3">
100
+ <img src="http://static.photos/sport/200x200/43" alt="Team Logo" class="team-logo rounded-circle me-3">
101
+ <div>
102
+ <h6 class="mb-0">Owner: holud_himu</h6>
103
+ <small class="text-muted">Created: 17 Oct 2023</small>
104
+ </div>
105
+ </div>
106
+ <ul class="list-group list-group-flush mb-3">
107
+ <li class="list-group-item d-flex justify-content-between align-items-center">
108
+ Abha
109
+ <span class="badge bg-secondary">Player</span>
110
+ </li>
111
+ <li class="list-group-item d-flex justify-content-between align-items-center">
112
+ Durbin
113
+ <span class="badge bg-secondary">Player</span>
114
+ </li>
115
+ <li class="list-group-item d-flex justify-content-between align-items-center">
116
+ Maxwell (C)
117
+ <span class="badge bg-success">Captain</span>
118
+ </li>
119
+ <li class="list-group-item d-flex justify-content-between align-items-center">
120
+ Quiinn
121
+ <span class="badge bg-secondary">Player</span>
122
+ </li>
123
+ </ul>
124
+ <div class="d-grid gap-2">
125
+ <button class="btn btn-sm btn-outline-primary">Edit Team</button>
126
+ <button class="btn btn-sm btn-outline-danger">Delete Team</button>
127
+ </div>
128
+ </div>
129
+ </div>
130
+ </div>
131
+
132
+ <div class="col-md-6 col-lg-4 mb-4">
133
+ <div class="card h-100">
134
+ <div class="card-header bg-primary text-white">
135
+ <div class="d-flex justify-content-between align-items-center">
136
+ <h5 class="mb-0">Team AH 3.0</h5>
137
+ <span class="badge bg-light text-dark">Captain: knight</span>
138
+ </div>
139
+ </div>
140
+ <div class="card-body">
141
+ <div class="d-flex align-items-center mb-3">
142
+ <img src="http://static.photos/sport/200x200/44" alt="Team Logo" class="team-logo rounded-circle me-3">
143
+ <div>
144
+ <h6 class="mb-0">Owner: holud_himu</h6>
145
+ <small class="text-muted">Created: 19 Oct 2023</small>
146
+ </div>
147
+ </div>
148
+ <ul class="list-group list-group-flush mb-3">
149
+ <li class="list-group-item d-flex justify-content-between align-items-center">
150
+ Lebu_vai
151
+ <span class="badge bg-secondary">Player</span>
152
+ </li>
153
+ <li class="list-group-item d-flex justify-content-between align-items-center">
154
+ iquu
155
+ <span class="badge bg-secondary">Player</span>
156
+ </li>
157
+ <li class="list-group-item d-flex justify-content-between align-items-center">
158
+ Sabira
159
+ <span class="badge bg-secondary">Player</span>
160
+ </li>
161
+ <li class="list-group-item d-flex justify-content-between align-items-center">
162
+ Knight (C)
163
+ <span class="badge bg-success">Captain</span>
164
+ </li>
165
+ </ul>
166
+ <div class="d-grid gap-2">
167
+ <button class="btn btn-sm btn-outline-primary">Edit Team</button>
168
+ <button class="btn btn-sm btn-outline-danger">Delete Team</button>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </div>
175
+
176
+ <!-- Create Team Modal -->
177
+ <div class="modal fade" id="createTeamModal" tabindex="-1" aria-hidden="true">
178
+ <div class="modal-dialog">
179
+ <div class="modal-content">
180
+ <div class="modal-header">
181
+ <h5 class="modal-title">Create New Team</h5>
182
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
183
+ </div>
184
+ <div class="modal-body">
185
+ <form>
186
+ <div class="mb-3">
187
+ <label for="teamName" class="form-label">Team Name</label>
188
+ <input type="text" class="form-control" id="teamName" required>
189
+ </div>
190
+ <div class="mb-3">
191
+ <label for="teamLogo" class="form-label">Team Logo</label>
192
+ <input type="file" class="form-control" id="teamLogo">
193
+ </div>
194
+ <div class="mb-3">
195
+ <label for="selectCaptain" class="form-label">Select Captain</label>
196
+ <select class="form-select" id="selectCaptain">
197
+ <option selected>Choose captain...</option>
198
+ <option>esha</option>
199
+ <option>frozen</option>
200
+ <option>soto_khoka</option>
201
+ <option>maxwell</option>
202
+ <option>knight</option>
203
+ </select>
204
+ </div>
205
+ <div class="mb-3">
206
+ <label class="form-label">Select Players</label>
207
+ <div class="form-check">
208
+ <input class="form-check-input" type="checkbox" id="jahangir">
209
+ <label class="form-check-label" for="jahangir">Jahangir</label>
210
+ </div>
211
+ <div class="form-check">
212
+ <input class="form-check-input" type="checkbox" id="dhew">
213
+ <label class="form-check-label" for="dhew">Dhew</label>
214
+ </div>
215
+ <div class="form-check">
216
+ <input class="form-check-input" type="checkbox" id="durbin">
217
+ <label class="form-check-label" for="durbin">Durbin</label>
218
+ </div>
219
+ <div class="form-check">
220
+ <input class="form-check-input" type="checkbox" id="mostakim">
221
+ <label class="form-check-label" for="mostakim">Mostakim</label>
222
+ </div>
223
+ </div>
224
+ <div class="d-grid">
225
+ <button type="submit" class="btn btn-primary">Create Team</button>
226
+ </div>
227
+ </form>
228
+ </div>
229
+ </div>
230
+ </div>
231
+ </div>
232
+
233
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
234
+ </body>
235
+ </html>