rattle game main and end layout