6 Commits

Author SHA1 Message Date
Sam
b80a5afc4a Added camera stabilization, moved the Camera class into its own file, normalized the diagonal camera vector, added a select and multi-select feature, added an inspect feature, changed the world class to use spatial hashing for better storage, changed the world class to use a double buffer to swap states when ticking, added death and interaction flags, added world class object queries, added an abstract base class for a basic entity that should be inherited by all object classes, added a max_visual_width parameter to said base class for selection clarity that should be set by all new entity/object classes, and added a basic interaction framework with an interaction radius parameter. When an object could interact with it's neighbors in the next tick, it should enable its can_interact flag, and the world will provide a list of interactable objects in that radius through the object's tick function. Also removed ruff format precommit check because it currently doesn't work. Also temporarily removed food class because it's outdated.
All checks were successful
Build Simulation and Test / Run All Tests (push) Successful in 2m21s
2025-06-03 18:38:27 -05:00
Sam
784123b9e1 Add Ruff linter and formatter to pre-commit configuration 2025-06-01 16:20:19 -05:00
Sam
17a070e99b Update pip-compile hook to use pyproject.toml instead of requirements.in 2025-06-01 13:59:50 -05:00
Sam
b52690549b Enhance pre-commit configuration and update test workflow for better results reporting
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 7s
2025-05-31 19:54:05 -05:00
Sam
c3b0a12c32 Update pre-commit configuration and add initial test file
Some checks failed
Build Simulation and Test / Run All Tests (push) Failing after 5m6s
2025-05-31 19:39:47 -05:00
Sam
5743650e6b Add uv.lock file to manage project dependencies and versions 2025-05-31 19:34:10 -05:00