I comment out the old main function, fixed the maekMove.c. Try make and run the program. You will see the differernce! I still need to fix the main funcion somehow but the computer is able to play against itself now.