Added student A/B comments

This commit is contained in:
Caroline Foy 2025-04-29 14:00:36 -05:00
parent 1179fb5afc
commit 552a842b00
8 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,5 @@
//Created by student A
import './variables.js';
import { randomNumber, userInput } from './functions.js';
import { inventoryMenuM } from './inventory.js';

View file

@ -1,3 +1,5 @@
//Created by student B
// Holds encounter code, seperate from poiscreens.js
import { randomNumber } from "./functions.js";

View file

@ -1,3 +1,5 @@
//Created by student A and B collaboratively
// Holds all functions used in multiple files
import { createRequire } from 'module';
const require = createRequire(import.meta.url);

View file

@ -1,3 +1,5 @@
//Created by student A
import { userInput } from "./functions.js";
import "./variables.js";

View file

@ -1,3 +1,5 @@
//Created by student A and B collaobratively
// Program is started from here, runs functions from other files.
import { userInput, sleep, disableRawMode, walkPathMain, randomNumber } from './functions.js';
import { forcedEncounter, naturalEncounter } from './encounters.js';

View file

@ -1,3 +1,5 @@
//Created by student B
// Holds poi code, seperate from encounters.js
import { userInput, pauseScreen, enableRawMode, disableRawMode, sleep } from "./functions.js";

View file

@ -1,3 +1,5 @@
//Created by student A
import { randomNumber, userInput } from "./functions.js";
import "./variables.js";

View file

@ -1,3 +1,5 @@
//Created by students A and B collaboratively
// Now holds only variables
// Items