countdown

command module
v0.0.0-...-39fb4ca Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: MIT Imports: 9 Imported by: 0

README

countdown

Countdown solver as a service in Go

TODO

  • Basic page for / and /letters
  • Unit tests
  • Move dictionary into .go file to make binary completely portable
  • Command-line flags
  • Improve numbers round efficiency
  • Generate numbers based on rules (new route too?)
  • Benchmark tests using fuzzing
  • Numbers round scoring
  • Numbers round answer using fewest numbers?
  • Improve efficiency of numbers
  • Refactor perms and combi packages to use more consistent APIs
  • Numbers round
  • Error when no words are found
  • Return JSON response
  • JSON content-type header
  • Better error handling
  • Simple logging
  • Upper limit on word length - long words can be very slow
  • Time limit per search (not needed)~~
  • Combi comments and example

Useful tests for numbers round

  • numbers/952,25,50,75,100,3,6 currently takes up to 384ms
  • numbers/821,25,100,75,50,6,4
  • numbers/556,50,8,3,7,2,10

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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