Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
562 commits
Select commit Hold shift + click to select a range
a2dc07e
inside house fix
aliyatang May 20, 2024
c373cc4
testing websockets and reset position changes
TheoH32 May 21, 2024
dc006a7
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
TheoH32 May 21, 2024
05c43c5
almost done with new move
F1nnC May 21, 2024
23abc3f
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
F1nnC May 21, 2024
e470529
mhm
vivianknee May 21, 2024
4362b17
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 21, 2024
34deff2
change cmpter img
aliyatang May 21, 2024
86814fe
change cmpter img
aliyatang May 21, 2024
f89a72d
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
aliyatang May 21, 2024
1ff0b25
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
aliyatang May 21, 2024
ace961c
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
aliyatang May 21, 2024
eb6c160
blank screen wide change
aliyatang May 21, 2024
74541f3
ds
vivianknee May 21, 2024
064a4df
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 21, 2024
02a60e4
d
vivianknee May 21, 2024
5845a3f
d
vivianknee May 21, 2024
cf54cb8
change blank screen wide
aliyatang May 21, 2024
4127ee3
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 21, 2024
ad18084
comp screen remove icons
aliyatang May 21, 2024
13e6faf
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 21, 2024
6eb1ab6
fixing how equipping gear works, will no longer reload page
F1nnC May 22, 2024
e5d375e
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
F1nnC May 22, 2024
d4ce92b
update
aliyatang May 22, 2024
480043e
testing something
Jyustin May 22, 2024
fe42889
code refactor
Jyustin May 22, 2024
2dfedc0
Merge branch 'emma' of https://github.com/Codemaxxers/codemaxxerFront…
emmaxshen May 23, 2024
717bb34
Merge pull request #59 from Codemaxxers/emma
emmaxshen May 23, 2024
20fdfac
speed faster, no more overlap
emmaxshen May 23, 2024
8589e69
input history not appear
emmaxshen May 23, 2024
f767db7
push
emmaxshen May 23, 2024
4093eb5
d
vivianknee May 23, 2024
a42d51d
Merge branch 'emma' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 23, 2024
cbe0125
Merge pull request #60 from Codemaxxers/emma
emmaxshen May 23, 2024
0bb0883
Merge pull request #39 from Codemaxxers/vivian
emmaxshen May 23, 2024
1ab0b75
hello
emmaxshen May 23, 2024
da2ad09
Merge branch 'emma' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 23, 2024
3f53995
Merge branch 'emma' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 23, 2024
2eaeec1
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 23, 2024
c476484
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 23, 2024
9ca48f4
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
emmaxshen May 23, 2024
30225ac
merge
emmaxshen May 23, 2024
3880469
pls work w vivian stuff
emmaxshen May 23, 2024
b464116
chages
emmaxshen May 23, 2024
db04dd0
compscreen buttons
aliyatang May 24, 2024
8989af8
Merge pull request #61 from Codemaxxers/aliya
aliyatang May 24, 2024
9dc4b59
keys collected get request
vivianknee May 24, 2024
7d80654
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 24, 2024
d4ef79e
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 24, 2024
9bedae9
playerFight wireframe
F1nnC May 24, 2024
a9f3195
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
F1nnC May 24, 2024
72b6669
Update README.md
TheoH32 May 24, 2024
555977d
gravity csp
gwang1224 May 24, 2024
46df7e0
change enddpoint
gwang1224 May 24, 2024
f2fb024
update
gwang1224 May 24, 2024
a13bd1d
test
gwang1224 May 24, 2024
8c4d953
gravity that works
gwang1224 May 24, 2024
c44655e
update
gwang1224 May 24, 2024
afb9f17
keys get request works!
vivianknee May 24, 2024
2d77ca5
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 24, 2024
8014c1a
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 24, 2024
8cc7055
PLEASEE
vivianknee May 24, 2024
26cbf98
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 24, 2024
c3bc0f2
Merge pull request #62 from Codemaxxers/vivian
vivianknee May 24, 2024
5825960
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 24, 2024
d1ac72b
close button freeze game and then resumes once press on game again
emmaxshen May 25, 2024
8529201
Merge pull request #63 from Codemaxxers/emma
emmaxshen May 25, 2024
885e89e
YAYYYY IT APPEARS
vivianknee May 26, 2024
d5b64d9
debugging done, final version
vivianknee May 26, 2024
da6833e
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 26, 2024
1f508e7
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
vivianknee May 26, 2024
02d689b
Merge branch 'aliya' of https://github.com/Codemaxxers/codemaxxerFron…
vivianknee May 26, 2024
167eca2
can now add game plays yaay
vivianknee May 27, 2024
a8c09d5
d
vivianknee May 27, 2024
452fe93
gravity w/ a nice background
gwang1224 May 27, 2024
edd0c73
fix phishing game buttons
emmaxshen May 27, 2024
b00a371
reset buttons working for gravity and phishing
emmaxshen May 27, 2024
65d23ab
Merge pull request #64 from Codemaxxers/emma
emmaxshen May 27, 2024
f5e7380
Merge branch 'vivian' of https://github.com/Codemaxxers/codemaxxerFro…
emmaxshen May 27, 2024
4a8db4f
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 27, 2024
37f1c3b
Merge branch 'vivian' of https://github.com/Codemaxxers/codemaxxerFro…
aliyatang May 27, 2024
12cbe3a
Merge pull request #65 from Codemaxxers/aliya
aliyatang May 27, 2024
a3bf0ea
df
vivianknee May 27, 2024
9b4a4e1
key post request
vivianknee May 27, 2024
54f3871
post request to add/delete keys working
vivianknee May 27, 2024
24ed8d5
reset game play post request works
vivianknee May 27, 2024
6a82dd8
limit of 3 keys
vivianknee May 27, 2024
54bcf9b
power up options popup yay
aliyatang May 27, 2024
fbb2ba6
power up options popup
aliyatang May 27, 2024
08e2a0e
Merge branch 'aliya' of https://github.com/Codemaxxers/codemaxxerFron…
aliyatang May 27, 2024
a8d8f0d
use powerup functions draft
aliyatang May 27, 2024
4c44868
removekey to each use powerup
aliyatang May 27, 2024
4eb13df
mhm
vivianknee May 27, 2024
e92def6
testing on main lmao
Jyustin May 28, 2024
18f41f7
i keep dreaming
Jyustin May 28, 2024
359997c
more test
Jyustin May 28, 2024
6422df9
trst
Jyustin May 28, 2024
5406887
rm input
gwang1224 May 28, 2024
7d116fc
gravity full screen
gwang1224 May 28, 2024
1bc5789
revert
gwang1224 May 28, 2024
4fa08d1
update
gwang1224 May 28, 2024
479e4ed
usehint function
aliyatang May 28, 2024
9f304fd
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
emmaxshen May 28, 2024
790a4af
Merge pull request #67 from Codemaxxers/emma
emmaxshen May 28, 2024
9035994
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
vivianknee May 28, 2024
3d99236
d
vivianknee May 28, 2024
9bbac27
fixed password check button silly silly
emmaxshen May 28, 2024
5456af0
add x button to popup
aliyatang May 28, 2024
8cbb0d2
Merge pull request #68 from Codemaxxers/aliya
aliyatang May 28, 2024
58033d3
f
vivianknee May 28, 2024
7acd106
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
vivianknee May 28, 2024
249e05b
gravity background update
gwang1224 May 28, 2024
825412c
phishing start game
aliyatang May 28, 2024
844350d
background update
gwang1224 May 28, 2024
b6c18d6
?
gwang1224 May 28, 2024
024eb3f
background
gwang1224 May 28, 2024
d1eba18
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 28, 2024
000848d
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 28, 2024
ad501a8
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 28, 2024
ca6f3dc
start for phishing
aliyatang May 28, 2024
ca92f95
websockets?
rachit-j May 28, 2024
9a1edd7
oopsie poopsie
rachit-j May 28, 2024
aa863da
new socket protocols?
rachit-j May 28, 2024
cfe4202
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 28, 2024
785e616
lol
vivianknee May 28, 2024
b17bd3f
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
vivianknee May 28, 2024
6a8e768
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 28, 2024
d887f41
websocket secure?
rachit-j May 28, 2024
078db11
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 28, 2024
bb1dd0f
merge
aliyatang May 28, 2024
c76bfbd
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 28, 2024
bfc94e6
merge:
aliyatang May 28, 2024
8e1a848
Merge pull request #69 from Codemaxxers/aliya
aliyatang May 28, 2024
23df275
dsf
vivianknee May 28, 2024
8d58115
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
vivianknee May 28, 2024
0f62db0
phishing game start
aliyatang May 28, 2024
555fdb4
woorking
rachit-j May 28, 2024
a0d860c
frontend frq
lunaiwa May 28, 2024
131a671
Merge pull request #70 from Codemaxxers/luna-branch
lunaiwa May 28, 2024
3a183bb
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
emmaxshen May 28, 2024
ee81ca7
more testing on main
Jyustin May 28, 2024
63597de
edited
Jyustin May 28, 2024
a215179
final fix
Jyustin May 28, 2024
2fe8ee6
Merge pull request #71 from Codemaxxers/emma
emmaxshen May 28, 2024
0189e46
run on main
Jyustin May 28, 2024
05e1b65
back to localhost L
Jyustin May 28, 2024
5771175
i hope this works
Jyustin May 28, 2024
d96770b
,
Jyustin May 28, 2024
0b28375
need to test something
Jyustin May 28, 2024
c659cdd
lobby frontend development so far
TheoH32 May 28, 2024
dc5ca8c
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
TheoH32 May 28, 2024
8be2733
back to main
Jyustin May 28, 2024
3a6c423
Integrated with Person.
DeadshotLegend May 29, 2024
fc405d5
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
DeadshotLegend May 29, 2024
10e63a4
Integrated URIs
DeadshotLegend May 29, 2024
1de7b73
Removed Person ID Parama
DeadshotLegend May 29, 2024
889662f
checkpoint
TheoH32 May 29, 2024
456fd0a
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
TheoH32 May 29, 2024
6c33250
I think fully finishing create lobby code
TheoH32 May 29, 2024
f952e44
yuck
vivianknee May 29, 2024
31cf8cb
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
vivianknee May 29, 2024
d152938
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 29, 2024
6144c2f
QOL changes
TheoH32 May 29, 2024
3e06149
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
TheoH32 May 29, 2024
466788c
characterData fetching in joinLobby
TheoH32 May 29, 2024
0f50a26
finishing touched on joining and creating lobbies
TheoH32 May 29, 2024
577da49
hint work please
vivianknee May 29, 2024
d97b25f
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
vivianknee May 29, 2024
7993ee1
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 29, 2024
0d74cc4
QOL changes
TheoH32 May 29, 2024
2721efc
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
TheoH32 May 29, 2024
b497375
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 29, 2024
676c384
fixing live link
TheoH32 May 29, 2024
8b63b25
hint
vivianknee May 29, 2024
40ada17
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
vivianknee May 29, 2024
3916593
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFront…
aliyatang May 29, 2024
eca76fd
Merge pull request #73 from Codemaxxers/aliya
aliyatang May 29, 2024
058ee67
back to loacl
Jyustin May 29, 2024
606459e
:(
Jyustin May 29, 2024
a7bb62e
back to main
Jyustin May 29, 2024
d4835b9
first big batch of multiplayer work
TheoH32 May 29, 2024
68403fe
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
TheoH32 May 29, 2024
e911db9
closer to end goal :)
TheoH32 May 29, 2024
fed38a8
another checkpoint --> closer to attacking working
TheoH32 May 29, 2024
11c4a31
Merge branch 'main' into main
DeadshotLegend May 29, 2024
48e3f2f
new prototyping game turns
TheoH32 May 29, 2024
16ca4b3
finishing touches
TheoH32 May 29, 2024
9f78709
black text
TheoH32 May 29, 2024
b4ff063
fixing joinLobby
TheoH32 May 29, 2024
db0eac0
bug fixes
TheoH32 May 29, 2024
8613031
final face ai commit
tanishapatil1234 May 29, 2024
97c360b
added initialDataLoaded var to fix turn bug?
TheoH32 May 29, 2024
dd42471
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
TheoH32 May 29, 2024
48d5a5b
fixing bugs
TheoH32 May 29, 2024
67826c5
reverting last change
TheoH32 May 29, 2024
39a6450
reverting bux fixes
TheoH32 May 29, 2024
9f8ccf8
Merge pull request #72 from DeadshotLegend/main
Jyustin May 29, 2024
e2d6d1b
Revert "Chat Bot changes"
Jyustin May 29, 2024
5fca06e
Merge pull request #74 from Codemaxxers/revert-72-main
Jyustin May 29, 2024
33f379c
removing window reload for attacking
TheoH32 May 29, 2024
ad14ccd
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
TheoH32 May 29, 2024
cfdc432
commit test
aliyatang May 29, 2024
b33f422
Revert "Revert "Chat Bot changes""
Jyustin May 29, 2024
0803484
Delete individual Chats
DeadshotLegend May 29, 2024
68ffd22
Merge pull request #75 from Codemaxxers/revert-74-revert-72-main
Jyustin May 29, 2024
5b2c7ff
Merge pull request #76 from DeadshotLegend/main
Jyustin May 29, 2024
45e2400
hint hehe
aliyatang May 29, 2024
fdf5707
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
aliyatang May 29, 2024
4b69290
fix
Jyustin May 29, 2024
4047e21
Merge remote-tracking branch 'refs/remotes/origin/main'
Jyustin May 29, 2024
da969df
hint hehe2
aliyatang May 29, 2024
72c73f6
event listener
Jyustin May 29, 2024
760efcf
test
Jyustin May 29, 2024
d5b68e4
L
Jyustin May 29, 2024
3670b46
another one
Jyustin May 29, 2024
058a28f
sry
Jyustin May 29, 2024
c8bda4b
not sorry >:)
Jyustin May 29, 2024
ec9016e
ok
vivianknee May 30, 2024
a296f14
main
aliyatang May 30, 2024
8487466
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
aliyatang May 30, 2024
8260645
stop
Jyustin May 30, 2024
e259ad3
PRAY FOR LAST MINUTE NATM FIXES
TheoH32 May 30, 2024
36ff305
Merge branch 'main' of https://github.com/Codemaxxers/codemaxxerFrontend
TheoH32 May 30, 2024
386a481
Update chatbot.js
DeadshotLegend May 30, 2024
e61fdaa
back to local
Jyustin May 30, 2024
7d6215d
URI is now localhost for backend
DeadshotLegend May 30, 2024
cb5aa50
Merge pull request #77 from DeadshotLegend/main
Jyustin May 30, 2024
b29e12b
test
Jyustin May 30, 2024
ef08eda
edits
Jyustin May 30, 2024
8ab4be3
d
Jyustin May 30, 2024
1422ccf
test
Jyustin May 30, 2024
0f3b07b
:)
Jyustin May 30, 2024
d5e0579
PersonId Fix
DeadshotLegend May 30, 2024
bac138b
Merge pull request #78 from DeadshotLegend/patch-1
Jyustin May 30, 2024
b31565d
finally on deployed
Jyustin May 30, 2024
71e8677
followup
Jyustin May 30, 2024
baefe61
AAAAAAA
Jyustin May 30, 2024
5701ad9
oop
Jyustin May 30, 2024
80ebd1e
nvm
Jyustin May 30, 2024
be06d40
changing backend url to render
TheoH32 Apr 14, 2025
dcef59f
fixing ruby
TheoH32 Apr 14, 2025
00fcea7
updating deprecated artificat
TheoH32 Apr 14, 2025
11a62b1
changing missed deprecated artificat
TheoH32 Apr 15, 2025
f38ea4f
changing jekyll artifact to v3
TheoH32 Apr 15, 2025
8794ca7
adding artifact names
TheoH32 Apr 15, 2025
1e89f5f
updating deploy pages version
TheoH32 Apr 15, 2025
3f5613f
changing all aws links to render links
TheoH32 Apr 15, 2025
4b07961
changing sumText to white
TheoH32 Apr 16, 2025
b391018
style changes
TheoH32 Apr 16, 2025
1e846b4
adding to scss file
TheoH32 Apr 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
7 changes: 5 additions & 2 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ jobs:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ./_site

