module HqTrivia

Overview

Framework for creating HQ Trivia and HQ Words bots

Defined in:

hqtrivia.cr
hqtrivia/auth.cr
hqtrivia/bot.cr
hqtrivia/config.cr
hqtrivia/connection/hq.cr
hqtrivia/connection/interface.cr
hqtrivia/connection/local.cr
hqtrivia/logger.cr
hqtrivia/model/broadcast_ended.cr
hqtrivia/model/broadcast_stats.cr
hqtrivia/model/checkpoint.cr
hqtrivia/model/checkpoint_summary.cr
hqtrivia/model/end_round.cr
hqtrivia/model/game_summary.cr
hqtrivia/model/heart_episode_winners.cr
hqtrivia/model/heart_finalist.cr
hqtrivia/model/heart_finalist_intro.cr
hqtrivia/model/heart_finalist_upload_status.cr
hqtrivia/model/heart_finalist_upload_update.cr
hqtrivia/model/heart_finalist_vote.cr
hqtrivia/model/heart_finalist_walkthrough.cr
hqtrivia/model/heart_photo.cr
hqtrivia/model/heart_photo_results.cr
hqtrivia/model/heart_photo_upload.cr
hqtrivia/model/heart_photo_vote.cr
hqtrivia/model/hide_wheel.cr
hqtrivia/model/int_coerce.cr
hqtrivia/model/interaction.cr
hqtrivia/model/kicked.cr
hqtrivia/model/letter_reveal.cr
hqtrivia/model/message_types.cr
hqtrivia/model/post_game.cr
hqtrivia/model/question.cr
hqtrivia/model/question_closed.cr
hqtrivia/model/question_finished.cr
hqtrivia/model/question_summary.cr
hqtrivia/model/raw_web_socket_message.cr
hqtrivia/model/show.cr
hqtrivia/model/show_wheel.cr
hqtrivia/model/start_round.cr
hqtrivia/model/survey.cr
hqtrivia/model/survey_results.cr
hqtrivia/model/unknown_message.cr
hqtrivia/model/web_socket_message.cr
hqtrivia/model/words_game_result.cr
hqtrivia/show_coordinator.cr
hqtrivia/show_coordinator/coordinator.cr
hqtrivia/show_coordinator/hq_coordinator.cr
hqtrivia/show_coordinator/local_coordinator.cr
hqtrivia/version.cr

Constant Summary

VERSION = "0.7.1"

Current HqTrivia version

Class Method Summary

Class Method Detail

def self.auth #

Auth singleton


[View source]
def self.config #

[View source]
def self.configure(&) #

[View source]
def self.logger #

HqTrivia logging instance


[View source]
def self.logger=(logger) #

Set the logger to an IO


[View source]
def self.on_show(coordinator : Coordinator, blocking = true, &block : Model::Show -> ) #

When an active Show is seen, it's yielded to the block


[View source]