A bot for that allows players to link their profile on Discord, Twitter or Farcaster to their player profile on Pistols, then publicly issue and accept challenges, receive notifications about match progress, and publicly post the results of a match.
The highest priority social integration are: Discord, then Twitter, then Farcaster (as a stretch goal, as a frame), then Telegram.
Brief:
Challenges should be issued from the account of the challenger
Challenges should only be able to be accepted by the opponent who is being challenged
The results of the match should be posted publicly.
Each player should receive (ideally private, but public if necessary) notifications when the game progresses and it is their turn to make a move, with a link back to the game for them to make their move.
In the first version of the bot, all moves can be made in the pistols client, but it would be useful for later versions to allow moves to be made from the bot endpoint, and for this bot to be extensible to support other clients (such as additional social networks or, for example, a mobile website that allows all moves to be made from the mobile client with a delegated AA wallet).
Players should be able to issue/accept a challenge from their account using the bot, and observers should be able to access the match from the public notifications.
Players should not have to link a wallet to the endpoint, only to the main app, so the bot should provide a delegated mechanism for issuing and accepting challenges.
Later versions of the bot will need to be able to support wagering, which means that challengers can set a wager and recipients must be able to match the wager, as well as issuing challenges bound to a specific recipient .ETH or .STARK address, as well as allowing observers to place wagers on public betting matches. (Transactions for wagering can be executed from the game client.)
It should be possible to issue challenges to players who do not yet have a pistols account, and possible for players to link their end point to their profile, as well as check the identity and wallet of the profile they are linked to, as well as check their own player stats or the stats of another player by providing that players profile name or wallet address.
A bot for that allows players to link their profile on Discord, Twitter or Farcaster to their player profile on Pistols, then publicly issue and accept challenges, receive notifications about match progress, and publicly post the results of a match.
The bot should integrate with the Torii (indexer) bot repo put together by LOAF: https://github.com/dojoengine/dojo.js/tree/main/examples/node/torii-bot
The highest priority social integration are: Discord, then Twitter, then Farcaster (as a stretch goal, as a frame), then Telegram.
Brief: