misc: refactor scores into round_robin

This commit is contained in:
2026-01-23 12:30:15 -05:00
Unverified
parent 30d7f3bc92
commit 864794190a
4 changed files with 37 additions and 27 deletions

View File

@@ -15,6 +15,7 @@ pub trait Tournament {
async fn next(&mut self, server: &Server);
async fn start(&mut self, server: &Server);
async fn cancel(&mut self, server: &Server);
fn inform_winnder(&mut self, winner: SocketAddr, is_tie: bool);
fn is_completed(&self) -> bool;
fn get_type(&self) -> String;
}