A Java program for generating magic squares.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This repository has been moved to gitlab.com/paul-nechifor/magic-square.

Old readme:

Magic Square

The is a Java program that searches for magic squares.

magic square cover

You can read more about it on my page (in Romanian). Sorry about the bad code, I wrote it a while ago.

Run it

Build it:

mvn package

Run the Swing GUI:

java -cp target/magic-square-*.jar net.nechifor.magic_square.Main

Try it from the console:

java -cp target/magic-square-*.jar net.nechifor.magic_square.Console BIHC 16