mirror of
https://github.com/HexCardGames/HexDeck.git
synced 2025-12-01 03:24:28 +01:00
feat(deck-hexv1): implement experimental HexV1 card deck
This commit is contained in:
@@ -34,5 +34,8 @@ func ShuffleSlice[T any](slice *([]T)) {
|
||||
}
|
||||
|
||||
func Mod(a, b int) int {
|
||||
if b == 0 {
|
||||
return 0
|
||||
}
|
||||
return (a%b + b) % b
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user