Thanojins, a villain who wants to cut the population of the universe in half, is after the Balance Stone, a gem that controls how many people the universe holds. Captain Hakgyu of the Cvengers stands against him and wants to find the Balance Stone first and destroy it.
The Balance Stone is the prize for completing a number puzzle made of N×N blocks. One block of the puzzle is empty, and the puzzle is complete once you write a number M in that block that satisfies the rules below.
- After M is written in, every row has the same sum.
- After M is written in, every column has the same sum.
- After M is written in, the two diagonals have the same sum.
- The sums from rules 1, 2 and 3 are all the same value.
- If no number written in place of M satisfies rules 1, 2 and 3, write -1 in the block to finish the puzzle.
Help Captain Hakgyu complete the puzzle and keep the universe at peace.
