Search found 9 matches

by delphi_coder
Fri Aug 12, 2022 10:46 pm
Forum: Programming and Technical Discussions
Topic: What techniques would you use to make an engine for very low memory/power hardware?
Replies: 1
Views: 3290

Re: What techniques would you use to make an engine for very low memory/power hardware?

The situation seems as nightmare. Less than a kilobyte for code+data or just data? I remember one good chess program from the old MS-DOS days but it also had hundreds of kilobytes to function. I've a doubt if you can write a code for a movegen assuming just 12bit for single move you are unable to ...
by delphi_coder
Wed Jul 13, 2022 12:14 pm
Forum: Programming and Technical Discussions
Topic: Why is my engine printing the full PV line when using TTs?
Replies: 12
Views: 6966

Re: Why is my engine printing the full PV line when using TTs?

It seems normal behavior. Why you expect to see some thing different.
In my opinion its better to clear the table every time engine starting to search, because it stores only a hash value (just like a checksum), there is no guaranty that there will be no conflict between two position's hash, so you ...
by delphi_coder
Wed Jul 13, 2022 11:58 am
Forum: Engines, GUIs, Books and Platforms
Topic: MzingaCpp 0.9.6
Replies: 1
Views: 789

Re: MzingaCpp 0.9.6

It look like incomplete work. Gives me error for every any UCI command!!
by delphi_coder
Tue Jul 12, 2022 8:19 pm
Forum: Programming and Technical Discussions
Topic: Accessing the move sequence that negamax bases its evaluation upon
Replies: 1
Views: 5118

Re: Accessing the move sequence that negamax bases its evaluation upon

This was also one of my problems on first day. This code from my engine (at this moment simply alpha beta TT) maybe useful. I think its much better for understanding than explanation
function Search(Board: TBitBoard; Depth: Integer; Alpha, Beta: Integer; CurrentBoardKey: UInt64; MoveInfo: TMoveInfo ...
by delphi_coder
Tue Jul 12, 2022 12:37 am
Forum: Programming and Technical Discussions
Topic: Evalution or Alpha Beta problem
Replies: 7
Views: 11912

Re: Evalution or Alpha Beta problem

Yes, exactly. because i just set that to search very limited fixed depth since there was no improvement to raw alpha beta such as move ordering or PVS or any pruning techniques.

I thought about many kind of ways to implement good search but some are not possible due to memory limitation and some ...
by delphi_coder
Tue Jul 12, 2022 12:18 am
Forum: Programming and Technical Discussions
Topic: HELP: Possibly infinite recursion in quiescence search
Replies: 2
Views: 5630

Re: HELP: Possibly infinite recursion in quiescence search

I experienced this problem when i include check moves on quiescence search.as a simple debug technique you may want to try putting depth limit for including checks in quiescence. or exclude them to see if the problem persist
// move list
moves := pos.generate_moves()
just as a doubt: does this ...
by delphi_coder
Tue Mar 26, 2019 11:04 pm
Forum: Programming and Technical Discussions
Topic: Evalution or Alpha Beta problem
Replies: 7
Views: 11912

Re: Evalution or Alpha Beta problem


Bad move ordering will make the search take much longer, but eventually it should get the right answer.
Do you have a quiescence function? Sometimes bad moves are made when a quiescent search would have shown that the move fails due to a simple chain of captures.

A good thing to do to debug your ...
by delphi_coder
Tue Mar 26, 2019 10:39 pm
Forum: Programming and Technical Discussions
Topic: Evalution or Alpha Beta problem
Replies: 7
Views: 11912

Re: Evalution or Alpha Beta problem


Move order will not make the engine play ridiculous moves. Are most of the moves nonsense or just the odd one?

Other moves are not perfect and according to the engine strength are acceptable. but some of moves are buggy.
Can you post an example of a position and the move in question?
position ...
by delphi_coder
Tue Mar 05, 2019 2:21 pm
Forum: Programming and Technical Discussions
Topic: Evalution or Alpha Beta problem
Replies: 7
Views: 11912

Evalution or Alpha Beta problem

Hi everyone,
After finishing some of the base parts of engine such as (Simple UCI Adapter)/MovGen/DoMove/(Simple fixed depth Alpha Beta Search)/QuiescenceSearch(excluding check moves) and very simple evaluation (as simple as material and score arrays for piece on position) I noticed that engine ...