Commit Graph

25 Commits

Author SHA1 Message Date
Yohann D'ANELLO 21e85078a4 Display inventory content in statdisplay 2020-11-11 23:41:06 +01:00
Yohann D'ANELLO d35331fdb0 Add items in inventory 2020-11-11 16:49:04 +01:00
Yohann D'ANELLO f11fb31c28 Interact with items 2020-11-11 16:47:19 +01:00
Yohann D'ANELLO 2b5d82db57 Spawn also items 2020-11-11 16:23:27 +01:00
Yohann D'ANELLO 279ef2439d Limit the complexity of the dijkstra to eight 2020-11-11 16:02:32 +01:00
Yohann D'ANELLO d08ff7061f Use Dijkstra algorithm to describe monster paths 2020-11-11 15:25:50 +01:00
Yohann D'ANELLO 56ba9d186e Display message if we are dead 2020-11-11 01:17:00 +01:00
Yohann D'ANELLO 6e8cfdcb1a Spawn new entities on each level (will be removed, only for tests) 2020-11-11 01:07:19 +01:00
Yohann D'ANELLO c5e6459d37 Fight other entities while bumping them, without any weapon 2020-11-11 01:04:30 +01:00
Yohann D'ANELLO 9909b12501 Fight other entities 2020-11-11 00:50:47 +01:00
Yohann D'ANELLO ec6b90fba2 All entities can move, not only players 2020-11-10 22:10:28 +01:00
Yohann D'ANELLO 26196a7dca Move the camera with the player 2020-11-10 22:02:41 +01:00
Yohann D'ANELLO 3f4c809db6 Monsters are hedgehogs 🦔 2020-11-10 21:47:36 +01:00
Yohann D'ANELLO 0ab0e6a00c More tests 2020-11-08 23:48:26 +01:00
Yohann D'ANELLO aeb43a0cec Test player level up 2020-11-06 21:23:17 +01:00
Yohann D'ANELLO 0bd26a1bd0 Linting 2020-11-06 21:15:09 +01:00
Yohann D'ANELLO 02d3394439 Merge remote-tracking branch 'origin/master' into display
# Conflicts:
#	dungeonbattle/entities/player.py
#	dungeonbattle/game.py
#	dungeonbattle/interfaces.py
#	dungeonbattle/mapdisplay.py
#	dungeonbattle/settings.py
#	dungeonbattle/tests/settings_test.py
#	dungeonbattle/texturepack.py
2020-11-06 20:04:24 +01:00
eichhornchen bd9dd122f4 Added experience system 2020-11-06 18:12:17 +01:00
Yohann D'ANELLO d06a42469a Collisions are working 2020-11-06 18:03:30 +01:00
Yohann D'ANELLO 54bb2d1416 Collisions are working 2020-11-06 17:59:19 +01:00
Yohann D'ANELLO 8641e7d13d User player entity instead of temporary Player class 2020-11-06 17:48:47 +01:00
Yohann D'ANELLO 8ccb74ea54 Linting 2020-11-06 15:33:26 +01:00
Nicolas Margulies 7c1c427892 Deleted unwanted code in Player
It isn't the player's role to check whether they can move to a tile,
check it beforehands and use the move method from its Entity superclass.
2020-10-23 16:17:48 +02:00
eichhornchen 6c675fbac9 added player actions for going up, down, left and right 2020-10-23 15:15:37 +02:00
Nicolas Margulies e65a486b78 A basic fighting mechanic and a few entities 2020-10-16 18:31:49 +02:00