Working on Check for end of the game

Recursive Implementation
Don´t know what´s wrong

Codeblocks sucks!