Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
krkartikay committed Oct 16, 2017
2 parents ce9adc8 + e94e03a commit 9a9314e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ int main(int argc, char const *argv[]){
runTests();
return 0;
#endif
//what level you selected
if(argv[1] != '\0'){
printf("LEVEL = %s \n",argv[1]);
}
else{
puts("LEVEL = 4 (default)\n");
}

// Setup intial position
position *current_position;
Expand Down Expand Up @@ -85,4 +92,4 @@ int main(int argc, char const *argv[]){
// TODO licence
// TODO 3-fold repetition
// TODO 50 move rule
// TODO PGN mode
// TODO PGN mode

0 comments on commit 9a9314e

Please sign in to comment.