galenscovell / Circuits

Circuit connecting puzzle game for Android
0 stars 0 forks source link

Level construction and layout #2

Closed galenscovell closed 9 years ago

galenscovell commented 9 years ago

Idea right now is for each level to be randomly generated based on selected difficulty levels. Level design needs to have a method of checking which layouts have possible solutions given the current node placements.

galenscovell commented 9 years ago

Random generation would require both an advanced puzzle-creating algorithm and solver, both of which would slow down the game considerably (particularly when starting a new game). A better idea is to create a simple serialization process for reading in level data (depending on difficulty level).

galenscovell commented 9 years ago

Implemented a level parser which takes in data from txt files as int[] which are then doled out to the cells.