First pass at basic gameplay mechanics