Skip to content

valbaca/fact-or-fiction

 
 

Repository files navigation

Fact or Fiction

Simple discord bot that plays a simple game:

  1. Provides a random prompt, e.g. "Best name for a rap album"
  2. Provides two random cards (sourced from Scryfall)
  3. Chat votes on which one they like more with reactions 1️⃣ or 2️⃣

This game is a fun, casual alternative to arguing over how to roll a die. Perfect for cube!

Screenshot

Tech Used

  • Node - simple runtime
  • discord.js - simple library to make a Discord bot
  • Scryfall API - to get random cards and images
    • Scryfall has NOT endorsed me, my work, or this product.
  • Fly.io - cheap deployment alternative to Heroku

Change log

DONE

  • Display random cards from Scryfall
  • Add reactions
  • Setup hosting
  • Gather list of prompts
  • Remove "play" from the command, just !fof
  • No basic lands and no non-cards (like Vanguard)
  • Use "you" and "your opponent" instead of 1 & 2

TODO

  • More prompts!
  • Allow prompts to be filtering by card type, like "Only spells" or "Only creatures"
  • Use shuffle prompts instead of random (so they don't get repeated as often)

MAYBE

  • Allow prompt ideas to be sent to the bot

About

Simple discord bot that plays a simple game

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 91.5%
  • Dockerfile 8.3%
  • Procfile 0.2%