Commit Graph

17 Commits

Author SHA1 Message Date
eichhornchen a4482849ae Fix for loading game in progress, there remains to change all entities __init__ to allow being initialized by a dictionnary (work in progress, breaks the game) 2020-11-19 01:44:46 +01:00
Yohann D'ANELLO be6c949b18 Instantiate entity attributes in __init__ rather than in the class definition 2020-11-19 01:44:46 +01:00
eichhornchen aac01d8bef Added documentation for some classes again 2020-11-19 01:44:46 +01:00
eichhornchen 41d1696c9b Added functionnal save system and broken load system 2020-11-19 01:43:31 +01:00
Yohann D'ANELLO 600819e648 Teddy bears has 50 HP 2020-11-13 14:07:27 +01:00
Yohann D'ANELLO c329ec927f Add rabbits, beavers and teddy bears 2020-11-11 17:39:48 +01:00
Yohann D'ANELLO d08ff7061f Use Dijkstra algorithm to describe monster paths 2020-11-11 15:25:50 +01:00
Yohann D'ANELLO 279d9d9f58 Monsters can hit the player. No respect for unarmed people... 2020-11-10 23:00:09 +01:00
Yohann D'ANELLO f9f02b6621 Move to closest player if it is close 2020-11-10 22:59:02 +01:00
Yohann D'ANELLO 12ee436f4d Fix broken game test 2020-11-10 22:44:53 +01:00
Yohann D'ANELLO d26b66f337 Add possibility to define the background color of entities (black in ASCII, white in Unicode) 2020-11-10 22:34:12 +01:00
Yohann D'ANELLO 3f4c809db6 Monsters are hedgehogs 🦔 2020-11-10 21:47:36 +01:00
Yohann D'ANELLO ff435dc328 More tests and more coverage 2020-11-06 16:13:28 +01:00
Yohann D'ANELLO 8ccb74ea54 Linting 2020-11-06 15:33:26 +01:00
Nicolas Margulies 2ba7330ff5 An example of item 2020-10-23 18:02:57 +02:00
Nicolas Margulies 343e107b86 Basic item and monster interface 2020-10-23 16:51:48 +02:00
Nicolas Margulies e65a486b78 A basic fighting mechanic and a few entities 2020-10-16 18:31:49 +02:00