How rogeriosantosluz/pybologna works
Project type and purpose
• This is a command-line, text-only, turn-based game implemented in Python (“Bologna & Milano”).
• It is primarily a small, self-contained simulation/game engine rather than a web- or full-stack application.
File structure
• Top-level Python scripts and modules:
• bologna.py (the entry point / “main”)
• game.py (core game engine and rules)
• player.py (player data structures and logic)
• utils.py (helper functions, e.g. random, text formatting)
• test_game.py (unit tests validating game logic)
• No separate “frontend” or “backend” folders—this is a single executable tool.
• Presence of __pycache__ and .vscode indicates local development setup.
README for additional insights
• It confirms the role of each file and how to run the game and tests.
• No external services or databases are required—interaction happens entirely via standard input/output.