# Deployment job
deploy:
Expand All @@ -54,4 +57,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
10 changes: 6 additions & 4 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
ruby-version: '3.1'
bundler-cache: true
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
Expand All @@ -50,6 +49,9 @@ jobs:
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ./_site

# Deployment job
deploy:
Expand Down
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"cSpell.words": [
"gmodal",
"insidehouse",
"passmodal",
"phishmodal"
]
}
188 changes: 7 additions & 181 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,183 +1,9 @@
# IMPORTANT
# READ ME

- Go to settings and configure pages, deploy from the branch, and then select the root folder. IF YOU DO NOT DO THIS YOUR PAGE WILL NOT BUILD.
## Description
Codemaxxers is a web-based RPG game we made for Del Norte Highschool's APCSP, APCSA, and CSSE classes. Our goal was to make an interactive way that current and future classes could learn while having fun. We have a single-player mode that emphasizes our Pokemon inspired fight. Our multiplayer mode is meant for friends to prove who is the better coder.

- Incase of issues with the user for your repository not being able to be resolved resulting in the page not building do the following: instead of the usual `repository: yourNameHere` in the repository section write `repository: usr/yourNameHere`

## File Names

- To name a file, use the following structure (Note that dates should never be in the future and should always be in the format YYYY-MM-DD):

