c4bb8f7d80Remove tmp.py: Used it for a quick testrun since I had a confusion with the new dictionaryKwarde2024-01-17 16:52:00 +01:00
355eab297cMake spells.py compatible with the new dictionary. Also: only import distance from Levenshtein if MAX_LEVENSHTEIN_DISTANCE > 0Kwarde2024-01-17 16:50:38 +01:00
c138250c1cFIX: Actually make spell dictionary. ('key': value) and not ('key', value)Kwarde2024-01-17 16:14:04 +01:00
89318e7321Convert spell objects to a dictionaryKwarde2024-01-17 16:06:56 +01:00
fd8b6567f7Cast 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)Kwarde2024-01-15 15:36:37 +01:00
7f6ccb15efGet player spell from input (or show a help message)Kwarde2024-01-15 15:11:13 +01:00
885f407383Get player wands, intro to battle, adds spells.random_battle_spell()Kwarde2024-01-15 14:56:20 +01:00
7cbcf4dbf4Intro message, ask for player name, improve wand's representation (readability)Kwarde2024-01-15 14:27:08 +01:00
b20532ae4aAdd methods and variables for running gameKwarde2024-01-15 14:11:24 +01:00
5f1cdcfc7fImplement Levenshtein.distance() in spells.find_spell_by_name()Kwarde2024-01-15 13:40:34 +01:00
6a9e3b126aAdd decreased_spell_speed/damage to Player class and cast_spell_result()- used to print outcome message of a spell castKwarde2024-01-15 13:31:26 +01:00