1
0
Commit Graph

23 Commits

Author SHA1 Message Date
KW46
046178a768 FIX: None existing attributed player.stunned_rounds, fixes #2 2024-01-15 20:30:23 +01:00
b745d3be6b Update README.md 2024-01-15 17:23:03 +01:00
1bd4a1f034 Set MAX_PLAYER_HEALTH to 1000 (it was set to 500 for quicker test runs) 2024-01-15 17:20:50 +01:00
c5f61b178c Finish cast_spell(), few tweaks done 2024-01-15 17:20:03 +01:00
90715ab43f Add .active_spell to Player (removes playerN_active_spell), finish duelling logic 2024-01-15 16:00:44 +01:00
0909e47780 Determine fastest caster 2024-01-15 15:49:21 +01:00
fd8b6567f7 Cast spells if one of two player fails to cast their spell. Adds player.cast_spell(): Not scripted yet, currently just a placeholder so that cast_spell() prints somethin when called! (and modifies health) 2024-01-15 15:36:37 +01:00
7f6ccb15ef Get player spell from input (or show a help message) 2024-01-15 15:11:13 +01:00
885f407383 Get player wands, intro to battle, adds spells.random_battle_spell() 2024-01-15 14:56:20 +01:00
7cbcf4dbf4 Intro message, ask for player name, improve wand's representation (readability) 2024-01-15 14:27:08 +01:00
b20532ae4a Add methods and variables for running game 2024-01-15 14:11:24 +01:00
5f1cdcfc7f Implement Levenshtein.distance() in spells.find_spell_by_name() 2024-01-15 13:40:34 +01:00
6a9e3b126a Add decreased_spell_speed/damage to Player class and cast_spell_result()- used to print outcome message of a spell cast 2024-01-15 13:31:26 +01:00
c039b38c82 Add Player class 2024-01-15 13:27:46 +01:00
b24ea5b610 Create wands 2024-01-15 13:22:19 +01:00
0c7ae19d40 Modify Pipfile with a version for levenshtein 2024-01-15 13:13:31 +01:00
83c4825651 Initialize pipenv with package levenshtein 2024-01-15 13:11:54 +01:00
4eceac132f Add spells.find_spell_by_name() 2024-01-15 13:09:54 +01:00
b9ef609f1c Add spells.print_spells() 2024-01-15 12:58:29 +01:00
e35cea92bf Add spell objects 2024-01-15 12:52:21 +01:00
c303bfa37e Add Spells class 2024-01-15 12:22:00 +01:00
256d17c6b9 Add .gitignore file (Python and vscode templates from github) 2024-01-15 12:13:42 +01:00
700f68d0fc Init repo 2024-01-15 12:11:49 +01:00