Skip to content

Like Wordle but with numbers. The user has 6 guesses to try and find the equation that equals a number. The number changes every day. (e.g Find the hidden calculation that equals 12).

Notifications You must be signed in to change notification settings

carlascarvalho/mathler

Repository files navigation

Getting Started

Install the dependencies:

npm i

Add .env.local file:

NEXT_PUBLIC_EQUATIONS='59-3*2,48-6+1,0-8+40,59-6-2,28-9-3,87*9-3,2+5+22,4+5+42,85+1-8,9*86+4,83+0*8,12*2+4,4+69*7,5+89-5,2+67*7,38*5-4,43+8+7,26-9-8,73*5+7,98-4-1,6+71-3,9*1+58,7*73+6,8*86-3,31+2+7,49*4-5,24/6-2,0*2+41,1*73+1,84/1/4,24+3*2,39*4+4,4+87-9,50+1*0,8*58+6,2+0+34,15+6/6,61-3-7,7-7+38,13+8+8,9/1+38,60*6-3,98+3-3,0+42-4,51*8-4,29-5-2,8+87+8,6+78+1,2+2+12,5*54*2,27+8+2,2+26*5,86*9-1,1*2*70,39+0*5,35+1*5,9*35+6,92*4-3,8+12+2,1-7+39,10*3-8,16*2+3,80-2*1,46+9*2,3*77+0,9*17+6,6*6+78,9+0*32,0+63*2,1*19*2,8/2*84,82-5-2,9+89+2,78*6+8,22+5*2,57+0-1,81*8/9,2+58*4,5+39+8,3-1+17,3+6+40,8*98/2,0+91-0,4+40*6,39+3*3,3+2+89,7*10*1,84/6+6,71*9-1,8+84+5,84*9-4,21*4+7,85+3*6,76-6/6,6+21*9,7*19+7,84+8+7,3+30+5,9+52-9,23-3/3'

Run:

npm run dev

Open http://localhost:3000 with your browser to see the result.

TODO

  • Add support to diffent levels of difficulty
  • Add settings menu with option to select difficulty and light/dark mode
  • Add option to share your current result
  • Add support for register/login

About

Like Wordle but with numbers. The user has 6 guesses to try and find the equation that equals a number. The number changes every day. (e.g Find the hidden calculation that equals 12).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published