# ユーザ登録(初回のみ)
/marjong users create <username>
/marjong users get_all
/marjong users update <username> <new_username>
/marjong users delete <username>
# shorthand
/m u c
/m u ga
/m u u
/m u d
# 遊んだ日の「局全体」を「トーナメント」として登録
/marjong tournaments create <name>
/marjong tournaments get_all
/marjong tournaments update <name> <new_name>
/marjong tournaments delete <id>
/marjong tournaments next_game
/marjong tournaments current_game
/marjong tournaments finish
# shorthand
/m t c
/m t ga
/m t u
/m t d
/m t ng
/m t now
/m t fi
# スコア登録
/marjong scores register <username> <actual_score>
/marjong scores get_current
/marjong scores update <username> <game_number> <actual_score>
/marjong scores delete <username> <game_number>
# shorthand
/m s r
/m s gc
/m s u
/m s d
概要
コマンドの構想だけしてみた。 なんとなくFirebaseの練習したいからそこにデータ貯めようかなという予定。 ちゃんとやるならWebアプリ化したほうがいいんじゃないかっていうレベルの感じになりそう。
使い方想定例