https://github.com/errorcodezero/mastodon-plays-snake-rs
Mastodon plays snake rewritten in rust
https://github.com/errorcodezero/mastodon-plays-snake-rs
mastodon rust snake
Last synced: 2 months ago
JSON representation
Mastodon plays snake rewritten in rust
- Host: GitHub
- URL: https://github.com/errorcodezero/mastodon-plays-snake-rs
- Owner: errorcodezero
- Created: 2025-01-20T06:28:16.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-15T03:04:39.000Z (over 1 year ago)
- Last Synced: 2025-03-15T04:18:45.084Z (over 1 year ago)
- Topics: mastodon, rust, snake
- Language: Rust
- Homepage:
- Size: 122 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mastodon Plays Snake
Now in rust! This project aims to bring [Polymars' Twitter Plays Snake](https://github.com/PolyMarsDev/Twitter-Plays-Snake) to Mastodon. Users can collaborate on a game of snake by voting for its next move on each turn. It updates every 30 minutes.
Bot: [@snake@mastodon.world](https://mastodon.world/@snake)
# Hosting
> [!NOTE]
> Rehosting the bot is fine if it is for a private unfederated instance or will have its own unique spin on the concept but otherwise please avoid rehosting.
It is built and ran just like any other rust project but it relies on some environment variables:
- `INSTANCE` - Link to mastodon instance(eg [https://mastodon.world/](https://mastodon.world/]))
- `ACCESS_TOKEN` - Access token you get when creating and allowing an application to access your mastodon account
- `ID` - Account id(eg 113863635165154030)