brook5407 / ft_transcendence

0 stars 0 forks source link

Pong tournament and matchmaking (ELO) #30

Open linear[bot] opened 1 month ago

linear[bot] commented 1 month ago

4 ppl tournament.

All participants are in the same channel group, so all will get the game state update. Players will be able to send actions, others only can watch.

To handle reconnect, do a check in the Consumer's connect() function, so if the game state already exist on connect, means it's a reconnect, send the game state.

For matchmaking, just find all the current users that are finding opponent, and pair up the users with closest ELO level

linear[bot] commented 1 month ago
FT-26 Pong tournament

4 ppl tournament. All participants are in the same channel group, so all will get the game state update. Players will be able to send actions, others only can watch. To handle reconnect, do a check in the Consumer's connect() function, so if the game state already exist on connect, means it's a reconnect, send the game state.