An open API service indexing awesome lists of open source software.

https://github.com/luc-wallace/codecrack

an online multiplayer mastermind spinoff
https://github.com/luc-wallace/codecrack

go mastermind mastermind-board-game mastermind-game online-game react

Last synced: about 2 months ago
JSON representation

an online multiplayer mastermind spinoff

Awesome Lists containing this project

README

        

# codecrack

### an online multiplayer mastermind spinoff
[video showcase](https://www.youtube.com/watch?v=IVzXDt7tmTY)
![a screenshot of the game](./game.png)
# how to play

the 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
```