A virtual reality application to play chess