game in working state. still need to handle leaves