Search found 90 matches

by JohnWoe
Mon Oct 14, 2019 8:43 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: kiwipete perft position
Replies: 51
Views: 7407

Re: kiwipete perft position

My programming style is very low-level, so I never do things like objects, and even structs are rare. Pieces are just represented by small integers, usually unsigned char. The 'properties' are then simply stored in arrays, indexed by the piece number. (I prefer that over grouping them in structs, w...
by JohnWoe
Mon Oct 14, 2019 8:24 pm
Forum: Computer Chess Club: General Topics
Topic: Android UCI engines that can limit ELO?
Replies: 10
Views: 725

Re: Android UCI engines that can limit ELO?

Is Sapeli an ANDROID engine? Peter Yes. I played w/ compilers and managed to compile ARM v7 of Sapeli 1.54 for modern Android devices. I needed to make a few changes in code. Compiles no problem. sapeli154-arm: https://github.com/SamuraiDangyo/Sapeli/tree/binaries/bin I compiled also for Windows 64...
by JohnWoe
Mon Oct 14, 2019 7:35 am
Forum: Computer Chess Club: General Topics
Topic: Android UCI engines that can limit ELO?
Replies: 10
Views: 725

Re: Android UCI engines that can limit ELO?

Tried different Sapeli playing levels on PyChess. As I tried that GUI. Not very smooth playing strength transition. But definitely works. Sapeli 1.53 Level 1 ( Not Random Mover ) vs PyChess.py. Chess960. Loss. [Event "Local Event"] [Site "Local Site"] [Date "2019.10.14"] [Round "1"] [White "Sapeli 1...
by JohnWoe
Mon Oct 14, 2019 6:22 am
Forum: Computer Chess Club: General Topics
Topic: Python Easy Chess GUI
Replies: 27
Views: 3419

Re: Python Easy Chess GUI

OS on this comp: NAME="Ubuntu" VERSION="18.04.3 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.3 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://...
by JohnWoe
Sun Oct 13, 2019 10:42 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: kiwipete perft position
Replies: 51
Views: 7407

Re: Position with eleven rocks.

Hello: Skipper gives castling rights depending on rook number. So the position below might give a problem. Skipper gives perft(4) = 265703 [d] rrrrkr1r/rr1rr3/8/8/8/8/8/6KR w k - 0 1 rrrrkr1r/rr1rr3/8/8/8/8/8/6KR w k - 0 1 Results by JetChess 1.0.0.0: perft(1) = 8 perft(2) = 388 per...
by JohnWoe
Sun Oct 13, 2019 10:34 pm
Forum: Computer Chess Club: General Topics
Topic: Python Easy Chess GUI
Replies: 27
Views: 3419

Re: Python Easy Chess GUI

Great work!
I tried to play on it Sapeli. After installing tons of stuff I got into this.
Image
by JohnWoe
Sun Oct 13, 2019 9:59 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: kiwipete perft position
Replies: 51
Views: 7407

Re: kiwipete perft position

Board presentation is the first choice when starting to write chess engine from scratch. How pieces are encoded. Some uses just INTs for moves. From/To/Castle is encoded in 4 bytes. If you can debug that thing perfectly it is fast. In Sapeli I use a 184 bytes board as a "move".
by JohnWoe
Sun Oct 13, 2019 9:40 pm
Forum: Computer Chess Club: General Topics
Topic: Sapeli 1.0 - New chess engine
Replies: 79
Views: 20182

Re: Sapeli 1.0 - New chess engine

Sapeli 1.53 Source code: https://github.com/SamuraiDangyo/Sapeli Release: https://github.com/SamuraiDangyo/Sapeli/releases/tag/v1.53 - Somehow I forgot knight outposts in earlier versions. - Simplifications. - Added check extensions. - PST are now const. Nice underpromotion in the end. :D In 1 minut...
by JohnWoe
Wed Oct 02, 2019 10:09 pm
Forum: Computer Chess Club: General Topics
Topic: 3900X SF9 benchmarks on various flavors of Linux Systems
Replies: 1
Views: 381

Re: 3900X SF9 benchmarks on various flavors of Linux Systems

After I installed the latest Mint on my laptop. I noticed a huge boost in search speed ( +1 mnps ). Movegenerator ( +10 mnps ). I remember Sapeli searching 3.8 - 4.2 mnps on this laptop. Now Sapeli is searching almost 6 mnps. I used gcc7.2 earlier So the speed up is coming from OS. Notice a big boos...
by JohnWoe
Sun Sep 29, 2019 8:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Using profiler on linux
Replies: 8
Views: 943

Re: Using profiler on linux

With Sapeli -bench means benching the chess engine. -benchm benches mgen and the the same nodes are expented. Valgrind report of Sapeli 1.48. No leaks are possible. Not surprising as I have written Sapeli in the most simplest way. ... --9434-- REDIR: 0x5174c70 (libc.so.6:__strcpy_chk) redirected to ...