blenderlab / BattleIA

Client/Server app for Adimaker IT curses
2 stars 19 forks source link

[TODO] Server : use predrawn maps #24

Closed blenderlab closed 3 years ago

blenderlab commented 3 years ago

Maps are randomly generated. It could be fun to use pre-defined maps.

Maps should be stored in files (one map / one file ?) Each map file must contains the data (0 = empty ? X = wall ? ) Server can choose to use a random map (as for now) or to pick in a folder. Those choices can be defined in the settings file or directly in the menu. Server should read a map file*, and fill the array with the data.

blenderlab commented 3 years ago

The map name is specified in settings : "MapName" : "" The file is drawn with CaseStates directly If no name specified, a map is generated.

blenderlab commented 3 years ago

Please put maps in a "Maps" folder.

blenderlab commented 3 years ago

Fixed

blenderlab commented 3 years ago