https://github.com/qntum-dev/rock_paper_scissors
A two player game built with nodejs net module
https://github.com/qntum-dev/rock_paper_scissors
net nodejs
Last synced: 29 days ago
JSON representation
A two player game built with nodejs net module
- Host: GitHub
- URL: https://github.com/qntum-dev/rock_paper_scissors
- Owner: qntum-dev
- Created: 2024-04-20T13:02:07.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-08T05:47:35.000Z (almost 2 years ago)
- Last Synced: 2025-01-21T05:41:58.268Z (over 1 year ago)
- Topics: net, nodejs
- Language: JavaScript
- Homepage:
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# rock_paper_scissors
This is a rock_paper_scissors cli game made with the help of net module in nodejs
start the game server:
```
node game.js
```
connect to the game server:
```
node gameclient.js
```
It will ask the address and the port of the server where you want to connect to
you can enter the ip address of the server
following commands to check the ip address of the server type the following in the server machine
### For Windows
```
ipconfig
```
### For Unix based systems
```
ifconfig
```
For Port enter 3000
### This is a Demo screenshot