Page 2 of 2

Re: the basics of creating a go bot

Posted: Sun Feb 15, 2015 5:00 pm
by xed_over
phillip1882 wrote:i don't use the global empty, black, and white, because i wanted to make sure my program worked properly first.
yeah, but now with your new visual changes, you've introduced more bugs, because elsewhere in your code you're still comparing the values to the hardcoded string "+" instead of "."

Just because someone asks for changes, doesn't mean you should try to implement them right away. Take your time and re/test everything.

And just like in go, try to look for more than one solution. The first solution that comes to mind, may not be the best. It may in fact paint you into a corner that'll be near impossible to get out of later.

Re: the basics of creating a go bot

Posted: Sun Feb 15, 2015 7:18 pm
by phillip1882
yeah, but now with your new visual changes, you've introduced more bugs, because elsewhere in your code you're still comparing the values to the hard coded string "+" instead of "."
no, i haven't. "." only applies to the print function as it should, nothing else has changed. making "." and "+" as my empty would make my code nearly 1/3 more complex.

Re: the basics of creating a go bot

Posted: Sat Mar 07, 2015 7:27 pm
by phillip1882
so brief update, i tried writing two go bots, one using a sort of influence idea the other using a sort of neural net learning bot. both failed horribly. if anyone's interested in my code, let me know and i'll post it here. but yeah both are quite horrible, so not much point i figure.