~/projects

/MATHLE

Independent Service Project

Concept and Motivation

 Based on the popular word game Wordle, Mathle generates a random equation and the user has to solve the characters. Multiple versions of this has been attempted in the past, but this focuses on making an equation that can be easy and fun to solve. The number in the equation are all positive integers that are weighted to be smaller and all characters are weighted to be unique and therefore easier to solve.

...

Number Generation

The code behind the generation of a single digit. The equation adapts as it depends on previous digits to generate the new one. All possibilities are added into an array, and digits that are unique as well as other factors are combined into an amount to be added for a higher change to be rolled.


...

Digit Chance

The formula for the generation of a digit triggers if a digit is unique. If found to be unique, a digit is weighted to be higher as 1 and 2 is usually repeated. A formula is used for the chance that a digit will be used.