- Make sure that notebooks are in the notebook folder and posts are in the posts folder.

- For markdown files in _posts:
- year-month-day-fileName.md
- GOOD EXAMPLE: 2021-08-02-First-Day.md
- BAD EXAMPLE: 2021-8-2-first-day.md
- BAD EXAMPLE: first-day.md
- BAD EXAMPLE: 2069-12-31-First-Day.md

- For jupyter notebooks in _notebooks:
- year-month-day-fileName.ipynb
- GOOD EXAMPLE: 2021-08-02-First-Day.ipynb
- BAD EXAMPLE: 2021-8-2-first-day.ipynb
- BAD EXAMPLE: first-day.ipynb
- BAD EXAMPLE: 2069-12-31-First-Day.ipynb


## NIGHTHAWK-Pages CHANGES

### NEW FOR NIGHTHAWK-Pages - TAGS

- Tags are used to organize pages by their tag the way to add tags is to add the following to your front matter such as the example seen here `categories: [C1.4]` each item in the same category will be lumped together to be seen easily on the tags page.

### NEW FOR NIGHTHAWK-Pages - SEARCH
- All pages can be searched for using the built in search bar. This search bar will search for any word in the title of a page or in the page itself. This allows for easily finding pages and information that you are looking for. However, sometimes this may not be desirable so to hide a page from search you can add `search_exclude: true` to the front matter of the page. This will hide the page from appearing when the viewer uses search.

