feat(deck-hexv1): implement experimental HexV1 card deck

This commit is contained in:
2025-03-28 00:05:10 +01:00
parent 4104b01978
commit 2cfcd0089f
4 changed files with 217 additions and 1 deletions

View File

@ -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
}