The 4th Shokunin challenge With a positive integer x as input, build and print the magic square of order x (hence all the numbers from 1 to x² in a grid with equal sums horizontally, vertically and diagonally). There's more information about magic squares on Wikipedia.
Google Chrome (latest)
- Visit https://entropyau.github.io/magic-squares/
- Enter a magic square size between 3 and 50, hit GO
- Wait until it goes green
- Utilizes bester-practice TDE (Test Driven Execution)
- Provides guarrantee it will converge on correct solution (eventually)
- Inspiration by Seb Henn
- Thorough cross-browser testing completed for targeted browsers
- Target browsers = [Google Chrome]