Magic Square © 1979 Workman Publishing [NY, USA]
Released as a type-in program in More BASIC Computer Games edited by David H. Ahl and published by Workman Publishing.
Game's Listing.