belote-cli 2.5.5__tar.gz → 2.9.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. {belote_cli-2.5.5 → belote_cli-2.9.0}/.claude/settings.local.json +2 -1
  2. belote_cli-2.9.0/.python-version +1 -0
  3. belote_cli-2.9.0/CHANGELOG.md +726 -0
  4. {belote_cli-2.5.5 → belote_cli-2.9.0}/DEVELOPMENT.md +2 -2
  5. {belote_cli-2.5.5 → belote_cli-2.9.0}/PKG-INFO +14 -10
  6. {belote_cli-2.5.5 → belote_cli-2.9.0}/README.md +13 -9
  7. {belote_cli-2.5.5 → belote_cli-2.9.0}/pyproject.toml +1 -1
  8. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/__init__.py +1 -1
  9. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/ai.py +192 -58
  10. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/ansi.py +2 -0
  11. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/core/economy.py +8 -2
  12. belote_cli-2.9.0/src/belote/belatro/core/run_state.py +187 -0
  13. belote_cli-2.9.0/src/belote/belatro/core/scoring.py +219 -0
  14. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/engine/event_bus.py +9 -2
  15. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/engine/modifier_patch.py +5 -9
  16. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/engine/round_driver.py +147 -12
  17. belote_cli-2.9.0/src/belote/belatro/items/base.py +161 -0
  18. belote_cli-2.9.0/src/belote/belatro/items/jokers/annonces.py +88 -0
  19. belote_cli-2.9.0/src/belote/belatro/items/jokers/coinche.py +67 -0
  20. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/jokers/contract.py +5 -7
  21. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/jokers/corrupted.py +22 -1
  22. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/jokers/hand_comp.py +13 -16
  23. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/jokers/trick_timing.py +13 -8
  24. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/partner_jokers/shaper.py +8 -5
  25. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/registry.py +66 -9
  26. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/tarots.py +49 -13
  27. belote_cli-2.9.0/src/belote/belatro/items/vouchers.py +149 -0
  28. belote_cli-2.9.0/src/belote/belatro/main.py +355 -0
  29. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/partner/partner_state.py +10 -0
  30. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/partner/personality.py +63 -11
  31. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/partner/trust.py +28 -0
  32. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/progression/save.py +35 -3
  33. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/progression/unlocks.py +20 -4
  34. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/run/ante.py +13 -2
  35. belote_cli-2.9.0/src/belote/belatro/run/ante_themes.py +92 -0
  36. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/run/boss.py +41 -0
  37. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/run/decks.py +28 -0
  38. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/run/shop.py +11 -13
  39. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/ui/announce.py +19 -0
  40. belote_cli-2.9.0/src/belote/belatro/ui/hud.py +118 -0
  41. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/config.py +17 -10
  42. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/deck.py +29 -5
  43. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/game.py +237 -95
  44. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/gameflow.py +38 -5
  45. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/input.py +86 -30
  46. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/main.py +19 -7
  47. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/rules.py +1 -1
  48. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/scoring.py +106 -41
  49. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/themes.py +9 -6
  50. belote_cli-2.9.0/src/belote/ui/layout.py +103 -0
  51. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/ui/prompts.py +34 -7
  52. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/ui/render.py +301 -151
  53. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/belatro/test_belatro.py +6 -3
  54. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/belatro/test_boss_modifiers_integration.py +57 -9
  55. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/belatro/test_collection_logic.py +6 -8
  56. belote_cli-2.9.0/tests/belatro/test_contract_unlocks.py +241 -0
  57. belote_cli-2.9.0/tests/belatro/test_dead_flag_fixes.py +290 -0
  58. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/belatro/test_deck_variants.py +20 -4
  59. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/belatro/test_partner_trust.py +9 -10
  60. belote_cli-2.9.0/tests/belatro/test_phase0_coverage.py +288 -0
  61. belote_cli-2.9.0/tests/belatro/test_phase1_plumbing.py +114 -0
  62. belote_cli-2.9.0/tests/belatro/test_phase2_content.py +282 -0
  63. belote_cli-2.9.0/tests/belatro/test_phase3_meta.py +181 -0
  64. belote_cli-2.9.0/tests/belatro/test_progression.py +97 -0
  65. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/belatro/test_round_driver.py +111 -25
  66. belote_cli-2.9.0/tests/test_ai.py +150 -0
  67. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/test_belote.py +20 -24
  68. belote_cli-2.9.0/tests/test_layout.py +255 -0
  69. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/test_new_coverage.py +2 -2
  70. belote_cli-2.9.0/tests/test_official_rules.py +546 -0
  71. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/test_properties.py +11 -4
  72. belote_cli-2.9.0/tests/test_undo.py +109 -0
  73. belote_cli-2.5.5/CHANGELOG.md +0 -415
  74. belote_cli-2.5.5/src/belote/belatro/core/run_state.py +0 -95
  75. belote_cli-2.5.5/src/belote/belatro/core/scoring.py +0 -139
  76. belote_cli-2.5.5/src/belote/belatro/items/base.py +0 -95
  77. belote_cli-2.5.5/src/belote/belatro/items/vouchers.py +0 -102
  78. belote_cli-2.5.5/src/belote/belatro/main.py +0 -241
  79. belote_cli-2.5.5/src/belote/belatro/ui/hud.py +0 -64
  80. belote_cli-2.5.5/tests/belatro/test_progression.py +0 -34
  81. belote_cli-2.5.5/tests/test_ai.py +0 -73
  82. belote_cli-2.5.5/tests/test_official_rules.py +0 -269
  83. {belote_cli-2.5.5 → belote_cli-2.9.0}/.gitignore +0 -0
  84. {belote_cli-2.5.5 → belote_cli-2.9.0}/GRIMAUD Standard Playing-Cards-1898.png +0 -0
  85. {belote_cli-2.5.5 → belote_cli-2.9.0}/LICENSE +0 -0
  86. {belote_cli-2.5.5 → belote_cli-2.9.0}/scripts/benchmark.py +0 -0
  87. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/__init__.py +0 -0
  88. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/__init__.py +0 -0
  89. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/core/__init__.py +0 -0
  90. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/engine/__init__.py +0 -0
  91. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/__init__.py +0 -0
  92. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/jokers/__init__.py +0 -0
  93. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/jokers/economy.py +0 -0
  94. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/partner_jokers/__init__.py +0 -0
  95. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/partner_jokers/passive.py +0 -0
  96. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/partner_jokers/risky.py +0 -0
  97. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/items/planets.py +0 -0
  98. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/partner/__init__.py +0 -0
  99. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/progression/__init__.py +0 -0
  100. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/run/__init__.py +0 -0
  101. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/ui/__init__.py +0 -0
  102. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/ui/collection.py +0 -0
  103. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/ui/menu.py +0 -0
  104. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/ui/rules.py +0 -0
  105. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/ui/shop.py +0 -0
  106. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/belatro/ui/trust_bar.py +0 -0
  107. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/context.py +0 -0
  108. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/stats.py +0 -0
  109. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/ui/__init__.py +0 -0
  110. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/ui/announce.py +0 -0
  111. {belote_cli-2.5.5 → belote_cli-2.9.0}/src/belote/ui/menu.py +0 -0
  112. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/__init__.py +0 -0
  113. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/belatro/__init__.py +0 -0
  114. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/test_extended.py +0 -0
  115. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/test_game_logic.py +0 -0
  116. {belote_cli-2.5.5 → belote_cli-2.9.0}/tests/test_gameflow.py +0 -0
@@ -9,7 +9,8 @@
9
9
  "Bash(python3 -m pytest tests/ -q --tb=short)",
10
10
  "Bash(python3 -m pytest tests/ -q --tb=no)",
11
11
  "Bash(python3 -m pytest tests/ -x -q)",
12
- "Bash(PYTHONPATH=src python3 *)"
12
+ "Bash(PYTHONPATH=src python3 *)",
13
+ "Bash(.venv/bin/python -m mypy src/)"
13
14
  ]
14
15
  }
15
16
  }
@@ -0,0 +1 @@
1
+ 3.13.5