For no reason whatsoever I was wondering if/how I could implement anti-piracy measures in my game
Well, it depends entirely on your distribution of the game since anti piracy is verifying that it got distributed by you through your distribution methods. For example if you deploy your game on steam, you would have to use the steamworks SDK to ask steam “hey did that user actually buy the game”. If you did it through your own system, you would probably need your user to log in and ask your server if the user logged in has an active license.
ok thanks I’ll look into it