implement offline game

Implement the offline game type, whose default size is 4 x 4.  The
offline game type can be selected by supplying --local when running
the program.