You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added getCellBoundingBox to find the bounding box of an array of [x, y][] cell positions
Added numberPairArrayToMatrix util function to convert an array of [x, y][] cell positions to a matrix of 0's and 1's
Added Set2D data structure from cobyj33/automata
Moved ByteArray to core/byteArray.ts
Added support for Life 1.06 file format
Started adding tests for Life 1.06 file format
Added support for plaintext file format
Added functionality to writeLife106String to automatically ignore duplicate values
Added writePlainTextMetadata to write description data for the plaintext format
Added writePlainTextFromCoordinates and writePlainTextMatrix to be able to build the plaintext format from both forms of data
thrownewError(`Invalid Life 1.06 string. Error at Line ${i}. There must be an X and a Y position only on subsequent lines after the Life 1.06 Header \n${str}\n `)
40
+
}
41
+
42
+
if(ended){
43
+
thrownewError(`Invalid Life 1.06 string: \n${str}\n Error at Line ${i}. X and Y Values must be on subsequent lines`)
0 commit comments