### NEW FOR NIGHTHAWK-Pages - NAVIGATION BAR

- To add pages to the navigation bar add them to general main directory then add the alpha tag that will order them in the way that you desire such as AA Being the first page and ZZ being the last page.

### NEW FOR NIGHTHAWK-Pages - HOME PAGE

- There is a new designed home page with all pages having images and a description of what the page is about. This is to help the viewer understand what the page is about and what they can expect to find on the page. The way to add images to a page is to have the following front matter `image: /images/file.jpg` and then the name of the image that you want to use. The image must be in the `images` folder. Furthermore if you would like the file to not show up on the main page `hide: true` can be added to the front matter.

### NEW FOR NIGHTHAWK-Pages - SASS CHANGES

- NIGHTHAWK-Pages supports a variety of different themes that are each overlaid on top of minima. To use each theme, go to the custom-styles.scss file and simply uncomment the theme you want to use. To toggle the theme off, comment the line that imports the theme in the file. To add your own themes, find the desired theme’s Github repository and make a new folder in the sass directory that’s named the name of your theme. Copy the import statement format from the other styles on custom-styles.scss, add your own import statement, and you're done. Note that adding your own themes may cause things to break and a given theme’s compatibility with NIGHTHAWK-Pages may be suboptimal. To add your own styling twist, add your own .scss file to custom-styles via import. Here is an example import `@import "minima/NIGHTHAWK-Pages-styles";`. Note that you can also add your own SCSS in the file itself in area labeled specifically for that purpose. Also you can mix different styles together in NIGHTHAWK-Pages however the effects may vary.

