mirror of
https://github.com/HexCardGames/HexDeck.git
synced 2025-09-05 19:18:39 +02: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