first commit, single-player functionality