Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
695 commits
Select commit Hold shift + click to select a range
8e05511
Initial tweaks to gridTerrain - preparing for testing + cleanup.
AlexTregub Nov 6, 2025
b1920e5
Moved tile configuration OUT of terrainGen.js - now in tiles.js. Terr…
AlexTregub Nov 6, 2025
8ed5044
made boss class more modular
afabiku Nov 6, 2025
6eefdf5
Tinkering with terrain generation - preliminary config, will need to …
AlexTregub Nov 6, 2025
ea24eae
Buildings Now Interactable
ACruz2004 Nov 6, 2025
20b8b31
walking and atttacking animation
afabiku Nov 7, 2025
0a6a8d6
bug fixes
afabiku Nov 8, 2025
6feffca
got final flash aim brush to appear. TIME TO WORK ON LOGIC
dadoge217 Nov 8, 2025
9d7e261
...
EmmanuelUka Nov 9, 2025
4053020
resource count
EmmanuelUka Nov 9, 2025
e8c5eb9
added 2x speed functionality. Refactoring powers system. Lightning wo…
dadoge217 Nov 9, 2025
7b3a35d
SHOP SPAWNS [W]
ACruz2004 Nov 9, 2025
679b6c1
Terrain generation finalized
AlexTregub Nov 9, 2025
062f380
Mostly working...
AlexTregub Nov 9, 2025
10e5b06
Cached rendering moved.
AlexTregub Nov 9, 2025
d0711a7
lightning works on the new system. Going to work on final flash
dadoge217 Nov 9, 2025
0a8b70a
Shop UI Implimented and Working
ACruz2004 Nov 9, 2025
33f1745
Testing with entire game running
AlexTregub Nov 9, 2025
c0d8d7f
Changed worldToTile, screenToWorldTile to use round instead of floor.…
AlexTregub Nov 9, 2025
3f140d9
Readded the default panels
CrazzyCrisis Nov 9, 2025
44d1a5e
Fixed the command line to spawn things again. It still works but the …
CrazzyCrisis Nov 9, 2025
4f66a04
Commented out the default panels
CrazzyCrisis Nov 9, 2025
a800eda
Mostly reasdy for push, be careful with moving camera, need to fix bo…
AlexTregub Nov 9, 2025
90707a1
Building now spawns and upgrades
ACruz2004 Nov 9, 2025
bb9147b
PR#220 PARTIAL - Grid Updated. Rendering Updated
AlexTregub Nov 9, 2025
ab68ea9
Merge branch 'Dev' into AC_GameplayLoop
ACruz2004 Nov 9, 2025
104a963
Merge pull request #223 from AlexTregub/AC_GameplayLoop
ACruz2004 Nov 9, 2025
6828f69
format
afabiku Nov 9, 2025
6bbeb04
false culling
CrazzyCrisis Nov 9, 2025
12db691
debug
EmmanuelUka Nov 9, 2025
008c606
stop movement during dialogue
EmmanuelUka Nov 10, 2025
62de4dc
FINAL FLASH!!!
dadoge217 Nov 10, 2025
8cf9746
added charge sound
dadoge217 Nov 10, 2025
c071ce9
pain in the behind
EmmanuelUka Nov 10, 2025
89e2b97
Added tileEdge resource images (not cleaned, need to remove unneeded …
AlexTregub Nov 10, 2025
aebf865
TEMPORARILY disabled terrain cache. Performance significantly improve…
AlexTregub Nov 10, 2025
530bf20
Cleanup directRender function for later. Initial ideas for storage an…
AlexTregub Nov 10, 2025
d4cc9b7
Template for frillsChunk done. Will have a update and render function…
AlexTregub Nov 10, 2025
02ed272
Created material overwrite dictionary for deciding which material wil…
AlexTregub Nov 10, 2025
8a23f42
Defined update method, will need to insert manual calculations soon.
AlexTregub Nov 10, 2025
a14234d
Added placeholder pseudoTile which will be used for rendering.
AlexTregub Nov 10, 2025
21ed3fa
Added preloading for images. Inefficient due to lack of tilemaps.
AlexTregub Nov 10, 2025
a464f90
Added in single case of neighbors... VERY inefficient and a lot of du…
AlexTregub Nov 10, 2025
2c3f513
Fixed single case of neighbors. Added bounds check passed to get to p…
AlexTregub Nov 10, 2025
60e41d8
Added neighbor cases. PAIN. Should be converted to a better approach …
AlexTregub Nov 10, 2025
6fc29ee
Able to render and calculate tile decorations. Looks messy due to siz…
AlexTregub Nov 10, 2025
b5f9e4d
Rendering frills after tiles to avoid chunk-by-chunk overwrite. Fixed…
AlexTregub Nov 10, 2025
f68d30d
Fixed issues with chunk boundaries during tile frills calculations...
AlexTregub Nov 10, 2025
6739931
Added sand.
AlexTregub Nov 10, 2025
ab68ba6
Added sand.
AlexTregub Nov 10, 2025
215d486
added natural lightning (needs debugging but good for test)
dadoge217 Nov 10, 2025
e49cd39
Merge branch 'Dev' into CG-Weather
dadoge217 Nov 10, 2025
fd940cc
Added order to rendering of tile smoothing. Note, this still leaves s…
AlexTregub Nov 10, 2025
d710209
Moved smoothing/noSmoothing to directRendering in gridTerrain.
AlexTregub Nov 10, 2025
a7318d0
Converted to be compatible with cached rendering.
AlexTregub Nov 10, 2025
75e3332
Converted terrain tile generation to improved rendering system. No mo…
AlexTregub Nov 10, 2025
c9307e7
Marked unused function. They can be deleted, are not.
AlexTregub Nov 10, 2025
f36fa5a
5 ants
ACruz2004 Nov 10, 2025
129c6f4
PR #233 Add Tile Smoothing! + Performance benefits
AlexTregub Nov 10, 2025
dbd745c
Merge pull request #231 from AlexTregub/EU--Resource_Count
ACruz2004 Nov 10, 2025
1fcceeb
Fuckass fixes. Please fix afterwards
AlexTregub Nov 10, 2025
d20d438
PR #232 Merging Weather 2x and New Powers
AlexTregub Nov 10, 2025
6d57a6d
Boss enabled.
AlexTregub Nov 11, 2025
26975a0
Temporarily disabled Build+Test.
AlexTregub Nov 11, 2025
388ce51
Temporarily disabled Build+Test.
AlexTregub Nov 11, 2025
43d669e
Quest UI count
EmmanuelUka Nov 11, 2025
7c00281
Merge pull request #234 from AlexTregub/EU--Resource_Count
ACruz2004 Nov 11, 2025
a9594d2
Attempt again...
AlexTregub Nov 11, 2025
f9770c9
Added culling to direct rendering.
AlexTregub Nov 12, 2025
ac3e7c0
Added culling to cached rendering.
AlexTregub Nov 12, 2025
e158b66
Make backing larger (should not affect performance unless fully zoome…
AlexTregub Nov 12, 2025
3b9e7be
PR#235 Dev Hotfix - Allow view off-map edge
AlexTregub Nov 12, 2025
d8ae232
Merge branch 'Dev' into AF_Building
AlexTregub Nov 13, 2025
be0a0b8
Added back build process
AlexTregub Nov 13, 2025
9a56d69
PR#217 Ants Combat Logic + Building Updates
AlexTregub Nov 13, 2025
9079b59
Rolled back changes to build.
AlexTregub Nov 13, 2025
8b57c26
Level Editor Fixed
CrazzyCrisis Nov 13, 2025
827e5e9
Raid System
afabiku Nov 15, 2025
e1e12b6
merged animations
afabiku Nov 15, 2025
f57447a
wave ants spawn from hives, hives capturable on destroy
afabiku Nov 17, 2025
68dc19b
changed enemy ant base to cones
afabiku Nov 17, 2025
9cdd82a
Initial prep for loading WEB-STORED json
AlexTregub Nov 17, 2025
be265d8
Added old cave types. Converted old tutorialCave json to new material…
AlexTregub Nov 17, 2025
411f369
Potentially working import function...
AlexTregub Nov 17, 2025
6888775
Fixed out of order issues. No longer causes issues.
AlexTregub Nov 17, 2025
01a9536
Working importTerrainLP function...
AlexTregub Nov 17, 2025
70a41fe
Cleaned up outrageous logging
AlexTregub Nov 17, 2025
979ec0e
Fixed cave tile rendering issue in map.
AlexTregub Nov 17, 2025
a105663
Disabled testing 'feature' of loading map after 3 seconds of game run.
AlexTregub Nov 17, 2025
89857a0
Quick NPC Fix
ACruz2004 Nov 17, 2025
c1de45f
Moved g_activeMap overwrite OUT of async function, and into draw()
AlexTregub Nov 17, 2025
4fe3a40
No longer automatically loads current tutorial level
AlexTregub Nov 17, 2025
aea0913
Cleaned up comments
AlexTregub Nov 17, 2025
2db1eee
Callback testing
AlexTregub Nov 17, 2025
fcafafd
Fixed window resize problems
AlexTregub Nov 17, 2025
2e3a7dd
Added button for loading map from json...
AlexTregub Nov 17, 2025
c9e9733
Cleaned up importTerrain() function call...
AlexTregub Nov 17, 2025
a5a1f90
PR#239 Added user-selectable button for loading level
AlexTregub Nov 17, 2025
c7d8439
Added Greg DeLozier
AlexTregub Nov 17, 2025
04551fe
Added random position sampling for object placement.
AlexTregub Nov 17, 2025
20c08c7
Additional proof of concept
AlexTregub Nov 17, 2025
14435fa
Removed example run during setup to reduce load time.
AlexTregub Nov 17, 2025
f9777a3
Added optional 'array-like' object sampling for additional functionality
AlexTregub Nov 17, 2025
fbd4b2c
Commented out examples of array-usage
AlexTregub Nov 17, 2025
17362a8
PR#236 Added JSON loading to g_activeMap.
AlexTregub Nov 17, 2025
60e9a8a
Added copy to web directory, potentially wrong folder...
AlexTregub Nov 17, 2025
1ebd12b
TEMPORARILY delayed spawning of spider to 20sec...
AlexTregub Nov 17, 2025
3125234
Merge branch 'Dev' into AT_posSampling
AlexTregub Nov 17, 2025
b5a0366
PR #241 Added position sampling from terrain
AlexTregub Nov 17, 2025
6fa5db4
Merge branch 'Dev' into AF_Events
afabiku Nov 17, 2025
baa4afd
Giant commit and tutorial quests
ACruz2004 Nov 17, 2025
f9b4177
done
afabiku Nov 18, 2025
c45d2b5
Merge branch 'Dev' into AC_Events
ACruz2004 Nov 18, 2025
8b500ab
Merge pull request #242 from AlexTregub/AC_Events
ACruz2004 Nov 18, 2025
76b1962
Spawning on rand working...
AlexTregub Nov 18, 2025
94d3576
Spawning within 25ish tiles of center...
AlexTregub Nov 18, 2025
df16c22
Expanded amount of tiles hills can spawn on...
AlexTregub Nov 18, 2025
eb1fb89
PR#248 Last-Min Em merge, buildings spawn on grass
AlexTregub Nov 18, 2025
7ade6bb
changed keybinds
dadoge217 Nov 18, 2025
4a09333
actually fixed keybinds
dadoge217 Nov 18, 2025
abcfed0
idk
afabiku Nov 18, 2025
6c709e5
test
afabiku Nov 18, 2025
c1d7c71
Antony found, spawn order fixed anthill->antony.
AlexTregub Nov 18, 2025
e56ec37
Antony spawning TL of anthill
AlexTregub Nov 18, 2025
098b06d
Ant cones all over
AlexTregub Nov 18, 2025
c87d23a
Reduced spawning interval and ant count
AlexTregub Nov 18, 2025
9c33ecc
Queen spawns with hive
AlexTregub Nov 18, 2025
274e356
Boss spawned...
AlexTregub Nov 18, 2025
db200b5
Boss spawn limited
AlexTregub Nov 18, 2025
ea067a4
Broken ant hill text, but now similar to Antony's
AlexTregub Nov 18, 2025
e5a2296
Fixed E to open placement for anthill and antcone
AlexTregub Nov 18, 2025
35f2e6b
Fixed Antony text rendering
AlexTregub Nov 18, 2025
3ee15f8
Center rollback
AlexTregub Nov 18, 2025
e1873dd
Queen position located
AlexTregub Nov 18, 2025
151de4e
Exists bug where Anthill in the water fully...
AlexTregub Nov 18, 2025
597b2ec
PR#249 AT + AF Spawn fixes, bugs exist
AlexTregub Nov 18, 2025
c7202ab
Entity MVC
CrazzyCrisis Nov 18, 2025
d2fc86b
Added a few things
CrazzyCrisis Nov 18, 2025
d07d5ce
Tests
CrazzyCrisis Nov 18, 2025
7ce46e0
Ant MVC
CrazzyCrisis Nov 18, 2025
4072c2c
ant MVC, factory, and testing complete. mergeing
CrazzyCrisis Nov 18, 2025
3345b0e
Merge pull request #251 from AlexTregub/DW_antMVC
CrazzyCrisis Nov 18, 2025
2c6d2bf
fixed ant attacking their own nests, added swarms at night
afabiku Nov 19, 2025
017d946
Merge branch 'Dev' into AF_Events
afabiku Nov 19, 2025
dfd2329
change ants spawn amount
afabiku Nov 19, 2025
5180661
removed comments
afabiku Nov 19, 2025
f1a3680
fixed npcs getting attacked and made only builders and farmers collec…
afabiku Nov 20, 2025
2bf07a4
Eventbus up and tested
CrazzyCrisis Nov 22, 2025
bae6ec8
Look I overcomplicated something again!
CrazzyCrisis Nov 23, 2025
83a43ae
Added signals
CrazzyCrisis Nov 23, 2025
0559f55
Ant Count Display working
CrazzyCrisis Nov 23, 2025
6f3318e
Frame rate independent
CrazzyCrisis Nov 23, 2025
da8377e
Cleaning up errors
CrazzyCrisis Nov 23, 2025
b139d87
Resource UI
CrazzyCrisis Nov 23, 2025
da37cf1
Fixed menu hover
CrazzyCrisis Nov 23, 2025
d4567f5
More cleaning up sketch
CrazzyCrisis Nov 23, 2025
b3de97c
Keybind cleaning
CrazzyCrisis Nov 23, 2025
286726d
UI works. sketch working.
CrazzyCrisis Nov 23, 2025
65377b3
Made some changes, made the queen faster
CrazzyCrisis Nov 24, 2025
ac79369
Removed debug movement lines for ants
CrazzyCrisis Nov 24, 2025
86db557
made queen use melee and change stats
afabiku Nov 24, 2025
6f72729
Cleaned up trash code by me
CrazzyCrisis Nov 24, 2025
65999fa
added new animations and boss
afabiku Nov 24, 2025
6c4614b
Powerbar added
CrazzyCrisis Nov 24, 2025
70a0584
made events stackable, spider nerfed and anteater buffed
afabiku Nov 24, 2025
03e1eaa
ugggggh
CrazzyCrisis Nov 24, 2025
33114be
Stuff mostly works!
CrazzyCrisis Nov 24, 2025
deab2db
Day/Night clock!
CrazzyCrisis Nov 24, 2025
b059bf5
Lightning upgrades!
CrazzyCrisis Nov 24, 2025
b2c9d86
Wooooo
CrazzyCrisis Nov 24, 2025
85aeb37
FIREBAALL
CrazzyCrisis Nov 24, 2025
4af1a96
Perfect
CrazzyCrisis Nov 24, 2025
fa91fce
ITS SO GOOD
CrazzyCrisis Nov 24, 2025
69f23d2
Fireball sfx
CrazzyCrisis Nov 24, 2025
8cd1d83
Merge pull request #264 from AlexTregub:dw_eventBus
CrazzyCrisis Nov 24, 2025
1c32844
Added keybinds back
CrazzyCrisis Nov 24, 2025
6cddba6
Got rid of some text on the fireBall
CrazzyCrisis Nov 24, 2025
566e793
Fixed the spawning keybinds
CrazzyCrisis Nov 24, 2025
3894dbb
removed queen panel vis
CrazzyCrisis Nov 24, 2025
c067b69
made enemy ants not attack each other
afabiku Nov 24, 2025
1aff293
Removed the unused resource node class
CrazzyCrisis Nov 24, 2025
87d5026
Lightning SFX
CrazzyCrisis Nov 24, 2025
71ccd1a
Selection buttons work
CrazzyCrisis Nov 24, 2025
76fedca
Selection button keybinds!
CrazzyCrisis Nov 24, 2025
bfb1685
Merge pull request #265 from AlexTregub:DW_SelectionButtons
CrazzyCrisis Nov 24, 2025
c320869
Merge branch 'Dev' into AF_Events
CrazzyCrisis Nov 24, 2025
7063419
Merge pull request #252 from AlexTregub/AF_Events
CrazzyCrisis Nov 24, 2025
9d3f5e5
New workflow planned...
AlexTregub Nov 24, 2025
7d4af35
Details...
AlexTregub Nov 24, 2025
6d4818b
Needs delim...
AlexTregub Nov 24, 2025
a56e5bb
Trying 'proper' deploy...
AlexTregub Nov 24, 2025
a9a3dfd
Added fallback gzip+tar method
AlexTregub Nov 24, 2025
65c8f11
Added notif of which method used for logging/debugging
AlexTregub Nov 24, 2025
b4a2e42
Fixed delims...
AlexTregub Nov 24, 2025
1d73d55
Fixed delims...
AlexTregub Nov 24, 2025
d1f3995
Added on-deploy check
AlexTregub Nov 24, 2025
ae2259d
Listeners got lost, added them back in
CrazzyCrisis Nov 24, 2025
8abaaae
fixed weather stuff. need to fix a little more for smooth level trans…
dadoge217 Nov 24, 2025
42c6713
Merge branch 'Dev' of https://github.com/AlexTregub/softwareEngineeri…
dadoge217 Nov 24, 2025
e45cfe7
Ants will no longer try to go to 0,0 to drop stuff off, and wil only …
CrazzyCrisis Nov 24, 2025
f5bd649
Made the quest UI and shop ui use normalized screen cords
CrazzyCrisis Nov 24, 2025
e32234c
change queen default sprite
afabiku Nov 24, 2025
c7e3e1e
Merge branch 'Dev' of https://github.com/AlexTregub/softwareEngineeri…
afabiku Nov 24, 2025
4dc004e
Merge pull request #269 from AlexTregub/AF_Events
afabiku Nov 24, 2025
04f42cf
Antony updates via Anthony
AlexTregub Nov 24, 2025
1720183
hot fixes, fixed combat issue and hotkey overlapping
afabiku Nov 24, 2025
6bad314
changed time of day length
dadoge217 Nov 24, 2025
b5be68f
lightning now spawns randomly on viewable map
dadoge217 Nov 24, 2025
6902b86
game length 50 seconds
dadoge217 Nov 24, 2025
c07491e
Merge pull request #271 from AlexTregub/AC_Tutorial_Ref
ACruz2004 Nov 24, 2025
5dbc9eb
Disabled kill on spawn
AlexTregub Nov 25, 2025
63a4097
PR#272 hot fixes, fixed combat issue and hotkey overlapping
AlexTregub Nov 25, 2025
02f9279
new building lvl
afabiku Nov 25, 2025
6882bd5
Merge branch 'Dev' of https://github.com/AlexTregub/softwareEngineeri…
afabiku Nov 25, 2025
08c419d
Tutorial opens gregg. Alex F, make changes as needed, we can drop thi…
AlexTregub Dec 2, 2025
6dca301
new building lvl
afabiku Dec 2, 2025
1fb85ea
Extended menu + adjusted sizing
AlexTregub Dec 3, 2025
141fd35
Basic credits, cleanup needed
AlexTregub Dec 3, 2025
b4dd2ae
Menu Icons Added + Credits working.
AlexTregub Dec 4, 2025
54fd83f
PR#275 Menu Fixes
AlexTregub Dec 4, 2025
7214be1
PR#274 Buildings/Tutorial Bug Fix
AlexTregub Dec 4, 2025
b090bb8
Minimap gone
CrazzyCrisis Dec 4, 2025
ffd903b
Legacy pathfinding now working on full grid - OOB errors resolved.
AlexTregub Dec 8, 2025
9d22946
Kinda... working building spawns... Antony may drown
AlexTregub Dec 8, 2025
aa5f50d
Removed broken tutorial - gregg.json has been lost...
AlexTregub Dec 8, 2025
cf75b39
Disabled entities on player-loaded maps...
AlexTregub Dec 8, 2025
391a965
Removed 0,0 farmland reference
AlexTregub Dec 8, 2025
a720a83
Powerups balancing: Lightning every 2 sec, Fireball every 5 with charge
AlexTregub Dec 8, 2025
6d21ed1
Balancing, More sampling to spawn main hive, More enemy hives in gene…
AlexTregub Dec 8, 2025
280ff12
Queen radius added to allow for hive takeovers, should avoid combat u…
AlexTregub Dec 8, 2025
0a9eae7
Hive upgrade past levels. Up to 45 ants commanded...
AlexTregub Dec 8, 2025
9e35e6c
Enemy hive now shows open hive menu button...
AlexTregub Dec 8, 2025
06183dd
Disable OOB checks...
AlexTregub Dec 8, 2025
48de0c6
Enemy hive menus...
AlexTregub Dec 8, 2025
0b2d875
Leveling OK, need to reduce spawn rates.....
AlexTregub Dec 8, 2025
d76a54a
somewhat balanced enemy spawn rates
dadoge217 Dec 9, 2025
396da4f
Hotfixes
ACruz2004 Dec 9, 2025
f6e9fe3
Merge branch 'Dev' into AC_FinalStretch
ACruz2004 Dec 9, 2025
6ab427f
trying to fix swarm again
dadoge217 Dec 9, 2025
e5efa96
Merge pull request #295 from AlexTregub/AC_FinalStretch
ACruz2004 Dec 9, 2025
f185a9c
such a small dialogue change
ACruz2004 Dec 9, 2025
52fc71a
Credits good enough
AlexTregub Dec 9, 2025
9cc8117
Merge remote-tracking branch 'refs/remotes/origin/AT_altBugfixes' int…
AlexTregub Dec 9, 2025
5086e47
Added good tiles...
AlexTregub Dec 9, 2025
fe1df06
Weights added, not respected in pathfinding, sigh...
AlexTregub Dec 9, 2025
54c934c
Merge pull request #296 from AlexTregub/AT_altBugfixes
AlexTregub Dec 9, 2025
5b6527e
Merge pull request #297 from AlexTregub/AT_altBugfixes
AlexTregub Dec 9, 2025
f7b169e
Added shaping bad reference.
AlexTregub Dec 9, 2025
6d05b44
Credits full
AlexTregub Dec 9, 2025
e6e4564
Merge pull request #298 from AlexTregub/AT_altBugfixes
AlexTregub Dec 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
1,283 changes: 1,283 additions & 0 deletions .github/copilot-instructions.md

Large diffs are not rendered by default.

75 changes: 75 additions & 0 deletions .github/workflows/cassiniDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: cassiniDeployFlow

on:
workflow_dispatch:

env:
HOST: cassini.cs.kent.edu
USER: ants
TARGET: ants@cassini.cs.kent.edu
RUN: ssh -o LogLevel=ERROR ants@cassini.cs.kent.edu
COPY: scp -o LogLevel=ERROR
LOGGING: set -o xtrace

jobs:
cassini_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout files...
uses: actions/checkout@v2
- name: Get ssh key...
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.ID_ED25519 }}
name: id_ed25519
known_hosts: ${{ secrets.KNOWN_HOSTS }}

