Information
This is a small test launcher for the number solver. The purpose is to take 6 numbers, and apply operations to reach a "target number".
The target number can be from 101 - 999
The 6 remaining numbers are made up of 2 groups, small and large numbers. You can select anywhere from 0 - 4 large numbers.
The large numbers are: 25 50 75 100. Each number can be picked once.
The small numbers are: 1 2 3 4 5 6 7 8 9 10. Each number is available to be used twice.
Parameters
- fmt - Controls the displayed formatted output. Options are: json or plain. The default is json.
- n - Controls the information outputted. See Solve types below.
- target - Specifies the target number.
- top - Dictates how many large numbers will be used. Options are: 0 - 4. Individually chosen numbers which don't comply will dropped.
- n1 - n6 - You can specify individual valid numbers. Options are: 1 - 10, 25, 50, 75, 100. Must comply with previous rules
Solve types
- 0 Default. Displays first found equation
- 1 Displays all found equations
- 2 Like 1, but produces equations for sums which equate to less than 5 away
- 3 Like 2, but produces up to 5 increasingly difficult answers for 20 increasingly difficult bars. Read more about this below...
Difficulty bars / measurements
With solve type 3, there are 20 categories of answers, containing up to 5 answers each. These are meant to help assist with any AI needs there may be.
The first level emulates a pretty bad mathmetician, whilst the 20th level emulates some smarts. The difficulty range of answers may not always seem 100% accurate, but
it's very tough to accurately measure the difficulty of equations. I took a piece by piece approach, and basically added difficulty points for things like not being divisible by 10, odd multiplication,
high numbers, etc
Errors status codes
- 1 Everything is good
- 2 You're making too many requests at once
- 3 You've specified the contents of a recent request, helping prevent cheating