https://github.com/orion3dgames/tic-tac-toe
A basic multiplayer tic tac toe, using sockets
https://github.com/orion3dgames/tic-tac-toe
socket-io tictactoe vuejs
Last synced: about 2 months ago
JSON representation
A basic multiplayer tic tac toe, using sockets
- Host: GitHub
- URL: https://github.com/orion3dgames/tic-tac-toe
- Owner: orion3dgames
- License: gpl-3.0
- Created: 2022-01-10T05:48:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-04T06:50:45.000Z (over 4 years ago)
- Last Synced: 2024-05-02T06:11:36.315Z (about 2 years ago)
- Topics: socket-io, tictactoe, vuejs
- Language: JavaScript
- Homepage: https://tictactoe-vuejs.herokuapp.com/
- Size: 347 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TIC TAC TOE
A small personal to test my skills. End goal is for users to easily share a link to a friend to play a quick tic tac toe games, all while keeping the score
**ONLY RULE I SET FOR MYSELF, NO COPYING OR LOOKING AT SIMILAR TIC TAC TOE CODE FROM INTERNET**
CURRENT DEMO LINK: https://tictactoe-vuejs.herokuapp.com/
## Initial Goal
I'm going to build it quick and dirty and then refine until I'm happy with the result.
- Share links to a friend to start a session
- Play a game of tic-tac-toe and keep track of the scores
- Refactoring the code to make it as clean and simple as possible
## Features
- Create and share a link (DONE)
- Game waiting room until 2 players join with the same sharing link (DONE)
- Playing the tic-tac-toe game (DONE)
- Adding a mini chat (DONE)
- Implement a database system (like Firebase)
## Installation Guide
- Clone the repository
- Open a terminal and launch these commands from the root folder
- ```npm install``` (install server dependencies)
- ```npm build``` (install client dependencies & build the client for production)
- ```npm start``` (launch the socket server and web server)
- go to "localhost:5000" to view the game.
## Technology
#### 1) A SOCKET SERVER
Using socket.io, will allow to realtime messaging between users and keeping records of current game sessions and scores
- Initially, all information will be lost when the server is restarted as we have not implemented a database yet.
#### 2) A CLIENT APP
Will use VUE.JS 2 and interact with the SOCKET SERVER