go-boggle

module
v0.0.0-...-c7a9053 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0

README

go-boggle

Learning Golang via Solving a Boggle Board

Building / Running

go build ./cmd/boggle
./boggle

Testing

Benchmarking

Benchmarking is a rough guess on how well certain parts of the application will perform. Included in the repo are the baseline benchmarks as baseline.out. Adjustments to the algorithm can be compared to these baselines. If changes happen to these algorithms, the baseline should be updated.

cd internal/gameboard
go test -benchtime 3s -benchmem -run none -bench . > bench.out
benchcmp baseline.out bench.out
cd internal/lexicon
go test -benchtime 3s -benchmem -run none -bench . > bench.out
benchcmp baseline.out bench.out

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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