day2

package
v0.0.0-...-c2f6671 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Problem1

func Problem1()

func Problem2

func Problem2()

Types

type Blockset

type Blockset struct {
	Blue, Green, Red int
}

Blockset represents a single round of shown blocks

type Game

type Game struct {
	Id     int
	Rounds []Blockset
}

Game consists of rounds of block showings

func Parse

func Parse(filePath string) ([]Game, error)

func ParseRow

func ParseRow(row string) (Game, error)

Jump to

Keyboard shortcuts

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