Chess game in javafx