https://github.com/nxdir-s/idleengine
Idle game engine written in Go
https://github.com/nxdir-s/idleengine
game-engine go golang idle-game incremental-game
Last synced: 8 months ago
JSON representation
Idle game engine written in Go
- Host: GitHub
- URL: https://github.com/nxdir-s/idleengine
- Owner: nxdir-s
- License: agpl-3.0
- Created: 2024-09-07T04:54:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-19T22:12:01.000Z (10 months ago)
- Last Synced: 2025-06-23T20:49:56.221Z (9 months ago)
- Topics: game-engine, go, golang, idle-game, incremental-game
- Language: Go
- Homepage:
- Size: 1.77 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://goreportcard.com/report/github.com/nxdir-s/IdleEngine)
# IdleEngine
IdleEngine is a game engine written in Go for idle/incremental type games. Players connect to the game server via websockets and have their actions processed at set intervals
## Getting Started
### Prerequisites
- Go (version 1.24 or higher recommended)
- Docker/Docker Compose
### Running IdleEngine
1. **Build Docker Images**:
```bash
docker compose build
```
2. **Run Infrastructure**:
```bash
docker compose up
```
### Connect to Game Server
Once the game server is up and running you can connect to it using the following
```bash
go run cmd/client/main.go ws://127.0.0.1:80/ws
```
The client defaults to 50 concurrent connections but can be configured by adding an additional argument with your desired count
```bash
go run cmd/client/main.go ws://127.0.0.1:80/ws 100
```
### Kafka UI
A Kafka UI for managing clusters can be accessed at the following address `http://127.0.0.1:80`
> #### [Project Structure Docs](https://github.com/nxdir-s/go-hexarch)