This commit is contained in:
onyx-and-iris 2023-12-07 23:16:47 +00:00
parent 4aafad4e8d
commit 14c9e2c504
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -19,6 +19,7 @@
# Go workspace file # Go workspace file
go.work go.work
go.work.sum
# input files # input files
test*.txt test*.txt

View File

@ -40,7 +40,7 @@ func promote(hand *hand) {
} }
} }
// two coreturns the sum of products of hand values by bids // two returns the sum of products of hand values by bids
// it uses new joker rules // it uses new joker rules
func two(lines []string) (int, error) { func two(lines []string) (int, error) {
for _, hand := range hands { for _, hand := range hands {