### NEW FOR NIGHTHAWK-Pages - INCLUDES

- NIGHTHAWK-Pages uses liquid to import many common page elements that are present throughout the repository. These common elements are imported from the _includes directory. If you want to add one of these common elements, use liquid syntax to import the desired element to your file. Here’s an example of liquid syntax used to import: `{%- include post_list.html -%}` Note that the liquid syntax is surrounded by curly braces and percent signs. This can be used anywhere in the repository.

### NEW FOR NIGHTHAWK-Pages - LAYOUTS
- To create your own page layout, make your own html page inside the _layouts directory, and when you want to use that layout in a file, use the following front matter `layout: [your layout here]` Using another pre-existing layout uses the same front matter syntax as defined above. This layout will have to be written in your own custom liquid defining the structure of the page.


### NEW FOR NIGHTHAWK-Pages - CONFIG.YML

- NIGHTHAWK-Pages allows for social links to be added at the bottom of every page, along with other things. To change the pre-set social links and names, go to the _config.yml file and change the desired category to the desired nomenclature. There are only a few supported social links that you can choose from.


## Blog site using GitHub Pages and Jekyll

> This site is intended for Students. This is to record plans, complete hacks, and do work for your learnings.

- This can be customized to support computer science as you work through pathway (JavaScript, Python/Flask, Java/Spring)
- All tangible artifact work is in a _posts|_notebooks.
- Front matter (aka meta data) in ipynb and md files is used to organize information according to week and column in running web site.

