Giter Site home page Giter Site logo

trivicord's Introduction

TriviCord

About

TriviCord is a bot for Discord that gives you the possibility to play a trivia game like jeopardy.
It uses the jService and the Open Trivia DB apis to fetch questions in specific categories.

How to use

You can add the bot here.
Afterwards you can already start your game!

Commands

Every command starts with ! and some have parameters.

!answer <Your answer>                        answer to your current question
!board                                       get the current board
!choose <category number> <question value>   choose category and value
!end                                         ends the game
!enter                                       enter the game
!objection                                   get points if you think you are right
!players                                     get the current board
!points                                      get the current points of all players
!start <api to use>                          Starts a game of TriviCord!
                                                <api to use> can be one of jeopardy, trivia or custom
                                                If you use custom you can upload your own questions by creating an 
                                                attachment in the format of:
                                                
                                                Category;Question;Answer;Value
                                                Category2;Question2;Answer2;Value
                                                
                                                where value can be one of 200, 400, 600, 800, 1000

Do it on your own

The bot will save the states of games to a local sqlite database or a mongodb instance. That also can contain questions that you can use as data source in start command.

trivicord's People

Contributors

philipnordmann avatar nordmannphilip avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.