https://github.com/jamesql/8ball-pool
Remake of 8-Ball Pool, TypeScript / WebSockets
https://github.com/jamesql/8ball-pool
Last synced: 8 months ago
JSON representation
Remake of 8-Ball Pool, TypeScript / WebSockets
- Host: GitHub
- URL: https://github.com/jamesql/8ball-pool
- Owner: jamesql
- License: mit
- Created: 2022-10-24T16:01:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-28T16:11:44.000Z (over 3 years ago)
- Last Synced: 2025-04-03T07:39:37.109Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 931 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 8Ball-Pool
> Open source 8-Ball Pool server and game in Typescript
# Setup
Clone the repo
```
$ git clone https://github.com/jamesql/8Ball-Pool.git
```
Install Typescript
```
$ npm i typescript -g
```
Run npm install
```
$ npm i
```
Compile game
```
$ npx webpack
```
Run the server
```
$ ts-node ./
```
## File Structure
./src
├── server # WS Server
├── util # Utility / Typescript types
├── web # Game Typescript and assets
└── index.ts
./start_server.cmd # Start Server & Build Scripts
./Dockerfile # Docker container file
### LICENSE
> This project is currently using an MIT License. For more information please read `LICENSE`