Commit Graph

37 Commits

Author SHA1 Message Date
Yohann D'ANELLO 3520a76613 Test to create/resume a game 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 526a1a1e27 Don't use twice the same setting 2020-11-12 02:03:08 +01:00
nicomarg 92ab9ae075 Changed the behaviour of DisplayManager to match previous commit and fixed tests and bootstrap accordingly 2020-11-11 23:56:08 +01:00
Yohann D'ANELLO 12c653fe15 Cover change texture pack 2020-11-11 23:13:21 +01:00
Yohann D'ANELLO cde0b19c72 KeyValues.translate_key returns a KeyValues object 2020-11-11 22:47:51 +01:00
Yohann D'ANELLO caef8dc9b2 Cover settings 2020-11-11 22:45:15 +01:00
Yohann D'ANELLO 0c17e74d6a Key handler does not depend on curses's screen anymore 2020-11-11 22:36:42 +01:00
Yohann D'ANELLO a4eaab0db6 Linting 2020-11-11 17:24:57 +01:00
Yohann D'ANELLO af39a305b1 Test entity movements and fights with players 2020-11-11 17:23:31 +01:00
Yohann D'ANELLO e88b4ee775 Render game when we are dead 2020-11-11 17:17:28 +01:00
Yohann D'ANELLO 61714a5129 Test heart healing 2020-11-11 17:15:28 +01:00
Yohann D'ANELLO 8db00bcaa6 Fix broken tests 2020-11-11 16:58:20 +01:00
Yohann D'ANELLO d75f4290ff Store the start position in a map 2020-11-11 16:10:28 +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 a8223aab2e Add possibility to define the background color of entities (black in ASCII, white in Unicode) 2020-11-10 22:30:55 +01:00
Yohann D'ANELLO 3f4c809db6 Monsters are hedgehogs 🦔 2020-11-10 21:47:36 +01:00
Yohann D'ANELLO 3f374d2558 Spawn a random amount of squirrels on the map 2020-11-10 21:41:54 +01:00
Yohann D'ANELLO 7173d13495 Slightly cover bootstrap, to increase more and more coverage. Ensure that there is no associated shell 2020-11-10 21:32:10 +01:00
Yohann D'ANELLO d50c775e0f Mysteriously fix tests 2020-11-10 20:43:30 +01:00
Yohann D'ANELLO f9c3fc1517 Example map was moved 2020-11-10 20:37:01 +01:00
Yohann D'ANELLO e9c8640159 Width and height are managed dynamically: we can almost freely resize the window 2020-11-09 00:44:08 +01:00
Yohann D'ANELLO 0ab0e6a00c More tests 2020-11-08 23:48:26 +01:00
Yohann D'ANELLO 3486c865a1 Use a fake pad to make tests runnable 2020-11-08 23:40:03 +01:00
Yohann D'ANELLO aeb43a0cec Test player level up 2020-11-06 21:23:17 +01:00
Yohann D'ANELLO 2e667cdebe Fix tests 2020-11-06 20:28:10 +01:00
Yohann D'ANELLO dbd5f6a1fd Unicode texture pack is squirrel texture pack 2020-11-06 20:26:10 +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
Yohann D'ANELLO c97a9a2e6c Test some functions in the game 2020-11-06 19:12:56 +01:00
ynerant 9c344790a1 Merge branch 'master' into 'game'
# Conflicts:
#   dungeonbattle/game.py
#   dungeonbattle/mapdisplay.py
2020-11-06 18:36:59 +01:00
Yohann D'ANELLO 30a01108b8 Test main menu scrolling 2020-11-06 18:32:51 +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 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
Yohann D'ANELLO e00d98739a Move tests in a new directory, closes #8 2020-11-06 15:13:18 +01:00