This commit is contained in:
Lukian LEIZOUR 2024-02-28 19:00:57 +01:00
parent dcf6c1fdf5
commit 7b8b996a98
2 changed files with 17 additions and 16 deletions

View file

@ -8,8 +8,8 @@ public class AppLaser {
int start_i = 3; int start_i = 3;
int start_j = 1; int start_j = 1;
int start_dir = 11; int start_dir = 11;
int universe_width = 6; int universe_width = 30;
int universe_height = 6; int universe_height = 12;
int firstState_i = start_i; int firstState_i = start_i;
int firstState_j = start_j; int firstState_j = start_j;
@ -26,10 +26,11 @@ public class AppLaser {
// obstacles creation // obstacles creation
universe.addObstacle(2, 3); //universe.addObstacle(3, 3);
universe.addObstacle(3, 3); //universe.addObstacle(4, 3);
universe.addObstacle(2, 4); //universe.addObstacle(3, 4);
universe.addObstacle(3, 4); //universe.addObstacle(4, 4);
//universe.addObstacle(12, 5);
universe.print(); universe.print();