The Lookup Table Generator computes a lookup table for each TS programs. To run it from the command-line, enter the following.
java -cp target/tetromino-computer.jar tetrominocomputer.ts.LutsGenerator
It loads the TS programs from code/ts, and it saves the lookup tables to code/luts.
The Lookup Table Generator employs the memoized algorithm described previously. As a parallelized algorithm, it consumes 100% CPU during execution.
The Lookup Table Generator ignores the JavaScript snippets. It works exclusively from the TS programs.
© 2023 meatfighter.com |