Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pvarentsov/sudoku
Multiplayer concurrent sudoku. The winner is the player who fills the last cell correctly.
https://github.com/pvarentsov/sudoku
clean-architechture clean-architecture clean-code nestjs ngrok nodejs socket-io sudoku typescript websockets
Last synced: 3 months ago
JSON representation
Multiplayer concurrent sudoku. The winner is the player who fills the last cell correctly.
- Host: GitHub
- URL: https://github.com/pvarentsov/sudoku
- Owner: pvarentsov
- License: mit
- Created: 2020-10-26T20:22:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-31T21:53:04.000Z (about 3 years ago)
- Last Synced: 2023-03-05T04:58:22.303Z (almost 2 years ago)
- Topics: clean-architechture, clean-architecture, clean-code, nestjs, ngrok, nodejs, socket-io, sudoku, typescript, websockets
- Language: TypeScript
- Homepage:
- Size: 23.7 MB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sudoku
Multiplayer concurrent sudoku. The winner is the player who fills the last cell correctly.
![](asset/sudoku.png)
## How-to
1. **Build**
```shell
# Install libs
$ npm install
# Build app
$ npm run build
```
2. **Lint**
```shell
# Run linter
$ npm run lint
# Run linter and fix errors
$ npm run lint:fix
3. **Libs**
```shell
# Show new versions
$ npm run lib:check
# Upgrade libs
$ npm run lib:upgrade
```
4. **Run**
```shell
# Start app
$ npm run start
# Expose local.env and start app
$ npm run start:local
```
5. **Browse** `localhost:[app port]` (Chrome is preferred)
Screencast
## Ngrok
[Ngrok](https://ngrok.com/) is an easy way to expose local sudoku server to the public internet:
1. **Start** app
```shell
$ npm run start
```
2. **Expose** server
```shell
$ ./ngrok http [app port]
```
3. **Browse** generated public url
Screencast