work on file to play chess game by itself