update react

This commit is contained in:
Manuel Friedli 2024-12-26 17:38:31 +01:00
parent 804ce323bf
commit 7d4f1151fa
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
40 changed files with 3573 additions and 14078 deletions

19
src/app/model/maze.ts Normal file
View file

@ -0,0 +1,19 @@
import Coordinates from "./coordinates.ts";
export default interface Maze {
id: string,
width: number,
height: number,
start: Coordinates,
end: Coordinates,
algorithm: string,
grid: MazeCell[][]
}
export interface MazeCell {
top: boolean,
right: boolean,
bottom: boolean,
left: boolean,
solution: boolean
}