- name: See VM...
run: |
echo $ set -o xtrace ; # Log all commands without explicit echo
$LOGGING

ls -la
whoami

- name: See cassini...
run:
echo "Enabling xtrace on remote, displays commands run on cassini via ssh ~ set -o xtrace" ;
$LOGGING

$RUN ls -la

- name: Update cassini files for deploy...
run:
$LOGGING

$RUN "rm -rf ~/softwareEngineering_teamDelta/" ;

$RUN git clone https://github.com/AlexTregub/softwareEngineering_teamDelta.git ;

$RUN "cd ~/softwareEngineering_teamDelta/ ; git fetch ; git switch Dev ; git pull"

# $RUN "cd softwareEngineering_teamDelta/"

- name: Clone needed files to web directory...
run:
$LOGGING

$RUN "rm -rf ~/web/"

$RUN "cp -r ~/softwareEngineering_teamDelta/ ~/web"

- name: Stop previous screen session...
run:
$LOGGING

$RUN killall screen

# $RUN screen -S sessionname -p 0 -X quit
continue-on-error: true

- name: Start screen with http server...
run:
$LOGGING

$RUN "cd ~/softwareEngineering_teamDelta/ ; screen -dm python -m http.server 8029"
83 changes: 83 additions & 0 deletions .github/workflows/cassiniDeployLatest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: deployToCassiniManual

