Search found 845 matches

by phhnguyen
Mon Feb 20, 2012 3:07 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Apple is dropping X11 in upcoming OS X 10.8
Replies: 37
Views: 4799

Re: Even worse

Even worse than dropping features, Apple is now taking the Mac application development environment into the same "walled garden" as is already used for iPhone/iPad development. This means that if you want to program on the Mac, you must first cough up US$99 per year, agree to a bunch of terms, and ...
by phhnguyen
Sat Feb 18, 2012 4:30 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Apple is dropping X11 in upcoming OS X 10.8
Replies: 37
Views: 4799

Re: Apple is dropping X11 in upcoming OS X 10.8

BubbaTough wrote:
hgm wrote:Well, we soon might have a native Cocoa port of it, called OSXBoard. So who cares...
I am very much looking forward to this :).

-Sam
Me too :D
by phhnguyen
Thu Feb 09, 2012 11:41 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stylizing code
Replies: 18
Views: 2554

Re: Stylizing code

It is good that you have a solution for your code! For me, I am very lazy to add any lines just for styling. I also don't want to explain them later for other people. Both code formatted by astyle and code with adding those lines are not perfect and at same annoying level. Thus I will accept any thi...
by phhnguyen
Thu Feb 09, 2012 9:02 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Stylizing code
Replies: 18
Views: 2554

Re: Stylizing code

Hello, I use AStyle for stylizing my code. I suppose many here use it too. But I have a problem with array initialization, like PSTs. It always show wrong: static const int EV_B_SITUACION_CABALLO_NEGRO[64] = { -30, -24, -14, -10, -10, -14, -24, -30, -20, -10, 0, 6, 6, 0, -10, -20, -3, 5, 16, 2...
by phhnguyen
Thu Nov 17, 2011 1:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Xiangqi chase algorithm
Replies: 7
Views: 1034

Re: Xiangqi chase algorithm

I was looking into implementing chase detection (for Xiangqi), so I went back and read the long discussion on this form from a while back. I didn't get a clear sense that an accurate step-by-step algorithm was arrived at, so I'd like to know if there is (but it wasn't discussed here), or if anyone ...
by phhnguyen
Thu Oct 06, 2011 1:54 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Cheating detection algorithms - hints and ideas
Replies: 21
Views: 3326

Re: Cheating detection algorithms - hints and ideas

I think you mixed 2 approaches. Democracy with human rights and the chess. In real life, you are not guilty of any crime, until court says something else. In chess, even on official FIDE tournaments you can't have mobile phone, go often to toilet, talk to other players, etc. You have only those rig...
by phhnguyen
Tue Oct 04, 2011 1:43 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Cheating detection algorithms - hints and ideas
Replies: 21
Views: 3326

Re: Cheating detection algorithms - hints and ideas

I am not sure about how strong player you are. But trust me, I myself can detect strong cheater who is seldom using engine. In chess there are sometimes such hard positions, that even very strong GM can't evaluate them correctly. And important is, that GM's will never play longer games. They always...
by phhnguyen
Tue Oct 04, 2011 12:32 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Cheating detection algorithms - hints and ideas
Replies: 21
Views: 3326

Re: Cheating detection algorithms - hints and ideas

I don't know what is the situation in China. But what we find out is, that cheaters are from countries, where is lack of democracy. We had very few cheaters from USA, Britain, Switzerland, Sweeden, etc.. Most of cheaters on our server is from Romania, Russia, Hungary. So in my oppinion cheaters are...
by phhnguyen
Mon Oct 03, 2011 10:05 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Cheating detection algorithms - hints and ideas
Replies: 21
Views: 3326

Re: Cheating detection algorithms - hints and ideas

There is no other way, we have to detect and ban users. Every server does it. The reason is simple, let say 90% never try to cheat, 9% will try it, but if we detect them, they stop. 1% will try it always, but, are all of them smart enougt to cheat undetected? The more complicated cheating is, the l...
by phhnguyen
Tue Sep 27, 2011 12:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Engine sacrificing pieces!
Replies: 15
Views: 3063

Re: Engine sacrificing pieces!

Can you try to search little bit deeper? Say 6 or 7 instead of default 5?
(In main function, change the line:
max_depth = 6;
)

I think the main problem is the search depth is too small.