Another connect four game.
You can try this live by visiting https://connect4-ks.herokuapp.com/ . To run the game locally:
npm install
"src"
directory.
npm run build
PORT
env (default is 3000
).
export PORT=8080
npm run serve
http://localhost:{PORT}
. Create a game and share the link to play with a friend.public/
- The folder which holds the files that we serve on the client.src/index.js
- The main entry point of the application.src/components/
- This folder contains the vue
components.src/libs/
- This folder contains the main logic of the game.src/listeners/
- This folder contains the event handlers that the socketio client
emits to the server. src/router/
- The registered routes of the single application are in this folder.src/routes/
- The registered api routes are in this folder.src/services/
- This folder contains the service files which the application uses to connect unit files to a single related service.tests/
- The test files.