// Show the sequence of blocks that will be dropped for a given seed. #include #include"state.h" int main(int argc, char **argv) { int seed; if( argc != 2 || sscanf(argv[1], "%d", &seed) != 1 ) { printf("%s \n", *argv); return 1; } printf("Seed = %d\n", seed); const BlockList block_list = GenerateBlockList(seed); puts("Blocks ="); DumpBlockList(block_list); return 0; }