Compare commits

...

5 commits

Author SHA1 Message Date
Ronan
5f7abd2a9a fix bubblebug 2022-12-05 17:15:33 +01:00
Ronan
e11013381f Merge branch 'master' of https://git.etud.insa-toulouse.fr/nbillard/sokoban 2022-12-05 17:06:46 +01:00
Ronan
a037bcfa84 Merge branch 'master' of https://git.etud.insa-toulouse.fr/nbillard/sokoban
Merging is coming!
2022-12-05 16:57:21 +01:00
Ronan
789b9875ff cadeau 2022-12-05 16:56:24 +01:00
Ronan
78af6d87b0 change some comments 2022-12-05 16:49:24 +01:00
3 changed files with 8 additions and 6 deletions

View file

@ -1,14 +1,14 @@
# Sokoban
projet Web 3Mic
Projet Web 3Mic
pour ouvrir le projet, tapez la commande suivante dans un terminal:
Pour ouvrir le projet, tapez la commande suivante dans un terminal:
``` sh
npx serve
```
si cela ne marche pas, essayez
Si cela ne marche pas, essayez la commande suivante
``` sh
python3 -m http.server

View file

@ -4,7 +4,8 @@ import { Square } from '/modules/enums.mjs';
export const level1Blueprint = [[ Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall ],
[ Square.Wall, Square.Destination, Square.Box, Square.Floor, Square.Player, Square.Wall ],
[ Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall ]];
// Blueprint for the second level
export const level2Blueprint = [
[Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Wall, Square.Floor, Square.Floor ],
[Square.Wall, Square.Destination, Square.Destination, Square.Floor, Square.Floor, Square.Wall, Square.Floor, Square.Floor, Square.Floor, Square.Floor, Square.Floor, Square.Wall, Square.Wall, Square.Wall],

View file

@ -35,8 +35,9 @@ body {
.text-bubble {
/* transform: rotate(90deg); */
position: relative;
left: 658px;
top: -385px;
margin: auto;
margin-left: 658px;
margin-top: -385px;
z-index: 2;
}