Add project configuration, skeleton and Doxyfile

Add pyproject.toml (Python >=3.13, no runtime dependencies, pytest as a
dev extra), the src/higher_lower package with an empty constants module
and an entry-point stub, a smoke test, and the Doxyfile for the Doxygen
comments in the source. Ignore the Doxygen output in .gitignore.

Verified in a fresh .venv: pip install -e ".[dev]", pytest (2 passed),
python -m higher_lower and doxygen Doxyfile without warnings.

Task: MIL-001#1
Task: MIL-001#2
Task: MIL-001#3
Task: MIL-001#4
Closes #1
Closes #2
Closes #3
Closes #4
This commit is contained in:
2026-10-04 23:29:03 +08:00
parent 4b1228fec0
commit 115e543ee3
7 changed files with 3031 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
"""@package higher_lower
@brief Higher Lower console game: guess which Instagram account has more followers.
"""
+14
View File
@@ -0,0 +1,14 @@
"""@file __main__.py
@brief Entry point for `python -m higher_lower`.
"""
def main() -> None:
"""@brief Start the game.
Placeholder: the game loop is implemented in MIL-003.
"""
if __name__ == "__main__":
main()
+6
View File
@@ -0,0 +1,6 @@
"""@file constants.py
@brief Constants shared by the game modules.
Constants are added here as the game logic (MIL-002) and the game loop
(MIL-003) need them.
"""