// Test the new io.print functionality // Simple grid for testing testGrid : [ [1, 0, 1], [0, 1, 0], [1, 0, 1] ]; // Test basic grid printing io.print "Testing io.print with automatic grid detection:"; io.print testGrid; io.print ""; io.print "Testing explicit grid format:"; io.print "grid" testGrid; io.print ""; io.print "Testing regular data:"; io.print "Number" 42; io.print "String" "Hello World"; // Test with a larger grid (like from Game of Life) glider : [ [0, 1, 0, 0, 0], [0, 0, 1, 0, 0], [1, 1, 1, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0] ]; io.print ""; io.print "Conway's Game of Life - Glider Pattern:"; io.print glider;