https://github.com/downflux/go-game
Implementation of DownFlux, a collaborative RTS.
https://github.com/downflux/go-game
bazel game-development grpc rts rts-engine rts-game
Last synced: about 1 month ago
JSON representation
Implementation of DownFlux, a collaborative RTS.
- Host: GitHub
- URL: https://github.com/downflux/go-game
- Owner: downflux
- License: mit
- Created: 2020-06-21T21:52:26.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T20:41:53.000Z (over 2 years ago)
- Last Synced: 2026-01-02T15:18:20.397Z (3 months ago)
- Topics: bazel, game-development, grpc, rts, rts-engine, rts-game
- Language: Go
- Homepage: https://reddit.com/r/downflux
- Size: 2 MB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# game
Implementation of DownFlux, a collaborative RTS.

## Setup
### Cloning Repo
1. Set up `git`
```bash
git config --global push.default current
```
1. Copy the SSH keys into `~/.ssh` and set permission to `600` for `id_rsa` and
`644` for `id_rsa.pub`.
1. Add to SSH keychain
```bash
ssh-add
```
1. Test SSH access to GitHub
```bash
ssh -T git@github.com
```
1. Clone
```bash
git clone git@github.com:downflux/game.git
```
1. Install LFS for the repo
```bash
git lfs install
```
### Installing Bazel
Install Bazel via
[official docs](https://docs.bazel.build/versions/master/install-ubuntu.html#install-on-ubuntu).
Current verified Bazel version is `3.7.2`.
```bash
bazel test -c opt \
--features race ... \
--nocache_test_results \
--runs_per_test=10
```
### CPU Profiler
```bash
sudo apt install graphviz gv
bazel run -c opt \
//server/grpc:main -- \
--cpuprofile=${F}
go tool pprof -http=localhost:8888 ${F}
```