Commit Graph

86 Commits

Author SHA1 Message Date
4fc21e7876 Resolution merge conflicts 2026-03-31 11:32:40 +02:00
37aa7b5067 Map modified + sprites 2026-03-31 10:57:19 +02:00
Sysy's
09d54aa525 Add diagonal lasers 2026-03-31 09:46:29 +02:00
Sysy's
76de2a5a5c Remove player + right click change rotation mirror 2026-03-31 09:40:25 +02:00
Sysy's
284e396d5f Make mirror rotate on click 2026-03-31 09:32:59 +02:00
e77fb7cb1e Merge branch 'main' of https://git.ninolbt.com/Nono/Projet_48h 2026-03-31 09:22:55 +02:00
4c1a439319 update and add insert command in user.rs file 2026-03-31 09:22:43 +02:00
Sysy's
4ba42f6566 Track laser segments and update UI theme
Add per-cell laserSegments tracking and use it to render correct laser orientation: introduce laserSegments global, reset it at trace start, populate entries when tracing, and consult it in loadGrid to choose horizontal vs vertical classes. Update UI styling from a dark to a lighter theme (body and main backgrounds, cell/empty/mirror/wall colors and laser gradients), remove some borders/fit-content sizing, and add a "map" class to the map container in the HTML. These changes fix laser orientation rendering and refresh the game's visual theme.
2026-03-31 09:20:28 +02:00
999d27936a Update README 2026-03-31 09:19:26 +02:00
M1n-0
d0e282b41c add .gitignore 2026-03-31 09:17:02 +02:00
024b80d393 Upgrade of design of light of laser + add posibility to move a cursor and rotate mirror with keyboard 2026-03-30 22:06:44 +02:00
b509c9f4c3 sql rust interaction file update 2026-03-30 17:01:50 +02:00
34fbb797c1 Laser print and reflect 2026-03-30 16:48:53 +02:00
26cdc99701 add sql rust interaction file 2026-03-30 15:48:14 +02:00
b10b6475d8 First version of button for mirrors 2026-03-30 15:33:49 +02:00
2dbfff770f Grid enlargement 2026-03-30 15:29:25 +02:00
a791415bd3 Rebase of feature/mirror + merge with the grid program 2026-03-30 15:05:57 +02:00
Sysy's
577357b090 Add rotateMirror to rotate element 45°
Add a small utility function in web/assets/js/index.js that increments an element's CSS rotation by 45 degrees. The function reads the element's inline transform (handling an empty value), parses the current rotation angle modulo 360, and sets the new rotate(angle+45) value.
2026-03-30 14:54:43 +02:00
1be3750672 Change index.js and index.css to game.js and game.css 2026-03-30 14:51:37 +02:00
5668d21b0d End of grid 2026-03-30 14:16:30 +02:00
001adb89bd First version of laser 2026-03-30 14:10:19 +02:00
04a0e1a912 Print grid on html + minimalist css (which will not be used) 2026-03-30 12:22:56 +02:00
554d44cebb Merge branch 'backend-axum' of https://git.ninolbt.com/Nono/Projet_48h 2026-03-30 12:14:20 +02:00
GreyRav
3ad5811566 add : all folder + files for backend project 2026-03-30 11:42:42 +02:00
GreyRav
a8a0f54cb7 add : gitignore for target forlder 2026-03-30 11:27:04 +02:00
e3747fd5a4 update read.me 2026-03-30 11:02:30 +02:00
7b0cd8c728 Merge branch 'main' of https://git.ninolbt.com/Nono/Projet_48h 2026-03-30 10:46:29 +02:00
dc064dd8f3 add object file 2026-03-30 10:46:09 +02:00
M1n-0
bc8db99174 modif polemic file name 2026-03-30 10:40:07 +02:00
M1n-0
04279f8234 add project architecture 2026-03-30 10:37:26 +02:00
M1n-0
a82d7d4eef Merge branch 'main' of https://git.ninolbt.com/Nono/Projet_48h 2026-03-30 10:32:03 +02:00
M1n-0
4a9f3b1f2c delete s file 2026-03-30 10:31:52 +02:00
90a5b5f364 règles du jeu 2026-03-30 10:31:37 +02:00
db24da778e add Readme file 2026-03-30 10:09:05 +02:00
17a43469e3 add gitignore 2026-03-30 10:08:23 +02:00
Sysy's
c3f940904e Create s 2026-03-30 10:05:17 +02:00