diff --git a/backend/controllers/gameControllers.js b/backend/src/controllers/gameControllers.js similarity index 100% rename from backend/controllers/gameControllers.js rename to backend/src/controllers/gameControllers.js diff --git a/backend/eventRecipients.ts b/backend/src/eventRecipients.ts similarity index 100% rename from backend/eventRecipients.ts rename to backend/src/eventRecipients.ts diff --git a/backend/gameStore.ts b/backend/src/gameStore.ts similarity index 100% rename from backend/gameStore.ts rename to backend/src/gameStore.ts diff --git a/backend/routes/gameRoutes.js b/backend/src/routes/gameRoutes.js similarity index 100% rename from backend/routes/gameRoutes.js rename to backend/src/routes/gameRoutes.js diff --git a/backend/uno-game-engine/deck.ts b/backend/src/uno-game-engine/deck.ts similarity index 100% rename from backend/uno-game-engine/deck.ts rename to backend/src/uno-game-engine/deck.ts diff --git a/backend/uno-game-engine/engine.ts b/backend/src/uno-game-engine/engine.ts similarity index 100% rename from backend/uno-game-engine/engine.ts rename to backend/src/uno-game-engine/engine.ts diff --git a/backend/uno-game-engine/gameEvents.ts b/backend/src/uno-game-engine/gameEvents.ts similarity index 100% rename from backend/uno-game-engine/gameEvents.ts rename to backend/src/uno-game-engine/gameEvents.ts diff --git a/backend/tests/deck.test.ts b/backend/tests/deck.test.ts index 502a3f9..686b7c4 100644 --- a/backend/tests/deck.test.ts +++ b/backend/tests/deck.test.ts @@ -2,7 +2,7 @@ import { shuffle, makeCard, getShuffledCardDeck, -} from '../uno-game-engine/deck'; +} from '../src/uno-game-engine/deck'; describe('getShuffledCardDeck', () => { test('should return an array of 108 cards', () => { diff --git a/backend/tests/engine.test.ts b/backend/tests/engine.test.ts index 1fd7312..2d6225f 100644 --- a/backend/tests/engine.test.ts +++ b/backend/tests/engine.test.ts @@ -1,4 +1,4 @@ -import { GameEngine } from '../uno-game-engine/engine'; +import { GameEngine } from '../src/uno-game-engine/engine'; describe('testing drawCardFromDeck()', () => { test('draws a card when deck is empty but thrownCards is not', () => {