diff --git a/bin/brain-calc.js b/bin/brain-calc.js index 6c02ff3..12f006c 100755 --- a/bin/brain-calc.js +++ b/bin/brain-calc.js @@ -1,5 +1,5 @@ #!/usr/bin/env node -import calcGame from '../src/calc.js'; +import calcGame from '../games/calc.js'; calcGame(); diff --git a/bin/brain-even.js b/bin/brain-even.js index 1882a80..7c87b2e 100755 --- a/bin/brain-even.js +++ b/bin/brain-even.js @@ -1,5 +1,5 @@ #!/usr/bin/env node -import startGame from '../src/game.js'; +import startGame from '../games/game.js'; startGame(); diff --git a/src/calc.js b/games/calc.js similarity index 97% rename from src/calc.js rename to games/calc.js index ca069ce..a4c00e8 100644 --- a/src/calc.js +++ b/games/calc.js @@ -1,6 +1,6 @@ import readlineSync from 'readline-sync'; -import greetGamer from './cli.js'; +import greetGamer from '../src/cli.js'; import getRandomInt from '../function/getRandomInt.js'; diff --git a/src/game.js b/games/game.js similarity index 100% rename from src/game.js rename to games/game.js