Skip to content

jmcvetta/magicsquare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magicsquare

Package magicsquare is a Go library and command line utility, to generate magic squares.

Status

Build Status Build Status Coverage Status

Usage

A working Go installation is required to build magicsquare.

# We use the path 'magicsquare/magicsquare' to install the command line utility.
$ go get github.com/jmcvetta/magicsquare/magicsquare

$ magicsquare 7
   20   12    4   45   37   29   28
   11    3   44   36   35   27   19
    2   43   42   34   26   18   10
   49   41   33   25   17    9    1
   40   32   24   16    8    7   48
   31   23   15   14    6   47   39
   22   21   13    5   46   38   30

Documentation

See GoDoc for automatically generated API documentation.

License

This is Free Software, released under the terms of the GPL v3.

About

Magic square generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages