Commit graph

244 commits

Author SHA1 Message Date
bgoulard
572392f640 [wip] - frontend meh/20 back-end meh/20 still, works. works badly but does work... 2026-01-07 15:28:32 +01:00
Maix0
f87a991441 feat(ttt): added draw status in ttt match history 2026-01-07 00:20:00 +01:00
Maix0
830f251537 chore(eslint): fixed eslint rules 2026-01-07 00:20:00 +01:00
Maix0
2bf5e6e700 feat(ttt): match history done 2026-01-07 00:20:00 +01:00
NigeParis
97a7384af7 Added cmd @block <name> to toggle block / un block user 2026-01-06 16:56:24 +01:00
Maieul BOYER
40dea32048 feat(pong): added history api to get list of games 2026-01-06 16:50:11 +01:00
Raphael
321f636672 feat(auth/provider): adding the connection to 42 intra
- This connection have to take uuid / secrets in the 42 pages
2026-01-06 16:14:06 +01:00
Maieul BOYER
8eac0a0d4e feat(pong): detect when the client hasnt sent anything in X secs 2026-01-05 17:50:17 +01:00
bgoulard
613bb31100 linter be like: 2026-01-05 17:23:20 +01:00
bgoulard
94d263993d wip 2026-01-05 17:23:20 +01:00
bgoulard
61b49ab370 pong:front: pretty end screen + self & opponent names prints 2026-01-05 17:23:20 +01:00
Maieul BOYER
03be784a51 feat(pong/database): store match outcomes in database 2026-01-05 16:48:28 +01:00
Maieul BOYER
d59e8f93c8 feat(ttt/database): prefixed TTT database thingy to avoid pong conflicts 2026-01-05 15:47:42 +01:00
Alessandro Petitcollin
d222dfd332 (tic-tac-toe): Fix indentation and formatting in state.ts. 2026-01-05 15:47:42 +01:00
Alessandro Petitcollin
f9801dafe7 (tic-tac-toe): game outcomes are now written to tictatoe database. :) 2026-01-05 15:47:42 +01:00
NigeParis
b69a452810 fastify.log.info done 2026-01-05 15:39:21 +01:00
Maieul BOYER
69ba60b03d feat(chat): fixed typo in profile command and improved profile in chat 2026-01-04 16:39:34 +01:00
Maieul BOYER
ce0b299d4d chore(eslint): fixed linter issues 2026-01-04 15:57:40 +01:00
bgoulard
0727067b27 pong pretty / local rdy in back, need hooking in front 2026-01-04 15:57:40 +01:00
Maieul BOYER
4ec44420db feat(pong): made changes to allow local play 2026-01-04 15:18:11 +01:00
NigeParis
6f89e4a3e1 Fixed winx and win0 in tictactoe 2026-01-04 13:43:40 +01:00
Maieul BOYER
b86d50f9f0 make requeuing and other stuff better 2026-01-04 13:43:40 +01:00
Maieul BOYER
972b78a1e2 feat(ttt): made proper queue and multi game handling 2026-01-04 13:43:40 +01:00
apetitco
ed2b610f26 (tic-tac-toe): Fixed the issue, game now correctly writes into database. Need to implement generation of random IDs for games and fetch users' UID 2026-01-04 13:43:40 +01:00
apetitco
f79dc43b39 (database): Commented out foreign key constraints in init.sql 2026-01-04 13:43:40 +01:00
apetitco
fb6566fac9 (tic-tac-toe): Extended setGameOutcome to include player details in database insertion 2026-01-04 13:43:40 +01:00
apetitco
39f71bb4d9 (dependencies): Updated socket.io and socket.io-client to 4.8.2, along with other dependency upgrades 2026-01-04 13:43:40 +01:00
apetitco
dc62f3a98e (tic-tac-toe): Updated setGameOutcome to accept outcome as a parameter and integrated it into game result handling 2026-01-04 13:43:40 +01:00
Maieul BOYER
4a58f2e98b fixed crashing all services 2026-01-04 13:43:40 +01:00
apetitco
e7bf718fa6 (database): Initial commit 2026-01-04 13:43:40 +01:00
Maieul BOYER
0b15fd897b feat(pong): reworked pong to use sane system as ttt 2026-01-03 16:47:03 +01:00
NigeParis
afd79e334c First Major Clean Up Done 2026-01-02 15:30:47 +01:00
NigeParis
949e5a259a Clean up 2026-01-02 15:30:47 +01:00
Maieul BOYER
a4b3cc3c4b chore(eslint/format): remformatted all files and fixed eslint issues 2026-01-02 15:16:58 +01:00
Maieul BOYER
945a36dcc1 chore(lockfile): update lockfile 2026-01-02 15:16:58 +01:00
bgoulard
dded33f5fa [wip] local ~= ok, colision = ok, queue != ok, front (looks) = ok, sock Shapes ~= ok (missing new shapes) 2026-01-02 15:16:58 +01:00
bgoulard
0033956ca1 [wip] colisions 2026-01-02 15:16:58 +01:00
bgoulard
40068bfb57 merge cleanup :D 2026-01-02 15:16:58 +01:00
bgoulard
8a6394786c added ball + bounces; started on queu system for user to join game 2026-01-02 15:16:58 +01:00
NigeParis
7571927097 pong bats working with css tailwind updates 2026-01-02 15:16:58 +01:00
NigeParis
1da4ae9c4c WIP bats left does not move 2026-01-02 15:16:58 +01:00
NigeParis
6e6162c3f0 basic setup pong - frontend and backend with simplw socket message and fastify route 2026-01-02 15:16:58 +01:00
NigeParis
7c20066b63 Started Pong simple copy Chat - WIP simplification first job 2026-01-02 15:16:58 +01:00
NigeParis
c39e7b9e04 Added login state in profil + css 2026-01-02 14:38:55 +01:00
NigeParis
9620fa12d3 Added Login state in profil + css 2026-01-02 14:38:55 +01:00
NigeParis
b8b4bbd1cb Added notification state sign and cmd @help 2026-01-02 14:38:55 +01:00
Maieul BOYER
2ed524872b feat(docker): Multi stage docker now fetch deps once
Split dockerfile into three different dockerfiles such that dependencies
are only downloaded once

This allows the build to be a bit faster, since all deps are downloaded
once at the start.

This also makes it so the frontend container no longer needs to be ran,
as its files are directly embedded into the nginx container

This also remove the extra files, since bind mounts do work
it also remove the entrypoint.sh file, as you should prefer to not use
it
2025-12-30 19:02:07 +01:00
Maieul BOYER
af13395f2f feat(db): removed requirement to have EnvVar for database location
By default the database directory is `/volumes/database`, but can be
changed by setting `DATABASE_DIR` env var
2025-12-30 18:20:36 +01:00
Maieul BOYER
fbbc6d8f39 feat(auth): Use bind mount for providers.toml config file
Changed the way the `auth` service source its providers file to use a
bindmount and use a default path if no `PROVIDER_FILE` env is set
2025-12-30 18:20:36 +01:00
Maieul BOYER
6c050e2171 update lockfile 2025-12-30 18:20:16 +01:00