You choose the difficulty then a maze will be generated. You are the dot and you try to reach the x. When you reach the x a new maze will be made.
A big thanks to @Griffpatch for his amazing youtube videos!