## GitHub Pages
All `GitHub Pages` websites are managed on GitHub infrastructure. GitHub uses `Jekyll` to transform your content into static websites and blogs. Each time we change files in GitHub it initiates a GitHub Action that rebuilds and publishes the site with Jekyll.
- GitHub Pages is powered by: [Jekyll](https://jekyllrb.com/).
- Published teacher website: [nighthawkcoders.github.io/teacher](https://nighthawkcoders.github.io/teacher/)

## Preparing a Preview Site

In all development, it is recommended to test your code before deployment. The GitHub Pages development process is optimized by testing your development on your local machine, prior to files on GitHub

Development Cycle. For GitHub pages, the tooling described below will create a development cycle `make-code-save-preview`. In the development cycle, it is a requirement to preview work locally, prior to doing a VSCode `commit` to git.

Deployment Cycle. In the deployment cycle, `sync-github-action-review`, it is a requirement to complete the development cycle prior to doing a VSCode `sync`. The sync triggers github repository update. The action starts the jekyll build to publish the website. Any step can have errors and will require you to do a review.

### WSL and/or Ubuntu installation requirements

- The result of these step is Ubuntu tools to run preview server. These procedures were created using [jekyllrb.com](https://jekyllrb.com/docs/installation/ubuntu/)
- Run scripts in scripts directory of student repo: setup_ubuntu.sh and activate.sh. Expected name of the repository to run these scripts is 'student'.

### MacOs installation requirements

- Ihe result of these step are MacOS tools to run preview server. These procedures were created using [jekyllrb.com](https://jekyllrb.com/docs/installation/macos/). Run scripts in scripts directory of student repo: setup_macos.sh and activate_macos.sh. Expected name of the repository to run these scripts is 'student'.

### Preview

- The result of these step is server running on: http://0.0.0.0:4100/teacher/. Regeneration messages will run in terminal on any save. Press the Enter or Return key in the terminal at any time to enter commands.

- Complete installation

```bash
bundle install
```

- Run Server. This requires running terminal commands `make`, `make stop`, `make clean`, or `make convert` to manage the running server. Logging of details will appear in terminal. A `Makefile` has been created in project to support commands and start processes.

- Start preview server in terminal

```bash
cd ~/vscode/teacher # my project location, adapt as necessary
make
```

- Terminal output of shows server address. Cmd or Ctl click http location to open preview server in browser. Example Server address message...

```text
Server address: http://0.0.0.0:4100/teacher/
```

- Save on ipynb or md activiates "regeneration". Refresh browser to see updates. Example terminal message...
```
Regenerating: 1 file(s) changed at 2023-07-31 06:54:32
_notebooks/2024-01-04-cockpit-setup.ipynb
```

- Terminal message are generated from background processes. Click return or enter to obtain prompt and use terminal as needed for other tasks. Alway return to root of project `cd ~/vscode/teacher` for all "make" actions.


- Stop preview server, but leave constructed files in project for your review.

```bash
make stop
```

- Stop server and "clean" constructed files, best choice when renaming files to eliminate potential duplicates in constructed files.

```bash
make clean
```

- Test notebook conversions, best choice to see if IPYNB conversion is acting up.

```bash
make convert
```

### Meta Data (Front Matter)

- Meta data also known as front matter is a set of key value pairs that can provide additional information to github pages about .md and .ipynb files. This can and probably will be used in other file types (ie doc, pdf), if we added them to the system.

- In the front matter you can also define things like a title and description for the page. Additional front matter is defined to place content on "Computer Science Lab Notebook" page. The `courses:` key will place data on a specific page with the nested `week:` placing data on a specific row on the page. The `type:` key in front matter will place blog under the plans, hacks(ToDo), and tangibles column.

- In our files the front matter is defined at the top of the page or the first markdown cell.

- First open one of the .md or .ipynb files already included in either your _posts|_notebooks folder.

- In the .md file you should notice something similar to this at the top of the page. To see this in your .ipynb files you will need to double click the markdown cell at the top of the file.

```yaml
---
toc: true
comments: false
layout: post
title: Daily Plan Sample
description: Example Blog!!! This shows planning and notes from hacks.
type: plans
courses: { compsci: {week: 0} }
---
```

- Front matter will always have '---' at the top and bottom to distinguish it and each key value pair will be separated by a ':'.

- Here we can modify things like the title and description.

- The type value will tells us which column this is going to appear under, supported values: `plans`, `hacks`, `tangibles`.

- The courses tells us which menu item it will be under, in this case the `compsci` menu, and the `week` tells it what row (week) it will appear under that menu.

- In our examples, hacks(ToDo) contains references to our IPYNB files; these are stored in GitHub under the `_notebooks` folder. The plans and tangibles contains references to our MD files; these are stored in GitHub under the `_posts` folder.

### Key files in Computer Science Lab Notebook

- `compsci.md` - this is the "Computer Science Lab Notebook" page and is the link `https://nighthawkcoders.github.io/student/compsci`. It contains the Title and Number of units on the page.
- `_data/compsci.yml` - this contains the supporting data that helps organize the units on the page.
- `_layouts`\schedule.html - this contains code, in the Liquid language, that generates the HTML for all the rows and columns.
- fyi, the schedule.html could work for another type of page. For instance, you could make a csa.md, _data/csa.yml, and tag files with `csa: {week: 0}` under courses.
# Table of Contents
- [Multiplayer]()
- [Fight feature]()
- [Main game]()
82 changes: 71 additions & 11 deletions _includes/side-bar.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<script src="uri.js"></script>

<div class="container">
<nav class="sidebar locked">
<div class="logo_items flex">
<span class="nav_image">
<img src="images/logo.png" alt="logo_img" />
<img src="images/RIFTlogo.png" class="logo">
</span>
<span class="logo_name">Rift</span>
<i class="bx bx-x" id="sidebar-close"></i>
Expand All @@ -15,47 +17,80 @@
<span class="line"></span>
</div>
<li class="item">
<a href="#" class="link flex">
<i class="bx bxs-magic-wand"></i>
<a href="menu" class="link flex">
<i class="bx bxs-joystick-alt"></i>
<span>Rift Game</span>
</a>
</li>
<li class="item">
<a href="#" class="link flex">
<a href="character" class="link flex">
<i class='bx bx-user-circle'></i>
<span>Character</span>
</a>
</li>
<li class="item">
<a href="dashboard" class="link flex">
<i class="bx bx-home-alt"></i>
<span>Profile</span>
<span>Dashboard</span>
</a>
</li>
<li class="item">
<a href="leaderboard" class="link flex">
<i class="bx bx-list-ol"></i>
<span>Leaderboard</span>
</a>
</li>
<li class="item">
<a href="bot" class="link flex">
<i class='bx bx-user-circle'></i>
<span>Helpful ai assistant</span>
</a>
</li>
<!-- <li class="item">
<a href="#" class="link flex">
<i class="bx bx-bell"></i>
<span>Notifications</span>
</a>
</li>
</li> -->
</ul>
<ul class="menu_item">
<div class="sidebar_profile flex">
<span class="title"><b>Setting</b></span>
<span class="title"><b>Settings</b></span>
<span class="line"></span>
</div>
<li class="item">
<!-- <li class="item">
<a href="#" class="link flex">
<i class="bx bx-flag"></i>
<span>Blog</span>
</a>
</li> -->
<li class="item">
<a href="profile" class="link flex">
<i class="bx bx-user"></i>
<span>Profile</span>
</a>
</li>
<li class="item">
<a href="characterbuilder" class="link flex">
<i class="bx bx-user"></i>
<span>AI Character Builder</span>
</a>
</li>
<li class="item">
<a href="#" class="link flex">
<i class="bx bx-cog"></i>
<span>Setting</span>
<span>Settings</span>
</a>
</li>

<li class="item">
<a href="#" class="link flex">
<a onclick="signout()" class="link flex">
<i class="bx bx-log-out"></i>
<span>Log out</span>
</a>
</li>


</ul>
</div>
<div class="sidebar_profile flex">
Expand All @@ -65,4 +100,29 @@
</div>
</div>
</nav>
</div>
</div>

<style>
.item {
cursor: pointer;
}
</style>

<script>
function signout() {
var requestOptions = {
method: 'POST',
redirect: 'follow',
credentials: 'include'
};

// LOCAL TESTING
fetch(uri + "/signout", requestOptions)
.then(response => response.text())
.then(result => {
console.log(result);
window.location.href = "login";
})
.catch(error => console.log('error', error));
}
</script>
Loading