Live data from Hacker News

Show HN: Open-sourced my Java chess AI high school project

github.com

1–10 of 14 posts

Re: Show HN: Open-sourced my Java chess AI high school project

#4
post #3

Cool 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 "/".

It 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#s...

Re: Show HN: Open-sourced my Java chess AI high school project

#6
post #4
post #3

Cool 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 "/".

It 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#s...

For future reference, just using slash ("/") will work for both Windows and Unix systems (linux and OSX)

Re: Show HN: Open-sourced my Java chess AI high school project

#7

I'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.

Fair 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.

Re: Show HN: Open-sourced my Java chess AI high school project

#8
post #6
post #4

Earlier quoted context omitted.

It 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#s...

For future reference, just using slash ("/") will work for both Windows and Unix systems (linux and OSX)

Yes, Windows treats both "/" and "\" as separators. Just make sure you handle the edge cases.

http://stackoverflow.com/questions/4845866/java-on-windows-p...

Re: Show HN: Open-sourced my Java chess AI high school project

#9
post #7

I'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.

Fair 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.

Did you even click the link? This was a 2005 high school project, so the author is 3 years out of college.

Re: Show HN: Open-sourced my Java chess AI high school project

#10

I'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.

https://github.com/pate/chessmate/issues/new?title=Please%20...
Post reply on HN