You can patent game mechanics - famous example would be Legend of Zelda's targeting system. Apparently Nintendo is extremely aggressive about patenting game mechanics.
https://kotaku.com/nintendo-is-trying-to-patent-some-really-...
https://kotaku.com/nintendo-is-trying-to-patent-some-really-...