on:
workflow_dispatch:

env:
HOST: cassini.cs.kent.edu
USER: ants
TARGET: ants@cassini.cs.kent.edu
RUN: ssh -o LogLevel=ERROR ants@cassini.cs.kent.edu
COPY: scp -o LogLevel=ERROR
PORT: 8029
LOGGING: set -o xtrace

jobs:
cassini_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout files...
uses: actions/checkout@v2
- name: Get ssh key...
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.ID_ED25519 }}
name: id_ed25519
known_hosts: ${{ secrets.KNOWN_HOSTS }}

- name: Zip & copy files to cassini
run:
$LOGGING

echo "Remote files" ;
ls -la ;

echo "Target files" ;
$RUN ls -la ;

echo "Prep files for zip... (note dotfiles ignored)" ;
echo "Nothing done. Drop remote tests in future." ;

echo "Zipping + sending... (ignore rmrf fail)" ;
zip -r deploy.zip ./* ;
$RUN mkdir -p /home/$USER/web ;
$RUN "rm -rf /home/$USER/web/* || true " ;
$RUN "rm -rf /home/$USER/web/.* || true " ;

echo "Also providing alternative tar+gz..." ;
tar -cf deploy.tar ./* ;
gzip -k deploy.tar ;

echo "Sending zipped...";
$COPY deploy.zip $TARGET:/home/$USER/web ;
$COPY deploy.tar.gz $TARGET:/home/$USER/web ;

echo "First attempt direct 'unzip' (keeping all intact incase of failure...)";
$RUN "cd /home/$USER/web && unzip -o deploy.zip && echo "unzip success..." && rm deploy.tar.gz && rm deploy.zip || true";

echo "Fallback incase of unzip missing (currently is...)";
$RUN "cd /home/$USER/web && gzip -d deploy.tar.gz && tar -xf deploy.tar && echo "tar+gzip success..." && rm deploy.tar && rm deploy.zip || true";

echo "Target state after deploy" ;
$RUN ls -la /home/$USER/web ;

- name: Configure screen session
run:
$LOGGING

echo "Kill existing screen session...";
$RUN "screen -S $USER -X quit || true" ;

echo "Sleeping to ensure screen session killed...";
sleep 5;

$RUN "cd /home/$USER/web && screen -dmS $USER python -m http.server $PORT";

- name: Verify deploy+run
run:
$LOGGING

echo "Ensure target sever started...";
sleep 60;

curl -f http://$HOST:$PORT && echo "Remote target server running" || echo "Unable to verify remote target started server...";
49 changes: 49 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Deploy to GitHub Pages

on:
push:
branches: [ main, Dev ]
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: false

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository (since it's a static site)
path: '.'

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
44 changes: 43 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
/jsconfig.json
/Ignore
/.vscode
/.vscode

# Node.js dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Package lock files (optional - some teams commit these)
# package-lock.json

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Coverage directory used by tools like istanbul
coverage/
*.lcov

# Build outputs
dist/
build/

# Test outputs and screenshots
test/puppeteer/screenshots/
test/bdd/Results
test/e2e/screenshots/
test/e2e/**/screenshots/
test/smoke/**/screenshots/
test/integration/**/screenshots/
test/unit/**/screenshots/
test/baseline/e2e/screenshots/
test/baseline/e2e/*.json
test/e2e/MORNING_QUICK_REFERENCE.md
10 changes: 10 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"reporter": "spec",
"timeout": 5000,
"slow": 200,
"color": true,
"diff": true,
"node-option": [
"no-warnings"
]
}
Loading
Loading