Yohann D'ANELLO
|
80ae824ed8
|
Fix concurrent access to entity list issue
|
2020-11-19 01:44:46 +01:00 |
Yohann D'ANELLO
|
109543a385
|
Fix broken tests
|
2020-11-19 01:44:46 +01:00 |
Yohann D'ANELLO
|
58fbba8cc9
|
Save entities
|
2020-11-19 01:44:46 +01:00 |
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
|
21e85078a4
|
Display inventory content in statdisplay
|
2020-11-11 23:41:06 +01:00 |
Yohann D'ANELLO
|
c329ec927f
|
Add rabbits, beavers and teddy bears
|
2020-11-11 17:39:48 +01:00 |
Yohann D'ANELLO
|
61714a5129
|
Test heart healing
|
2020-11-11 17:15:28 +01:00 |
Yohann D'ANELLO
|
ac22aef860
|
Items can be put in inventory by default
|
2020-11-11 16:57:09 +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
|
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
|
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
|
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
|
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 |