https://github.com/lukasz0104/connect-four-socketio
https://github.com/lukasz0104/connect-four-socketio
game socket-io socketio typescript
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lukasz0104/connect-four-socketio
- Owner: Lukasz0104
- Created: 2022-04-29T20:33:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T19:18:52.000Z (about 4 years ago)
- Last Synced: 2025-04-06T21:36:51.663Z (about 1 year ago)
- Topics: game, socket-io, socketio, typescript
- Language: TypeScript
- Homepage:
- Size: 170 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# connect-four-socketio
Simple *Connect Four* game in TypeScript with use of [Socket.IO](https://socket.io/).
### instructions:
1. clone this repo
2. run `npm i` to install required packages
3. run the server by running either:
3.1 `npm run devServer` to start development server (automatic reload)
3.2 `npm run build` followed by `npm start`
4. open 2 instances of `localhost:3000` in a browser (e.g. in separate tabs)[^1] or visit `:3000` on other devices in local network
[^1]: Restarting the game may not work when opened in two separate tabs.
### todos:
- [x] create rooms on the server
- [x] enable players to join room by clicking on room's id
- [ ] improve styling
- [x] migrate to TypeScript