alexobviously / alexobviously/bishop
Override == and hashCode for GameResults
Aberta
style
- Linguagem predominante
- Dart
- Estrelas
- 23
- Forks
- 12
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Use case: allow code like `g.result == WonGameCheckMate(winner: Bishop.white)`
Probably even more useful is `g.result.isWon(Bishop.white)` (allowing the winner to be null also, in which case it's the same as a `is WonGame` check.
cc @callumbeaney
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.