pub fn winner(&self, _ctx: &Context) -> Result<Vec<String>, String> {
        Ok(self
            .scores
            .clone()
            .into_iter()
            .filter(|&(_, v)| v == self.max_score)
            .map(|(k, _)| k)
            .collect())
    }
/// Returns a vector of players with the highest dice roll.
Returns a vector of players with the highest dice roll.
Returns a vector of players with the highest dice roll .
pub fn winner(&self, _ctx: &Context) -> Result<Vec<String>, String> {
        Ok(self
            .scores
            .clone()
            .into_iter()
            .filter(|&(_, v)| v == self.max_score)
            .map(|(k, _)| k)
            .collect())
    }
pub fn winner ( & self , _ctx : & Context ) -> Result < Vec < String > , String > { Ok ( self . scores . clone ( ) . into_iter ( ) . filter ( | & ( _ , v ) | v == self . max_score ) . map ( | ( k , _ ) | k ) . collect ( ) ) }
Returns a vector of players with the highest dice roll.
Returns a vector of players with the highest dice roll .
&self
_ctx
&Context