Commit Graph

44 Commits

Author SHA1 Message Date
Yohann D'ANELLO d264fb7dfe Test got broken 2020-10-23 14:34:29 +02:00
Yohann D'ANELLO 3467fb622c Replace # by walls 2020-10-23 14:34:29 +02:00
Yohann D'ANELLO d8bd500349 Add some comments 2020-10-23 14:34:29 +02:00
Yohann D'ANELLO d8401d9920 More modularity, add properties in tiles 2020-10-23 14:34:29 +02:00
Yohann D'ANELLO 9c6f22ccf8 Better usage of enumerations 2020-10-23 14:34:29 +02:00
Yohann D'ANELLO ce0d5d8ffd :squirrel: Main character is a squirrel 2020-10-23 14:34:29 +02:00
Yohann D'ANELLO cadc8c161e Use Map interface in proof of concept 2020-10-23 14:34:29 +02:00
Yohann D'ANELLO 1054d8e57a Get a tile from its representation 2020-10-23 14:34:29 +02:00
Yohann D'ANELLO eb1e125d4e Draw a map in a string to make the render in the screen easier 2020-10-23 14:34:29 +02:00
Nicolas Margulies 182af96da0 Tiles are now an enumeration 2020-10-23 14:34:24 +02:00
Yohann D'ANELLO d2f8a3b623 Also use arrow keys in example 2020-10-23 14:33:25 +02:00
Yohann D'ANELLO 12413746fd Cleaner proof of concept 2020-10-23 14:33:25 +02:00
eichhornchen 4175238297 Now uses TermManager 2020-10-23 14:33:25 +02:00
Yohann D'ANELLO e448697e6b Replace the dot cursor after the player moved, not before 2020-10-23 14:33:25 +02:00
eichhornchen 6e544bf02e Added a map example 2020-10-23 14:33:25 +02:00
eichhornchen 11a7ce9825 Added a first try for player movement 2020-10-23 14:33:25 +02:00
Nicolas Margulies 9d0971b35e Merged master 2020-10-16 18:33:31 +02:00
Nicolas Margulies e65a486b78 A basic fighting mechanic and a few entities 2020-10-16 18:31:49 +02:00
ynerant 6f64646a7a Merge branch 'map_display' into 'master'
Implemented basic map display

Closes #1

See merge request ynerant/dungeon-battle!1
2020-10-16 18:28:01 +02:00
Charles Peyrat 5bf4857d99 Merge branch 'map_display' of gitlab.crans.org:ynerant/dungeon-battle into map_display 2020-10-16 18:15:18 +02:00
Charles Peyrat 14f93fd596 Corrected equations in mapdisplay.MapDisplay.display. Closes #1 2020-10-16 18:14:47 +02:00
Nicolas Margulies 63660707d1 A basic fighting mechanic and a few entities 2020-10-16 17:58:00 +02:00
Nicolas Margulies cfbe612192 Merge branch 'map_display' of gitlab.crans.org:ynerant/dungeon-battle into map_display 2020-10-16 16:02:47 +02:00
Nicolas Margulies 16121b55f6 Merge branch 'map_display' of gitlab.crans.org:ynerant/dungeon-battle into map_display 2020-10-16 16:02:38 +02:00
Charles Peyrat 722ff07952 Fixed method display from mapdisplay.MapDisplay 2020-10-16 16:00:57 +02:00
Charles Peyrat 7d13a78235 New class MapDisplay implements displaying maps to terminal. See #1 2020-10-16 15:57:13 +02:00
Charles Peyrat 42c9957ceb Added entities management to class Map 2020-10-16 15:57:13 +02:00
Charles Peyrat 2e82849395 Sanitizing data structure 2020-10-16 15:57:13 +02:00
Charles Peyrat 1b635502c4 New class MapDisplay implements displaying maps to terminal. See #1 2020-10-16 15:54:33 +02:00
Charles Peyrat ba4bb78166 Added entities management to class Map 2020-10-16 15:52:47 +02:00
Nicolas Margulies f3e42ae295 Added __pycache__ to .gitignore 2020-10-16 15:42:05 +02:00
Yohann D'ANELLO b12764b355 Draw a map in a string to make the render in the screen easier 2020-10-16 14:00:38 +02:00
Charles Peyrat 5728abc02c Sanitizing data structure 2020-10-11 15:24:51 +02:00
Yohann D'ANELLO 2cea53f519 💚 Fix pipeline 2020-10-09 18:24:13 +02:00
Yohann D'ANELLO c2eb3c054c Create basic interfaces, see #3, #4, #6 2020-10-09 18:17:41 +02:00
Yohann D'ANELLO bec53dbf1e Linting... 2020-10-09 17:04:50 +02:00
Yohann D'ANELLO cb3a0ce4da Ignore type annotation for self, cls or special functions 2020-10-09 16:59:09 +02:00
Charles Peyrat 81d29ea1ee Merge branch 'master' of https://gitlab.crans.org/ynerant/dungeon-battle into master 2020-10-09 16:35:19 +02:00
Yohann D'ANELLO 59da3685f2 Setup python virtual environment 2020-10-09 16:21:10 +02:00
Charles Peyrat c161f924e9 Context manager for wrapping the use of a curses terminal 2020-10-09 16:14:23 +02:00
Yohann D'ANELLO 07f2e4266a Python 3.9 got released 2020-10-09 14:34:03 +02:00
Yohann D'ANELLO 4b4fa67f3b Ensure that functions are well typed 2020-10-02 16:19:18 +02:00
Yohann D'ANELLO ceff2c6f42 Render pipeline and coverage status in README file 2020-10-02 15:53:47 +02:00
Yohann D'ANELLO 95bb99d42c 🎉 Init repo 2020-10-02 15:48:39 +02:00