Sean-Randall
Sean-Randall
This PR adds a new function `is_kaprekar_number(n)` under `maths/special_numbers/`. The function determines whether a number is a Kaprekar number based on digit-splitting logic, where the square of a number is...
This pull request introduces several improvements to the battle mechanics: - Displays HP/MP status at each round's start for players and enemies. - Prevents the casting of spells if the...
This fixes a duplicate test function name in test.py that broke compatibility with pytest. I also added assertion messages to improve debugging clarity. This preserves the original intent of the...