Commit Graph

20 Commits

Author SHA1 Message Date
cdo aaf400d881 Loop after solving maze 2024-11-04 00:49:03 +00:00
cdo bf145830cc Draw/clear as needed instead of redrawing window each time 2024-11-04 00:49:03 +00:00
cdo 6675c55916 Draw path from exit after solving 2024-11-04 00:08:52 +00:00
cdo f19881fd04 Solve maze after generation 2024-11-04 00:06:21 +00:00
cdo f4aa1bc01c Draw visited cells in a different colour 2024-11-04 00:03:17 +00:00
cdo cc43e870fe Add 'visited' flag to each cell 2024-11-04 00:03:15 +00:00
cdo ce8195f3e8 Generalise solve procedure to random walk 2024-11-04 00:02:56 +00:00
cdo a741490c4c Remove early return in generation routine 2024-11-03 22:54:06 +00:00
cdo 95133052d3 Store maze in static variable 2024-11-03 22:50:23 +00:00
cdo 7a2a589c45 Store display etc in static variables 2024-11-03 22:45:48 +00:00
cdo 8c70d6a70f Draw walls seperately to maze and generate backwards 2024-11-03 22:40:06 +00:00
cdo af9106bae5 Draw maze while generating it 2024-11-03 22:10:37 +00:00
cdo e55ae6f355 Seed random number generation from time 2024-11-03 21:50:32 +00:00
cdo 521be83dbb Randomise maze generation with static seed 2024-11-03 21:49:59 +00:00
cdo 65534f34d7 Add entr script 2024-11-03 21:49:59 +00:00
cdo 02873d3120 Write maze generation procedure with no randomisation 2024-11-03 21:49:59 +00:00
cdo 9646a67faa Write maze drawing procedure 2024-11-03 21:49:59 +00:00
cdo 560d9f48b6 Create and set up window 2024-11-03 21:49:59 +00:00
cdo 26aeb19217 Add license (AGPL 3.0) 2024-11-03 19:51:15 +00:00
cdo 586287dcfa Create project skeleton 2024-11-03 19:37:07 +00:00