logic game implemented