1. Evan Gates
  2. cubeutils

Commits

Evan Gates  committed 2f84d83

notation change, get rid of debug printf

  • Participants
  • Parent commits 507f4b4
  • Branches default

Comments (0)

Files changed (1)

File solve.c

View file
  • Ignore whitespace
 void print_move(int mv)
 {
 	char *faces = "UDFBRL";
-	char *num   = "+2-";
+	char *num   = " 2'";
 
 	if (mv == -1) return;
 	printf("%c%c ", faces[mv / 3], num[mv % 3]);
 	init_trans_tables();
 	init_prune_tables();
 
-	for (i = 0; i < 2048; i++) {
-		set_eo_coord(i);
-		if (get_eo_coord() != i)
-			printf("that's not good\n");
-	}
-
 	while (fgets(buf, sizeof(buf), stdin)) {
 		memset(phase_1_moves, -1, sizeof(phase_1_moves));
 		memset(phase_2_moves, -1, sizeof(phase_2_moves));