Restructured game kernel