Go to file
2021-11-30 17:20:51 -05:00
dealer.go matches are now technically playable 2021-11-30 16:32:46 -05:00
go.mod inital queiing and DM support 2021-11-28 18:55:39 -05:00
go.sum inital queiing and DM support 2021-11-28 18:55:39 -05:00
lazystore.go inital queiing and DM support 2021-11-28 18:55:39 -05:00
LICENSE add license 2021-11-30 14:55:39 -05:00
main.go start parsing commands 2021-11-30 13:06:31 -05:00
match.go matches are now technically playable 2021-11-30 16:32:46 -05:00
player_room.go we have liftoff baby 2021-11-30 14:27:58 -05:00
README.md add readme 2021-11-30 17:20:51 -05:00

tome_matrix

Tomecraft server using mautrix-go

How to build

Requires Go 1.16

Just run go build

Running tome_matrix

Create a config.yaml with the following variables:

homeserver: (homeserver_url)
username: (bot_username)
password: (bot_password)
homeserverDomain: (domain name that the matrix homeserver is on i.e. for server matrix.example.com put example.com

Make sure there is a matrix user with the above credentials available.

Run tome_matrix.

Playing a match

Right now only direct matches are supported.

When the bot firsts logs in, it will create a room named #tomequeue . Join that room to have the bot create a DM with you.

Once the DM is created, you can start a match by sending direct (username) to the bot. This will cause it to invite both users to a new room: #tome_(UUID).

The tome_UUID room is the game room; it contains the game state and is public.

To actually play the game, send GameCommands to the DM room you have with the bot.