File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ <h2 id="day-counter">Day 1</h2>
2222 < button class ="button " id ="next-day "> Proceed to Next Day</ button >
2323 </ main >
2424 < script type ="module " src ="events.js "> </ script >
25- < script type ="module " src ="eventRunner.js "> </ script >
2625 <!-- The script to collect participants follows -->
2726 < script >
2827 function loadParticipants ( ) {
@@ -80,7 +79,7 @@ <h2 id="day-counter">Day 1</h2>
8079
8180//WE'RE DONE WITH THE ABOVE CODE. Now the event simulation code follows
8281
83- import { eventPool } from './events.js' ; // Adjust the path if needed
82+ import { events } from './events.js' ; // Adjust the path if needed
8483function runRandomEvent ( ) {
8584 // Ensure there are alive participants before running events
8685 const aliveMasters = participants . filter ( p => p . type === "master" && p . status === "alive" ) ;
You can’t perform that action at this time.
0 commit comments