I think there is potential in building little social games like this. I have a small project in mind and Iām looking for some info (or an example) on how to create a bot that responds to #Nostr notes. Could you point me in the right direction? š
Idea for a Nostr game bot:
* Zap the bot any pledge amount
* Bot @'s you in a note asking your game difficulty: Reply with Easy, Medium or Hard
* Easy: Pick a number from 1 - 5. If you get it right, you get 3 times your pledge Zap.
* Medium: Pick a number from 1 - 10. If you get it right, you get 6 times your pledge Zap.
* Hard: Pick a number from 1 - 20. If you get it right you get 12 times your pledge Zap.
Thoughts?
ā
Developing https://nostrgram.co/ #Bitcoin
Discussion
Nostr uses web sockets so you would need to use a language that supports web sockets or relays (typescript, python, node, etc). You could also use plain javascript and automate it in a web browser. The browser page would just have to stay open all the time. Not as stable, but it could work -- and the advantage there is you could interface with Alby to send the zaps pretty easily.
Excellent. Thank you for the info.