refactor(core): card_game redundancy cleanup + derive scoring from upstream stats #88
@@ -969,7 +969,7 @@ impl GameState {
|
|||||||
|
|
||||||
/// Returns `true` when all four foundation slots each contain a complete A→K sequence.
|
/// Returns `true` when all four foundation slots each contain a complete A→K sequence.
|
||||||
pub fn check_win(&self) -> bool {
|
pub fn check_win(&self) -> bool {
|
||||||
self.session.state().state().is_win()
|
self.session.is_win()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns `true` when the game can be completed without further player input
|
/// Returns `true` when the game can be completed without further player input
|
||||||
|
|||||||
Reference in New Issue
Block a user