I am in the process of making a game, and I am sending the game to my friends to test it and report the bugs they find back to me, but I do not want the game to be spread because it is still a WIP. How could I go about making it only run on a specific computer?
My Idea:
public class Auth {
private static String neededMacAddress = "18-5E-0F-14-D2-91";
private static String systemID = System.getMAC(); //this is not it obviously
public static void main(String args[]) {
if (systemID.equals(neededSystemID)) {
new Game();
}
}
}
EDIT: I am editing this a year or two later because I need to fix my questions in order to ask more, and I now know a lot more about programming. When I asked this question I was only a few weeks into my first CS class. I can answer this, but I need to edit it to comply with the guidelines.