fabjan / mmocg

Massive Multiplayer Online Clicker Game server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MMOCG

This is the Massive Multiplayer Online Clicker Game server behind Emoji Clicker.

Running the server

To run the server, follow these simple steps:

$ ./Taskfile start

Postgres

If you want to test with a real database locally you can use Docker:

$ ./Taskfile startdb

... and then start the server.

Announcements

The server can send updates to e.g. a Discord channel when some signifcant events happen.

To enable this, set the environment variable PSA_DISCORD_WEBHOOK to a webhook for your Discord channel. See PSA for details and alternatives.

API

See openapi.yaml.

The open api yaml was created with swagger-editor. You can run it locally through Docker:

$ ./Taskfile swagger-editor

Use File > Import file and "upload" [openapi.yaml] to edit it.

Any made changes must be backwards compatible. So things (fields, methods) can only be added.

TODO

See the Emoji Clicker README for general TODO.

  • Discord integration
  • tracing (trying out Uptrace)
  • Database integration
  • rate limiting

About

Massive Multiplayer Online Clicker Game server

License:Apache License 2.0


Languages

Language:Go 91.7%Language:Shell 6.9%Language:Dockerfile 1.4%