/
Mihaham
/
Table-Time
Обзор
Документация
Войти
/
Mihaham
/
Table-Time
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
services/api/app/plugins/shared/__init__.py
43 строки
1 KB
MihahamYT
feat: full game catalog — 46 plugins, docs nav, web UI kit
14 июн 2026, 12:43
14 июн 2026, 12:43
2cd5f50
Код
Авторство
О чём код?
"""Shared game logic modules for TableTime plugins.""" from app.plugins.shared.deck import fisher_yates_shuffle, make_deck, make_number_pool from app.plugins.shared.dice import count_face, roll_dice, roll_dice_seeded from app.plugins.shared.grid import ( check_line_win, empty_grid, in_bounds, neighbors4, ) from app.plugins.shared.memory import build_paired_board, flip_pair_result from app.plugins.shared.scoring import ( YATZY_CATEGORIES, score_yatzy_category, total_yatzy_score, ) from app.plugins.shared.secret_word import pick_secret_word, sample_words from app.plugins.shared.simultaneous import deal_number_hands from app.plugins.shared.timer import is_phase_expired, phase_deadline, remaining_seconds __all__ = [ "YATZY_CATEGORIES", "build_paired_board", "check_line_win", "count_face", "deal_number_hands", "empty_grid", "fisher_yates_shuffle", "flip_pair_result", "in_bounds", "is_phase_expired", "make_deck", "make_number_pool", "neighbors4", "phase_deadline", "pick_secret_word", "remaining_seconds", "roll_dice", "roll_dice_seeded", "sample_words", "score_yatzy_category", "total_yatzy_score", ]