D
D
Denis Bredun2021-06-16 00:19:29
C++ / C#
Denis Bredun, 2021-06-16 00:19:29

How to make a generator of such labyrinths (see below)?

You need to make a labyrinth generator that will generate arrays of size 15x15, in which:
2 - exit,
1 - wall,
0 - corridor through which you can go.
No entry.
Please help, I'm out of ideas ;(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
d-stream, 2021-06-16
@Luffy1

https://habr.com/ru/post/176671/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question