#include <stdio.h>#include <string.h>#include "chess.h"#include "chess_printer.h"#include "test_chess.h"
Functions | |
| void | ui_branch () |
| int | main (int argc, char *argv[]) |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Main function evaluates the number of command line arguments. If the user passed one main switches into test mode, i.e., that the function test_branch() is called and the command line argument is handed over to this function. If no command line argument is given main switches into user interface mode and delegates the handling of this to the function ui_branch().

| void ui_branch | ( | ) |
ui_branch handles the user interface mode of Chess.

1.7.0