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

https://github.com/longwater1234/checkers-backend

(Backend) Online and Offline Multiplayer checkers game. Game client is Written in C++ 17, with SFML, protobuf, ixwebsockets. Play it now!
https://github.com/longwater1234/checkers-backend

2d-game checkers game game-development game-server golang ixwebsocket mulitplayer protobuf sfml

Last synced: about 1 month ago
JSON representation

(Backend) Online and Offline Multiplayer checkers game. Game client is Written in C++ 17, with SFML, protobuf, ixwebsockets. Play it now!

Awesome Lists containing this project

README

          

# checkers-backend

Server for my game SpaceCheckers, a multiplayer Checkers game for Windows, MacOS and Linux, [now available on itch.io](https://longwater1234.itch.io/spacecheckers). The game is free to play, and gets updated regularly.

You can self-host this server locally, or in the Cloud, for use with the game client. The game client is [available on this repo](https://github.com/Longwater1234/space-checkers)

## Requirements

- Golang 1.25 or newer. Get it from [official site](https://go.dev/dl/)

## How to build

- Simply open up your terminal (or Powershell) at this project root directory and run the following command.

```bash
go build --ldflags="-s -w" .
```

- Start the server with the following command:

```bash
./checkers-backend
```

- You can set ENV variable for `PORT` which the server will listen to. Default 9876
- Alternatively, you can use the provided Dockerfile.

## License

[MIT License](LICENSE) © 2024, Davis T.