diff --git a/README.md b/README.md index d7327ac..e15ccbd 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,6 @@ migrate to idiomatic rust etc. for consistency, `_from_string` functions should handle their own labels e.g. "DLG SPR_1..." instead of just "SPR_1..." -replace huge inline strings with `include_str!()` - ### documentation examples of use cases (dedupe tiles, merge games, etc.) diff --git a/src/main.rs b/src/main.rs index abff873..97cf982 100644 --- a/src/main.rs +++ b/src/main.rs @@ -241,7 +241,7 @@ fn test_room() -> Room { } fn test_room_string() -> String { - "ROOM a\n0,0,0,0,0,0,0,0,1l,0,0,0,0,0,0,0\ny,x,0,0,1j,0,0,1j,1l,0,1j,0,0,1j,0,0\ny,y,x,k,k,1c,1x,1y,1m,0,0,0,0,0,0,0\ny,y,y,x,k,s,s,s,k,k,k,k,k,1g,1f,k\nk,z,z,z,1i,1u,1u,1u,1v,11,19,1b,1a,1e,10,k\nk,z,z,11,12,z,z,z,z,10,17,z,18,1e,12,k\nk,z,z,z,z,z,z,z,z,1k,14,15,16,1h,z,k\nk,z,z,z,z,z,z,10,1d,1v,1r,1s,1r,1q,1z,k\nk,z,z,12,10,z,z,z,1i,1n,1o,1o,1o,1p,z,k\nk,z,z,z,z,z,z,z,z,z,z,z,10,z,z,k\nk,z,z,z,z,z,11,z,z,z,z,z,z,z,z,k\nk,z,z,z,z,z,z,z,z,z,12,z,z,10,12,k\nk,k,k,k,k,k,k,k,k,k,k,k,k,k,k,k\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\nNAME cellar 7\nITM d 11,5\nITM e 8,3\nITM 5 1,0\nITM 6 2,1\nITM 6 3,2\nEXT 3,3 3 10,6\nEND undefined 8,7\nPAL 9".to_string() + include_str!("../test/resources/room").to_string() } fn image_from_string(string: String) -> Image { @@ -257,7 +257,7 @@ fn image_from_string(string: String) -> Image { #[test] fn test_image_from_string() { let output = image_from_string( - "11111111\n11001111\n10111111\n11111111\n11111111\n11111111\n11111111\n11111111".to_string() + include_str!("../test/resources/image").to_string() ); let expected = Image { @@ -299,7 +299,7 @@ fn image_to_string_opts(image: Image, hd: bool) -> String { #[test] fn test_image_to_string() { let output = image_to_string(test_image_chequers_1()); - let expected = "10101010\n01010101\n10101010\n01010101\n10101010\n01010101\n10101010\n01010101".to_string(); + let expected = include_str!("../test/resources/image-chequers-1").to_string(); assert_eq!(output, expected); } @@ -353,7 +353,9 @@ fn tile_from_string(string: String) -> Tile { #[test] fn test_tile_from_string() { - let output = tile_from_string("TIL z\n11111111\n11111111\n11111111\n11111111\n11111111\n11111111\n11111111\n11111111\nNAME concrete 1\nWAL true".to_string()); + let output = tile_from_string( + include_str!("../test/resources/tile").to_string() + ); let expected = Tile { id: "z".to_string(), @@ -391,7 +393,7 @@ fn test_tile_to_string() { ] }); - let expected = "TIL 7a\n10101010\n01010101\n10101010\n01010101\n10101010\n01010101\n10101010\n01010101\n>\n01010101\n10101010\n01010101\n10101010\n01010101\n10101010\n01010101\n10101010\nNAME chequers".to_string(); + let expected = include_str!("../test/resources/tile-chequers").to_string(); assert_eq!(output, expected); } @@ -553,7 +555,10 @@ fn sprite_from_string(string: String) -> Sprite { #[test] fn test_sprite_from_string() { - let output = sprite_from_string("SPR a\n00000000\n01111000\n01001000\n00111100\n00111100\n01011110\n01011110\n01101111\nNAME hatch\nDLG SPR_0\nPOS 4 9,7".to_string()); + let output = sprite_from_string( + include_str!("../test/resources/sprite").to_string() + ); + let expected = test_sprite(); assert_eq!(output, expected); @@ -574,7 +579,7 @@ fn sprite_to_string(sprite: Sprite) -> String { #[test] fn test_sprite_to_string() { let output = sprite_to_string(test_sprite()); - let expected = "SPR a\n00000000\n01111000\n01001000\n00111100\n00111100\n01011110\n01011110\n01101111\nNAME hatch\nDLG SPR_0\nPOS 4 9,7".to_string(); + let expected = include_str!("../test/resources/sprite").to_string(); assert_eq!(output, expected); } @@ -610,7 +615,10 @@ fn item_from_string(string: String) -> Item { #[test] fn test_item_from_string() { - let output = item_from_string("ITM 6\n01000000\n00000000\n00000000\n00000100\n00100000\n00000000\n00000000\n00000010\nNAME door\nDLG ITM_2".to_string()); + let output = item_from_string( + include_str!("../test/resources/item").to_string() + ); + let expected = test_item(); assert_eq!(output, expected); @@ -629,7 +637,7 @@ fn item_to_string(item: Item) -> String { #[test] fn test_item_to_string() { let output = item_to_string(test_item()); - let expected = "ITM 6\n01000000\n00000000\n00000000\n00000100\n00100000\n00000000\n00000000\n00000010\nNAME door\nDLG ITM_2".to_string(); + let expected = include_str!("../test/resources/item").to_string(); assert_eq!(output, expected); } @@ -658,7 +666,7 @@ fn exit_to_string(exit: Exit) -> String { #[test] fn test_exit_to_string() { assert_eq!( - exit_to_string(Exit { room: "8".to_string(), position: Position { x: 5, y: 6 }}), + exit_to_string(Exit { room: "8".to_string(), position: Position { x: 5, y: 6 } }), "8 5,6".to_string() ); } @@ -675,8 +683,11 @@ fn ending_from_string(string: String) -> Ending { #[test] fn test_ending_from_string() { assert_eq!( - ending_from_string("END a\nThis is a long line of dialogue. Blah blah blah".to_string()), - Ending { id: "a".to_string(), dialogue: "This is a long line of dialogue. Blah blah blah".to_string() } + ending_from_string(include_str!("../test/resources/ending").to_string()), + Ending { + id: "a".to_string(), + dialogue: "This is a long line of dialogue. Blah blah blah".to_string() + } ); } diff --git a/test/resources/default.bitsy b/test/resources/default.bitsy new file mode 100644 index 0000000..decb8b4 --- /dev/null +++ b/test/resources/default.bitsy @@ -0,0 +1,84 @@ +Write your game's title here + +# BITSY VERSION 6.5 + +! ROOM_FORMAT 1 + +PAL 0 +0,82,204 +128,159,255 +255,255,255 + +ROOM 0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,a,a,a,a,a,a,a,a,a,a,a,a,a,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,0,0,0,0,0,0,0,0,0,0,0,0,a,0 +0,a,a,a,a,a,a,a,a,a,a,a,a,a,a,0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +PAL 0 + +TIL a +11111111 +10000001 +10000001 +10011001 +10011001 +10000001 +10000001 +11111111 + +SPR A +00011000 +00011000 +00011000 +00111100 +01111110 +10111101 +00100100 +00100100 +POS 0 4,4 + +SPR a +00000000 +00000000 +01010001 +01110001 +01110010 +01111100 +00111100 +00100100 +DLG SPR_0 +POS 0 8,12 + +ITM 0 +00000000 +00000000 +00000000 +00111100 +01100100 +00100100 +00011000 +00000000 +NAME tea +DLG ITM_0 + +DLG SPR_0 +I'm a cat + +DLG ITM_0 +You found a nice warm cup of tea + +VAR a +42 + diff --git a/test/resources/ending b/test/resources/ending new file mode 100644 index 0000000..d599f63 --- /dev/null +++ b/test/resources/ending @@ -0,0 +1,2 @@ +END a +This is a long line of dialogue. Blah blah blah \ No newline at end of file diff --git a/test/example.bitsy b/test/resources/example.bitsy similarity index 92% rename from test/example.bitsy rename to test/resources/example.bitsy index 43e8615..aca6f67 100755 --- a/test/example.bitsy +++ b/test/resources/example.bitsy @@ -1,1492 +1,1492 @@ -sun machine - -# BITSY VERSION 4.8 - -! ROOM_FORMAT 1 - -PAL 0 -NAME dark -33,33,43 -39,45,48 -64,51,62 - -PAL 1 -NAME lamplight -45,45,59 -66,60,39 -140,94,1 - -PAL 2 -NAME dawn -65,64,84 -97,112,122 -128,102,125 - -PAL 3 -NAME machine -45,45,59 -105,103,82 -176,138,48 - -PAL 4 -NAME machine 2 -76,70,86 -117,115,92 -201,158,55 - -PAL 5 -NAME machine 3 -100,93,107 -143,140,112 -219,179,88 - -PAL 6 -NAME machine 4 -125,118,125 -168,165,132 -245,200,98 - -PAL 7 -NAME machine 5 -156,153,149 -204,200,160 -255,226,131 - -PAL 8 -NAME machine 6 -219,219,198 -240,235,188 -255,249,195 - -PAL 9 -NAME machine 7 -255,255,255 -255,255,255 -255,255,255 - -ROOM 0 -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -0,0,0,0,0,0,n,n,0,0,0,0,0,0,0,0 -0,0,0,0,0,0,f,f,0,0,0,0,0,0,0,0 -0,0,0,0,0,0,f,f,0,0,0,0,h,0,0,0 -k,k,k,j,k,k,k,k,k,k,k,k,g,k,k,k -k,a,b,i,i,i,i,i,i,i,i,i,i,i,i,k -k,c,c,i,i,i,i,i,i,i,i,i,i,i,i,k -k,c,c,i,i,i,i,i,i,i,i,i,i,i,i,k -k,d,e,i,i,i,i,i,i,i,i,i,i,i,i,k -k,i,i,i,i,i,i,i,i,i,i,i,i,i,i,k -k,i,i,i,i,i,i,i,i,i,i,i,i,i,i,k -k,k,k,k,k,k,k,k,k,k,k,k,k,k,k,k -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -NAME bedroom-dark -ITM 2 3,5 -EXT 3,5 1 3,5 -PAL 0 - -ROOM 1 -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -0,0,0,0,0,0,n,n,0,0,0,0,0,0,0,0 -0,0,0,0,0,0,f,f,0,0,0,0,0,0,0,0 -0,0,0,0,0,0,f,f,0,0,0,0,h,0,0,0 -k,k,0,j,k,k,k,k,k,k,k,k,g,k,k,k -k,a,b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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 -NAME cellar 7 -ITM d 11,5 -ITM e 8,3 -ITM 5 1,0 -ITM 6 2,1 -ITM 6 3,2 -EXT 3,3 3 10,6 -END undefined 8,7 -PAL 9 - -TIL 10 -11111111 -11001111 -10111111 -11111111 -11111111 -11111111 -11111111 -11111111 -NAME concrete 2 - -TIL 11 -11111111 -11111111 -11111111 -11111111 -11111111 -10101111 -11011111 -11011111 - -TIL 12 -11111111 -11111111 -11111111 -11111101 -11111110 -11111111 -11111111 -11111111 -NAME concrete 3 - -TIL 13 -00000000 -01111110 -01111110 -00000000 -00000000 -00000000 -00000000 -00000000 - -TIL 14 -01000000 -01010000 -01010000 -01000000 -01100000 -10011000 -11100111 -11111000 -WAL true - -TIL 15 -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 -11111111 -00000000 -WAL true - -TIL 16 -00000010 -00000010 -00000010 -00000010 -00000110 -00011001 -11100111 -00011111 -WAL true - -TIL 17 -01010000 -01010000 -01010000 -01010000 -01010000 -01010000 -01010000 -01010000 -WAL true - -TIL 18 -00000010 -00000010 -00000010 -00000010 -00000010 -00000010 -00000010 -00000010 -WAL true - -TIL 19 -11111000 -11100111 -11011000 -10100011 -10100100 -01001000 -01010000 -01010000 -WAL true - -TIL 20 -00010000 -00100000 -01100000 -01000000 -01000000 -11000000 -10000000 -10000000 -> -00001000 -00110000 -00100000 -00100000 -01000000 -01000000 -11000000 -10000000 - -TIL 21 -00000001 -00000001 -00000011 -00000010 -00000010 -00000110 -00000100 -00001100 -> -00000001 -00000001 -00000001 -00000011 -00000010 -00000010 -00000110 -00001100 - -TIL 22 -00000000 -00000000 -00100000 -00100000 -01101000 -01001001 -01001010 -11010010 - -TIL 23 -00100110 -00010110 -01011100 -11001101 -10110101 -11110111 -11111111 -11111111 - -TIL a -11111000 -11111111 -01101111 -01011111 -01111110 -11111001 -11111111 -00000000 -WAL true - -TIL b -01111111 -11111111 -11111110 -11011110 -00111110 -11111111 -00011111 -00000000 -WAL true - -TIL c -11111111 -11111011 -11110111 -11101111 -11111111 -11111111 -10111111 -01111111 -WAL true - -TIL d -00000000 -11111111 -10000000 -10000000 -00000000 -00000000 -00000000 -00000000 - -TIL e -00000000 -11111111 -00000001 -00000001 -00000000 -00000000 -00000000 -00000000 - -TIL f -10111011 -10111011 -11011101 -11011101 -10111011 -10111011 -11111111 -10011001 - -TIL g -10111101 -10111101 -10111101 -10111101 -10111101 -10111101 -10110001 -10000001 - -TIL h -11111111 -10000001 -10111101 -10111101 -10111101 -10111101 -10111101 -10110101 - -TIL i -01000000 -00000000 -00000000 -00000100 -00100000 -00000000 -00000000 -00000010 -NAME carpet - -TIL j -00000000 -00011000 -00111100 -01111110 -00011000 -00111100 -00111100 -00011000 -WAL true - -TIL k -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 -NAME wall -WAL true - -TIL l -11010000 -11110000 -11100000 -11100000 -10100000 -10100000 -11110111 -11110000 - -TIL m -10000101 -10000111 -10000011 -10000011 -10000011 -10000011 -11110011 -00000101 - -TIL n -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 -11111111 -10101010 - -TIL o -00000000 -01111110 -01110010 -01111110 -01111110 -01111110 -01111110 -00000000 -NAME kitchen cabinet left -WAL true - -TIL p -00000000 -11111100 -10011100 -11111100 -11111100 -11111100 -11111100 -00000000 -NAME kitchen cabinet right -WAL true - -TIL q -00110000 -01010000 -01000000 -01111111 -10000001 -10000001 -10100001 -01111111 -> -00110000 -01000000 -01000000 -01111111 -10000001 -10000001 -10100001 -01111111 -NAME sink - -TIL r -00000000 -00000000 -00000000 -11111110 -00000001 -11111111 -00000001 -11111110 -NAME draining board - -TIL s -00000000 -00000000 -00000000 -11111011 -11111111 -10111110 -11111111 -11101111 -NAME countertop - -TIL t -11001100 -11001100 -00110011 -00110011 -11001100 -11001100 -00110011 -00110011 -NAME kitchen tiles - -TIL u -11001100 -10001000 -00110011 -00100010 -11001100 -10001000 -00110011 -00100010 - -TIL v -11001100 -11001000 -11110011 -11100010 -11001100 -11001000 -11110011 -11100010 -NAME table leg left - -TIL w -11001111 -10001011 -00110011 -00100011 -11001111 -10001011 -00110011 -00100011 -NAME kitchen table leg right - -TIL x -11000000 -10000000 -11110000 -01100000 -00111100 -00011000 -00001111 -00000110 -NAME stairs -WAL true - -TIL y -00000011 -00000001 -00000001 -00000001 -00000001 -00000001 -00000001 -00000001 -WAL true - -TIL z -11111111 -11111111 -11111111 -11111111 -11111111 -11111111 -11111111 -11111111 -NAME concrete 1 - -TIL 1a -00011111 -11100111 -00011011 -00000101 -00000101 -00000010 -00000010 -00000010 -WAL true - -TIL 1b -00000000 -11111111 -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 -WAL true - -TIL 1c -11111111 -11000111 -10101111 -11101000 -11101101 -11101101 -11101101 -11111111 -NAME hammers - -TIL 1d -11111111 -11111011 -11110111 -11101111 -11011111 -10011111 -00111111 -11111111 -NAME screwdriver - -TIL 1e -01100010 -01111000 -01110100 -00011010 -01100100 -01111000 -01110100 -00011010 -WAL true - -TIL 1f -00000000 -01110111 -01110111 -11101110 -10101010 -01010101 -10001000 -00000000 -WAL true - -TIL 1g -00000000 -00000111 -00011111 -00101010 -00110100 -01110010 -01111000 -00010100 -WAL true - -TIL 1h -01100100 -01111000 -01111100 -10011010 -11100100 -11111000 -11111100 -11111010 -WAL true - -TIL 1i -11101111 -11011000 -10101101 -11111111 -11111111 -10011111 -01001111 -10011111 - -TIL 1j -11111111 -11111111 -11111111 -00000000 -00000000 -00000000 -00000000 -00000000 -NAME cellar light - -TIL 1k -11111111 -11111111 -11111110 -11111001 -11100111 -10011111 -01111111 -01111111 -WAL true - -TIL 1l -00010000 -00010000 -00010000 -00010000 -00010000 -00010000 -00010000 -00010000 - -TIL 1m -00010000 -00010000 -00010000 -00010000 -00010000 -00010000 -00011000 -00111100 - -TIL 1n -01111111 -10111111 -11001111 -11110000 -11111111 -11111111 -11111111 -11111111 - -TIL 1o -10000000 -11111111 -11111111 -00000000 -11111111 -11111111 -11111111 -11111111 -WAL false - -TIL 1p -11110100 -11101001 -11010011 -00001111 -11111111 -11111111 -11111111 -11111111 - -TIL 1q -11110100 -11111010 -11110100 -11111010 -11111100 -11111010 -11110100 -11111010 -WAL true - -TIL 1r -11111111 -11111111 -10000000 -10111110 -10101010 -10111110 -10101010 -10111110 -WAL true - -TIL 1s -11111111 -11111111 -10000000 -10111110 -10100110 -10100100 -10111110 -10101010 -WAL true - -TIL 1t -00000000 -11111111 -11111111 -11111111 -11111111 -00000000 -00000000 -00000000 - -TIL 1u -00000000 -00101010 -01111111 -00101010 -01111111 -00101010 -00000000 -01111111 -WAL true - -TIL 1v -00111111 -00111111 -00111011 -00111111 -00111101 -00111111 -00111111 -00111111 - -TIL 1w -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 - -TIL 1x -11111111 -10101010 -10101010 -10101011 -10101110 -10101110 -10111000 -11111111 -NAME spanners - -TIL 1y -11111111 -10000111 -11000111 -11111011 -00011111 -11010101 -01010101 -11111111 -NAME drill - -TIL 1z -11111000 -11110111 -00001111 -11010000 -00100111 -11001011 -00011100 -11111111 -NAME wires - -SPR A -00000000 -00111100 -01111110 -11101110 -10011001 -11111111 -11111111 -01111110 -> -00000000 -00000000 -00111100 -01111110 -11101110 -10011001 -11111111 -01110110 -POS 0 2,5 - -SPR a -00000000 -01111000 -01001000 -00111100 -00111100 -01011110 -01011110 -01101111 -NAME hatch -DLG SPR_0 -POS 4 9,7 - -SPR b -11111111 -11111111 -10000000 -10111110 -10100110 -10100100 -10111110 -10101010 -NAME display -DLG SPR_1 -POS 4 11,7 - -SPR c -00000000 -01111000 -01001000 -00111100 -00111100 -01011110 -01011110 -01101111 -NAME hatch 2 -DLG SPR_2 -POS 5 9,7 - -SPR d -00000000 -01111000 -01001000 -00111100 -00111100 -01011110 -01011110 -01101111 -NAME hatch 3 -DLG SPR_3 -POS 6 9,7 - -SPR e -00000000 -01111000 -01001000 -00111100 -00111100 -01011110 -01011110 -01101111 -NAME hatch 4 -DLG SPR_4 -POS 7 9,7 - -SPR f -00000000 -01111000 -01001000 -00111100 -00111100 -01011110 -01011110 -01101111 -NAME hatch 5 -DLG SPR_5 -POS 8 9,7 - -SPR g -00000000 -01111000 -01001000 -00111100 -00111100 -01011110 -01011110 -01101111 -NAME hatch 6 -DLG SPR_6 -POS 9 9,7 - -ITM 0 -01000000 -00000000 -00000000 -00000100 -00100000 -00000000 -00000000 -00000010 -NAME curtains -DLG ITM_0 - -ITM 1 -00000000 -00011000 -00111100 -01111110 -00011000 -00111100 -00111100 -00011000 -NAME lamp - -ITM 2 -01000000 -00000000 -00000000 -00000100 -00100000 -00000000 -00000000 -00000010 -NAME light lamp -DLG ITM_1 - -ITM 3 -00010001 -00000100 -01000010 -00001000 -00000001 -00001010 -01000000 -00000101 -NAME lamplight left - -ITM 4 -00101000 -10000000 -00100000 -10001010 -00100000 -01010000 -10000000 -01001000 -NAME lamplight right - -ITM 5 -00000000 -00000000 -00000000 -00010000 -00000010 -01000000 -00001000 -00100100 -NAME lamplight top - -ITM 6 -01000000 -00000000 -00000000 -00000100 -00100000 -00000000 -00000000 -00000010 -NAME door -DLG ITM_2 - -ITM 7 -00000000 -00000000 -00100000 -00010000 -00000000 -01111100 -01111010 -00110100 -> -00000000 -00000000 -00010000 -00100000 -00000000 -01111100 -01111010 -00110100 -DLG ITM_3 - -ITM 8 -00000000 -00000100 -00010000 -00100000 -00000000 -01111110 -01111110 -00111100 -> -00000000 -00001000 -00100000 -00010000 -00000000 -01111110 -01111110 -00111100 -NAME porridge -DLG ITM_4 - -ITM a -01111110 -01111110 -01000010 -01101010 -01010010 -01101010 -01000010 -00111100 -> -01111110 -01111110 -01000010 -01010010 -01101010 -01010010 -01000010 -00111100 -NAME sun jar -DLG ITM_6 - -ITM c -11111111 -11111111 -11111111 -11111111 -11111100 -10010001 -11000100 -10011111 -DLG ITM_5 - -ITM d -00001000 -00100000 -10101100 -00010000 -01101000 -00001010 -00000000 -00010000 -> -00100000 -10010010 -00111010 -01111100 -10111001 -00010000 -00001100 -01000000 - -ITM e -00011000 -00011000 -00000000 -00000000 -00000000 -00000000 -00000000 -00000000 - -ITM f -00001000 -00110010 -01100100 -01101101 -00101011 -01110110 -01111001 -00110110 -> -00000000 -00001000 -00110010 -00110100 -01101101 -01111011 -01111110 -00111100 - -DLG ITM_0 -I draw the curtains. somehow the lamp seemed brighter than this. - -DLG ITM_1 -""" -another long sleep but I feel just as tired as last night. -I turn on the lamp and the light hurts my eyes. -""" - -DLG ITM_2 -I can't remember the last time I saw the sun. - -DLG ITM_3 -the coffee doesn't wake me up. now I'm just tired and jittery. - -DLG ITM_4 -I eat the porridge and begin to feel nauseated. - -DLG ITM_5 -""" -tired or not, it's time to get to work. -all winter I've worked on this machine but it's so close now... I can feel it. -""" - -DLG ITM_6 -""" -{sequence - - Last summer, every time the sun came out I would run outside with a jar. I'd catch the rays, seal them tight. - Put the jar on the shelf with the others. {jars = jars + 1} - - I miss those summer days and I know it's not the same, but every day I come down to the cellar and peer into the jars and I swear I could almost see junebugs in the air, - smell the smoke of distant barbeques, - and hear the faint jingle of the ice cream van. {jars = jars + 1} - - Every summer I worry that this one will be the last. - I have to make this count. {jars = jars + 1} - - I started work on the sun machine around autumn. I still had some energy then and there was still some sunlight to get it started. -Now I can only manage a small amount of work each day, if I'm lucky. {jars = jars + 1} - - But I think I'm finally finished. Or at least close enough to try. {jars = jars + 1} -} -""" - -DLG SPR_0 -""" -{ - - checked == 1 ? - { - - jars >= 5 ? - here goes nothing. - (exit "cellar 2,8,7") - - else ? - OK. time to gather the jars of sunlight. - } - - else ? - better check the readout first. -} -""" - -DLG SPR_1 -""" -looks pretty good... I think. - -one final adjustment. here we go. {checked = 1} -""" - -DLG SPR_2 -the feeling of sand between my toes. (exit "cellar 3,8,7") - -DLG SPR_3 -walking out of the corner shop and pressing a cold can of drink to my forehead. (exit "cellar 4,8,7") - -DLG SPR_4 -loud music from the cars passing by. (exit "cellar 5,8,7") - -DLG SPR_5 -""" -the mild evening air, -heavy with perfume from the blossoming trees. (exit "cellar 6,8,7") -""" - -DLG SPR_6 -loving easily and knowing I'm loved for sure. (exit "cellar 7,8,7") - -END 0 - - -END undefined -all this and still the promise of even better days to come. - -END undefined - - -VAR a -42 - +sun machine + +# BITSY VERSION 4.8 + +! ROOM_FORMAT 1 + +PAL 0 +NAME dark +33,33,43 +39,45,48 +64,51,62 + +PAL 1 +NAME lamplight +45,45,59 +66,60,39 +140,94,1 + +PAL 2 +NAME dawn +65,64,84 +97,112,122 +128,102,125 + +PAL 3 +NAME machine +45,45,59 +105,103,82 +176,138,48 + +PAL 4 +NAME machine 2 +76,70,86 +117,115,92 +201,158,55 + +PAL 5 +NAME machine 3 +100,93,107 +143,140,112 +219,179,88 + +PAL 6 +NAME machine 4 +125,118,125 +168,165,132 +245,200,98 + +PAL 7 +NAME machine 5 +156,153,149 +204,200,160 +255,226,131 + +PAL 8 +NAME machine 6 +219,219,198 +240,235,188 +255,249,195 + +PAL 9 +NAME machine 7 +255,255,255 +255,255,255 +255,255,255 + +ROOM 0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,n,n,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,f,f,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,f,f,0,0,0,0,h,0,0,0 +k,k,k,j,k,k,k,k,k,k,k,k,g,k,k,k +k,a,b,i,i,i,i,i,i,i,i,i,i,i,i,k +k,c,c,i,i,i,i,i,i,i,i,i,i,i,i,k +k,c,c,i,i,i,i,i,i,i,i,i,i,i,i,k +k,d,e,i,i,i,i,i,i,i,i,i,i,i,i,k +k,i,i,i,i,i,i,i,i,i,i,i,i,i,i,k +k,i,i,i,i,i,i,i,i,i,i,i,i,i,i,k +k,k,k,k,k,k,k,k,k,k,k,k,k,k,k,k +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,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14,15,16,1h,z,k +k,z,z,z,z,z,z,10,1d,1v,1r,1s,1r,1q,1z,k +k,z,z,12,10,z,z,z,1i,1n,1o,1o,1o,1p,z,k +k,z,z,z,z,z,z,z,z,z,z,z,10,z,z,k +k,z,z,z,z,z,11,z,z,z,z,z,z,z,z,k +k,z,z,z,z,z,z,z,z,z,12,z,z,10,12,k +k,k,k,k,k,k,k,k,k,k,k,k,k,k,k,k +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +NAME cellar 7 +ITM d 11,5 +ITM e 8,3 +ITM 5 1,0 +ITM 6 2,1 +ITM 6 3,2 +EXT 3,3 3 10,6 +END undefined 8,7 +PAL 9 + +TIL 10 +11111111 +11001111 +10111111 +11111111 +11111111 +11111111 +11111111 +11111111 +NAME concrete 2 + +TIL 11 +11111111 +11111111 +11111111 +11111111 +11111111 +10101111 +11011111 +11011111 + +TIL 12 +11111111 +11111111 +11111111 +11111101 +11111110 +11111111 +11111111 +11111111 +NAME concrete 3 + +TIL 13 +00000000 +01111110 +01111110 +00000000 +00000000 +00000000 +00000000 +00000000 + +TIL 14 +01000000 +01010000 +01010000 +01000000 +01100000 +10011000 +11100111 +11111000 +WAL true + +TIL 15 +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 +11111111 +00000000 +WAL true + +TIL 16 +00000010 +00000010 +00000010 +00000010 +00000110 +00011001 +11100111 +00011111 +WAL true + +TIL 17 +01010000 +01010000 +01010000 +01010000 +01010000 +01010000 +01010000 +01010000 +WAL true + +TIL 18 +00000010 +00000010 +00000010 +00000010 +00000010 +00000010 +00000010 +00000010 +WAL true + +TIL 19 +11111000 +11100111 +11011000 +10100011 +10100100 +01001000 +01010000 +01010000 +WAL true + +TIL 20 +00010000 +00100000 +01100000 +01000000 +01000000 +11000000 +10000000 +10000000 +> +00001000 +00110000 +00100000 +00100000 +01000000 +01000000 +11000000 +10000000 + +TIL 21 +00000001 +00000001 +00000011 +00000010 +00000010 +00000110 +00000100 +00001100 +> +00000001 +00000001 +00000001 +00000011 +00000010 +00000010 +00000110 +00001100 + +TIL 22 +00000000 +00000000 +00100000 +00100000 +01101000 +01001001 +01001010 +11010010 + +TIL 23 +00100110 +00010110 +01011100 +11001101 +10110101 +11110111 +11111111 +11111111 + +TIL a +11111000 +11111111 +01101111 +01011111 +01111110 +11111001 +11111111 +00000000 +WAL true + +TIL b +01111111 +11111111 +11111110 +11011110 +00111110 +11111111 +00011111 +00000000 +WAL true + +TIL c +11111111 +11111011 +11110111 +11101111 +11111111 +11111111 +10111111 +01111111 +WAL true + +TIL d +00000000 +11111111 +10000000 +10000000 +00000000 +00000000 +00000000 +00000000 + +TIL e +00000000 +11111111 +00000001 +00000001 +00000000 +00000000 +00000000 +00000000 + +TIL f +10111011 +10111011 +11011101 +11011101 +10111011 +10111011 +11111111 +10011001 + +TIL g +10111101 +10111101 +10111101 +10111101 +10111101 +10111101 +10110001 +10000001 + +TIL h +11111111 +10000001 +10111101 +10111101 +10111101 +10111101 +10111101 +10110101 + +TIL i +01000000 +00000000 +00000000 +00000100 +00100000 +00000000 +00000000 +00000010 +NAME carpet + +TIL j +00000000 +00011000 +00111100 +01111110 +00011000 +00111100 +00111100 +00011000 +WAL true + +TIL k +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 +NAME wall +WAL true + +TIL l +11010000 +11110000 +11100000 +11100000 +10100000 +10100000 +11110111 +11110000 + +TIL m +10000101 +10000111 +10000011 +10000011 +10000011 +10000011 +11110011 +00000101 + +TIL n +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 +11111111 +10101010 + +TIL o +00000000 +01111110 +01110010 +01111110 +01111110 +01111110 +01111110 +00000000 +NAME kitchen cabinet left +WAL true + +TIL p +00000000 +11111100 +10011100 +11111100 +11111100 +11111100 +11111100 +00000000 +NAME kitchen cabinet right +WAL true + +TIL q +00110000 +01010000 +01000000 +01111111 +10000001 +10000001 +10100001 +01111111 +> +00110000 +01000000 +01000000 +01111111 +10000001 +10000001 +10100001 +01111111 +NAME sink + +TIL r +00000000 +00000000 +00000000 +11111110 +00000001 +11111111 +00000001 +11111110 +NAME draining board + +TIL s +00000000 +00000000 +00000000 +11111011 +11111111 +10111110 +11111111 +11101111 +NAME countertop + +TIL t +11001100 +11001100 +00110011 +00110011 +11001100 +11001100 +00110011 +00110011 +NAME kitchen tiles + +TIL u +11001100 +10001000 +00110011 +00100010 +11001100 +10001000 +00110011 +00100010 + +TIL v +11001100 +11001000 +11110011 +11100010 +11001100 +11001000 +11110011 +11100010 +NAME table leg left + +TIL w +11001111 +10001011 +00110011 +00100011 +11001111 +10001011 +00110011 +00100011 +NAME kitchen table leg right + +TIL x +11000000 +10000000 +11110000 +01100000 +00111100 +00011000 +00001111 +00000110 +NAME stairs +WAL true + +TIL y +00000011 +00000001 +00000001 +00000001 +00000001 +00000001 +00000001 +00000001 +WAL true + +TIL z +11111111 +11111111 +11111111 +11111111 +11111111 +11111111 +11111111 +11111111 +NAME concrete 1 + +TIL 1a +00011111 +11100111 +00011011 +00000101 +00000101 +00000010 +00000010 +00000010 +WAL true + +TIL 1b +00000000 +11111111 +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 +WAL true + +TIL 1c +11111111 +11000111 +10101111 +11101000 +11101101 +11101101 +11101101 +11111111 +NAME hammers + +TIL 1d +11111111 +11111011 +11110111 +11101111 +11011111 +10011111 +00111111 +11111111 +NAME screwdriver + +TIL 1e +01100010 +01111000 +01110100 +00011010 +01100100 +01111000 +01110100 +00011010 +WAL true + +TIL 1f +00000000 +01110111 +01110111 +11101110 +10101010 +01010101 +10001000 +00000000 +WAL true + +TIL 1g +00000000 +00000111 +00011111 +00101010 +00110100 +01110010 +01111000 +00010100 +WAL true + +TIL 1h +01100100 +01111000 +01111100 +10011010 +11100100 +11111000 +11111100 +11111010 +WAL true + +TIL 1i +11101111 +11011000 +10101101 +11111111 +11111111 +10011111 +01001111 +10011111 + +TIL 1j +11111111 +11111111 +11111111 +00000000 +00000000 +00000000 +00000000 +00000000 +NAME cellar light + +TIL 1k +11111111 +11111111 +11111110 +11111001 +11100111 +10011111 +01111111 +01111111 +WAL true + +TIL 1l +00010000 +00010000 +00010000 +00010000 +00010000 +00010000 +00010000 +00010000 + +TIL 1m +00010000 +00010000 +00010000 +00010000 +00010000 +00010000 +00011000 +00111100 + +TIL 1n +01111111 +10111111 +11001111 +11110000 +11111111 +11111111 +11111111 +11111111 + +TIL 1o +10000000 +11111111 +11111111 +00000000 +11111111 +11111111 +11111111 +11111111 +WAL false + +TIL 1p +11110100 +11101001 +11010011 +00001111 +11111111 +11111111 +11111111 +11111111 + +TIL 1q +11110100 +11111010 +11110100 +11111010 +11111100 +11111010 +11110100 +11111010 +WAL true + +TIL 1r +11111111 +11111111 +10000000 +10111110 +10101010 +10111110 +10101010 +10111110 +WAL true + +TIL 1s +11111111 +11111111 +10000000 +10111110 +10100110 +10100100 +10111110 +10101010 +WAL true + +TIL 1t +00000000 +11111111 +11111111 +11111111 +11111111 +00000000 +00000000 +00000000 + +TIL 1u +00000000 +00101010 +01111111 +00101010 +01111111 +00101010 +00000000 +01111111 +WAL true + +TIL 1v +00111111 +00111111 +00111011 +00111111 +00111101 +00111111 +00111111 +00111111 + +TIL 1w +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 + +TIL 1x +11111111 +10101010 +10101010 +10101011 +10101110 +10101110 +10111000 +11111111 +NAME spanners + +TIL 1y +11111111 +10000111 +11000111 +11111011 +00011111 +11010101 +01010101 +11111111 +NAME drill + +TIL 1z +11111000 +11110111 +00001111 +11010000 +00100111 +11001011 +00011100 +11111111 +NAME wires + +SPR A +00000000 +00111100 +01111110 +11101110 +10011001 +11111111 +11111111 +01111110 +> +00000000 +00000000 +00111100 +01111110 +11101110 +10011001 +11111111 +01110110 +POS 0 2,5 + +SPR a +00000000 +01111000 +01001000 +00111100 +00111100 +01011110 +01011110 +01101111 +NAME hatch +DLG SPR_0 +POS 4 9,7 + +SPR b +11111111 +11111111 +10000000 +10111110 +10100110 +10100100 +10111110 +10101010 +NAME display +DLG SPR_1 +POS 4 11,7 + +SPR c +00000000 +01111000 +01001000 +00111100 +00111100 +01011110 +01011110 +01101111 +NAME hatch 2 +DLG SPR_2 +POS 5 9,7 + +SPR d +00000000 +01111000 +01001000 +00111100 +00111100 +01011110 +01011110 +01101111 +NAME hatch 3 +DLG SPR_3 +POS 6 9,7 + +SPR e +00000000 +01111000 +01001000 +00111100 +00111100 +01011110 +01011110 +01101111 +NAME hatch 4 +DLG SPR_4 +POS 7 9,7 + +SPR f +00000000 +01111000 +01001000 +00111100 +00111100 +01011110 +01011110 +01101111 +NAME hatch 5 +DLG SPR_5 +POS 8 9,7 + +SPR g +00000000 +01111000 +01001000 +00111100 +00111100 +01011110 +01011110 +01101111 +NAME hatch 6 +DLG SPR_6 +POS 9 9,7 + +ITM 0 +01000000 +00000000 +00000000 +00000100 +00100000 +00000000 +00000000 +00000010 +NAME curtains +DLG ITM_0 + +ITM 1 +00000000 +00011000 +00111100 +01111110 +00011000 +00111100 +00111100 +00011000 +NAME lamp + +ITM 2 +01000000 +00000000 +00000000 +00000100 +00100000 +00000000 +00000000 +00000010 +NAME light lamp +DLG ITM_1 + +ITM 3 +00010001 +00000100 +01000010 +00001000 +00000001 +00001010 +01000000 +00000101 +NAME lamplight left + +ITM 4 +00101000 +10000000 +00100000 +10001010 +00100000 +01010000 +10000000 +01001000 +NAME lamplight right + +ITM 5 +00000000 +00000000 +00000000 +00010000 +00000010 +01000000 +00001000 +00100100 +NAME lamplight top + +ITM 6 +01000000 +00000000 +00000000 +00000100 +00100000 +00000000 +00000000 +00000010 +NAME door +DLG ITM_2 + +ITM 7 +00000000 +00000000 +00100000 +00010000 +00000000 +01111100 +01111010 +00110100 +> +00000000 +00000000 +00010000 +00100000 +00000000 +01111100 +01111010 +00110100 +DLG ITM_3 + +ITM 8 +00000000 +00000100 +00010000 +00100000 +00000000 +01111110 +01111110 +00111100 +> +00000000 +00001000 +00100000 +00010000 +00000000 +01111110 +01111110 +00111100 +NAME porridge +DLG ITM_4 + +ITM a +01111110 +01111110 +01000010 +01101010 +01010010 +01101010 +01000010 +00111100 +> +01111110 +01111110 +01000010 +01010010 +01101010 +01010010 +01000010 +00111100 +NAME sun jar +DLG ITM_6 + +ITM c +11111111 +11111111 +11111111 +11111111 +11111100 +10010001 +11000100 +10011111 +DLG ITM_5 + +ITM d +00001000 +00100000 +10101100 +00010000 +01101000 +00001010 +00000000 +00010000 +> +00100000 +10010010 +00111010 +01111100 +10111001 +00010000 +00001100 +01000000 + +ITM e +00011000 +00011000 +00000000 +00000000 +00000000 +00000000 +00000000 +00000000 + +ITM f +00001000 +00110010 +01100100 +01101101 +00101011 +01110110 +01111001 +00110110 +> +00000000 +00001000 +00110010 +00110100 +01101101 +01111011 +01111110 +00111100 + +DLG ITM_0 +I draw the curtains. somehow the lamp seemed brighter than this. + +DLG ITM_1 +""" +another long sleep but I feel just as tired as last night. +I turn on the lamp and the light hurts my eyes. +""" + +DLG ITM_2 +I can't remember the last time I saw the sun. + +DLG ITM_3 +the coffee doesn't wake me up. now I'm just tired and jittery. + +DLG ITM_4 +I eat the porridge and begin to feel nauseated. + +DLG ITM_5 +""" +tired or not, it's time to get to work. +all winter I've worked on this machine but it's so close now... I can feel it. +""" + +DLG ITM_6 +""" +{sequence + - Last summer, every time the sun came out I would run outside with a jar. I'd catch the rays, seal them tight. + Put the jar on the shelf with the others. {jars = jars + 1} + - I miss those summer days and I know it's not the same, but every day I come down to the cellar and peer into the jars and I swear I could almost see junebugs in the air, + smell the smoke of distant barbeques, + and hear the faint jingle of the ice cream van. {jars = jars + 1} + - Every summer I worry that this one will be the last. + I have to make this count. {jars = jars + 1} + - I started work on the sun machine around autumn. I still had some energy then and there was still some sunlight to get it started. +Now I can only manage a small amount of work each day, if I'm lucky. {jars = jars + 1} + - But I think I'm finally finished. Or at least close enough to try. {jars = jars + 1} +} +""" + +DLG SPR_0 +""" +{ + - checked == 1 ? + { + - jars >= 5 ? + here goes nothing. + (exit "cellar 2,8,7") + - else ? + OK. time to gather the jars of sunlight. + } + - else ? + better check the readout first. +} +""" + +DLG SPR_1 +""" +looks pretty good... I think. + +one final adjustment. here we go. {checked = 1} +""" + +DLG SPR_2 +the feeling of sand between my toes. (exit "cellar 3,8,7") + +DLG SPR_3 +walking out of the corner shop and pressing a cold can of drink to my forehead. (exit "cellar 4,8,7") + +DLG SPR_4 +loud music from the cars passing by. (exit "cellar 5,8,7") + +DLG SPR_5 +""" +the mild evening air, +heavy with perfume from the blossoming trees. (exit "cellar 6,8,7") +""" + +DLG SPR_6 +loving easily and knowing I'm loved for sure. (exit "cellar 7,8,7") + +END 0 + + +END undefined +all this and still the promise of even better days to come. + +END undefined + + +VAR a +42 + diff --git a/test/resources/image b/test/resources/image new file mode 100644 index 0000000..3191a93 --- /dev/null +++ b/test/resources/image @@ -0,0 +1,8 @@ +11111111 +11001111 +10111111 +11111111 +11111111 +11111111 +11111111 +11111111 \ No newline at end of file diff --git a/test/resources/image-chequers-1 b/test/resources/image-chequers-1 new file mode 100644 index 0000000..5285a99 --- /dev/null +++ b/test/resources/image-chequers-1 @@ -0,0 +1,8 @@ +10101010 +01010101 +10101010 +01010101 +10101010 +01010101 +10101010 +01010101 \ No newline at end of file diff --git a/test/resources/item b/test/resources/item new file mode 100644 index 0000000..abf1548 --- /dev/null +++ b/test/resources/item @@ -0,0 +1,11 @@ +ITM 6 +01000000 +00000000 +00000000 +00000100 +00100000 +00000000 +00000000 +00000010 +NAME door +DLG ITM_2 \ No newline at end of file diff --git a/test/resources/room b/test/resources/room new file mode 100644 index 0000000..e77a7c3 --- /dev/null +++ b/test/resources/room @@ -0,0 +1,26 @@ +ROOM a +0,0,0,0,0,0,0,0,1l,0,0,0,0,0,0,0 +y,x,0,0,1j,0,0,1j,1l,0,1j,0,0,1j,0,0 +y,y,x,k,k,1c,1x,1y,1m,0,0,0,0,0,0,0 +y,y,y,x,k,s,s,s,k,k,k,k,k,1g,1f,k +k,z,z,z,1i,1u,1u,1u,1v,11,19,1b,1a,1e,10,k +k,z,z,11,12,z,z,z,z,10,17,z,18,1e,12,k +k,z,z,z,z,z,z,z,z,1k,14,15,16,1h,z,k +k,z,z,z,z,z,z,10,1d,1v,1r,1s,1r,1q,1z,k +k,z,z,12,10,z,z,z,1i,1n,1o,1o,1o,1p,z,k +k,z,z,z,z,z,z,z,z,z,z,z,10,z,z,k +k,z,z,z,z,z,11,z,z,z,z,z,z,z,z,k +k,z,z,z,z,z,z,z,z,z,12,z,z,10,12,k +k,k,k,k,k,k,k,k,k,k,k,k,k,k,k,k +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 +NAME cellar 7 +ITM d 11,5 +ITM e 8,3 +ITM 5 1,0 +ITM 6 2,1 +ITM 6 3,2 +EXT 3,3 3 10,6 +END undefined 8,7 +PAL 9 \ No newline at end of file diff --git a/test/resources/sprite b/test/resources/sprite new file mode 100644 index 0000000..9a5ade7 --- /dev/null +++ b/test/resources/sprite @@ -0,0 +1,12 @@ +SPR a +00000000 +01111000 +01001000 +00111100 +00111100 +01011110 +01011110 +01101111 +NAME hatch +DLG SPR_0 +POS 4 9,7 \ No newline at end of file diff --git a/test/resources/tile b/test/resources/tile new file mode 100644 index 0000000..830ea8b --- /dev/null +++ b/test/resources/tile @@ -0,0 +1,11 @@ +TIL z +11111111 +11111111 +11111111 +11111111 +11111111 +11111111 +11111111 +11111111 +NAME concrete 1 +WAL true \ No newline at end of file diff --git a/test/resources/tile-chequers b/test/resources/tile-chequers new file mode 100644 index 0000000..dde3fbc --- /dev/null +++ b/test/resources/tile-chequers @@ -0,0 +1,19 @@ +TIL 7a +10101010 +01010101 +10101010 +01010101 +10101010 +01010101 +10101010 +01010101 +> +01010101 +10101010 +01010101 +10101010 +01010101 +10101010 +01010101 +10101010 +NAME chequers \ No newline at end of file