half game implemented with bugs