Commit Graph

10 Commits

Author SHA1 Message Date
Fred Z
bc024f9a9c Rename every occurences of map by maze
Map is a keyword and I using ma & maze in the script may be confusing
2018-04-04 18:51:23 +02:00
Fred Z
ed5380376f Sets up file error (presence or line nb)
Clean exit and handling error when a map file do not exist or have a
wrong number of line (acording to the constant MAZE_SIZE in the conf
TODO if a file error raises, do not warmup pygame
2018-04-04 14:48:22 +02:00
Fred Z
19bf777484 Massive static code cleanup
- Translating comments
- Flake8 & Pylint checking
- Adjust variable name consistency
- Rename tiles filename (and adds files)
2018-03-30 11:19:33 +02:00
Fred Z
8cc28d6120 Adds last loop [deliverable]
… to keep end/quit messages readable
2018-03-28 01:17:47 +02:00
Fred Z
536e3fd0d4 Improves headers text-management
Manages 3 text-zones:
 - Title (top left)
 - Status (bottom left)
 - Items list (top right)

DONE draws items counter and message
2018-03-28 00:33:53 +02:00
Fred Z
4333c3dd86 Creates header for messaging, put welcome message 2018-03-27 02:39:40 +02:00
Fred Z
3e46a938ba Moves maze_draw() to conf.py 2018-03-27 01:23:46 +02:00
Fred Z
1104e34040 Checks if all items are collected (win or loose)
TODO draws items counter and message
2018-03-27 00:11:18 +02:00
Fred Z
a937a79719 Collects items in a list
TODO draws items counter and message
TODO checks if all items is collected before exiting
TODO move maze_draw() to func.py
2018-03-24 23:48:28 +01:00
Fred Z
f021ab5fa2 Finalise the general use of ELEMENT_LIST
Suppress MAZE_ELEMENTS_TILES & MAZE_ELEMENTS
TODO move maze_draw() to func.py
FIXME walk over collectables items
2018-03-24 23:11:45 +01:00