merge game stuff to layout