viewer shows turn number
gracefully quit when readline() fails