game

package
v0.0.0-...-c5d7ec6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Solve

func Solve(cards []Card) int

Types

type Card

type Card struct {
	ID             int
	Numbers        []int
	WinningNumbers []int
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(input []string) *Service

func (*Service) ConvertToCards

func (s *Service) ConvertToCards() []Card

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL