Restructure gameseq.c for merging