7 ms·
Show HN: Open-sourced my Java chess AI high school project
- TannerLD 13y agosrc/build.bat seems to be missing.
- tba 13y agoCool project! Anyone trying to run it on *nix will need to open Main.java and replace all instances of the windows-specific file separator "\\" with "/".
- jared314 13y agoIt should be using the java.io.File.separator[0] constant for platform independence. [0] http://docs.oracle.com/javase/6/docs/api/java/io/File.html#separator http://docs.oracle.com/javase/6/docs/api/java/io/File.html#s...
- madsravn 13y agoFor future reference, just using slash ("/") will work for both Windows and Unix systems (linux and OSX)
- jared314 13y agoYes, Windows treats both "/" and "\" as separators. Just make sure you handle the edge cases. http://stackoverflow.com/questions/4845866/java-on-windows-prevent-slash-in-file-name-from-acting-as-a-seperator http://stackoverflow.com/questions/4845866/java-on-windows-p...
- theonewolf 13y agoI'm not sure I'd call "uploading code" to a website "open sourcing." Where is your LICENSE file? Where are licensing terms discussed? Open source isn't just code; the license you release under is equally, and perhaps even more, important than the code.
- rickdale 13y agoFair enough criticism here, but this is a high schooler. Instead of coming on strong with HEY WHERE IS THIS AND THAT, understand that he "open-sourced" the project to learn stuff. So since I don't have the proper knowledge to explain the open-source license stuff, maybe you could explain a bit or point to a good read so he/she can continue to learn.
- stefan_kendall 13y agoDid you even click the link? This was a 2005 high school project, so the author is 3 years out of college.
- sjtgraham 13y agohttps://github.com/pate/chessmate/issues/new?title=Please%20can%20you%20add%20a%20license?&body=Thank%20you%20for%20sharing%20this%20code,%20but%20nobody%20can%20use%20it%20without%20a%20license.%20Please%20can%20you%20add%20one https://github.com/pate/chessmate/issues/new?title=Please%20...
- FreshCode 13y agoRelax, I've added an MIT licence :).
- FreshCode 13y agoWill add an MIT licence tonight.