https://github.com/lucwl/codecrack
an online multiplayer mastermind spinoff
https://github.com/lucwl/codecrack
go mastermind mastermind-board-game mastermind-game online-game react
Last synced: 25 days ago
JSON representation
an online multiplayer mastermind spinoff
- Host: GitHub
- URL: https://github.com/lucwl/codecrack
- Owner: lucwl
- Created: 2024-01-20T14:12:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-21T15:42:32.000Z (over 1 year ago)
- Last Synced: 2025-03-24T21:39:06.984Z (about 1 month ago)
- Topics: go, mastermind, mastermind-board-game, mastermind-game, online-game, react
- Language: TypeScript
- Homepage:
- Size: 75.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codecrack
### an online multiplayer mastermind spinoff
[video showcase](https://www.youtube.com/watch?v=IVzXDt7tmTY)

# how to playthe game is based on the popular mastermind board game, but instead using two games at once
the aim of the game is to guess the opponent's colour code before they can guess yours
players can input guesses and receive feedback of how close their guess was using black and white pegs (more info in game)
# how it works
the game operates using a go server and a react client which communicate using a custom websocket protocol
# hosting instructions
go 1.18 or newer and node.js are required to be installed
### 1. build the client (run in client directory)
```
npm run build
```### 2. compile the server (run in main directory)
```
go build .
```### 3. run the server executable (port is configurable)
```
./codecrack.exe -c -port=80
```