Moved some logic from GameLayer into Chicken.