Gameplay functionality implemented - compiles in clang