Descrição: Endpoint para atualizar pontuações e terminar o Match. AC:
Permitir atualizar player1_marks, player2_marks, player1_points e player2_points.
Se o request enviar status: 'Ended':
Preencher ended_at com a data atual.
Atualizar winner_user_id e loser_user_id com os IDs reais dos jogadores.
Impedir atualização se o Match já estiver Ended.
Descrição: Endpoint para atualizar pontuações e terminar o Match. AC:
Permitir atualizar player1_marks, player2_marks, player1_points e player2_points.
Se o request enviar status: 'Ended':
Preencher ended_at com a data atual.
Atualizar winner_user_id e loser_user_id com os IDs reais dos jogadores.
Impedir atualização se o Match já estiver Ended.
KZix
added the apigameplay labels 2025-12-14 02:32:59 +00:00
KZix
self-assigned this 2025-12-14 02:32:59 +00:00
KZix
added this to the Bisca - API project 2025-12-14 02:32:59 +00:00
KZix
moved this to In Progress in Bisca - API on 2025-12-14 02:33:18 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Descrição: Endpoint para atualizar pontuações e terminar o Match. AC:
Permitir atualizar player1_marks, player2_marks, player1_points e player2_points.
Se o request enviar status: 'Ended':
Preencher ended_at com a data atual.
Atualizar winner_user_id e loser_user_id com os IDs reais dos jogadores.
Impedir atualização se o Match já estiver Ended.