A online chess App where two members can share a link and start a one on one chess match
- the FrontEnd (UI)
- Socket Server
-
Clone the repo using the following command:
git clone https://github.com/vishnu-31/chess-online-app.git
-
open a terminal in the root of the project and install the dependencies by using the following command:
npm install
. Now the frontend is ready. -
Now run
npm run dev
-
Now open another terminal and go to the
server
folder and run the same commandnpm install
. -
Now run
node index.js
-
Now go to the URL:
http://localhost:5173
. -
Open the URl in two different tabs, to play both the sides.
-
Enter a different name for player in both tabs but give the same Room code.
-
If you want to play with your friend in another computer. I suggest u can find your computer ip and ask him to visit this url:
[your_ip]::5173
.