New version of Nawito chess engine

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

ernesto
Posts: 24
Joined: Fri Oct 20, 2017 5:54 pm

New version of Nawito chess engine

Post by ernesto »

Greetings friends

Here I leave the version 1906of the Nawito chess engine. I recommend reading the readme.txt file where some of the new changes and their origin are explained. This version use a experimental book learning based on Ant Colony Algorithm and it is very likely to change in the future. Please report any errors related to the opening book.

You can find it in: https://github.com/etorresf/Nawito1906
Max
Posts: 247
Joined: Tue Apr 13, 2010 10:41 am

Re: New version of Nawito chess engine

Post by Max »

Thanks Ernesto!

Nawito compiles & runs fine on Mac too!

Code: Select all

./nawito-1906
#
# Nawito1906 is a chess engine with winboard protocol.
# Copyright (C) <15/06/2019> by <Ernesto Torres Feliciano>
#
#
# Nawito1906.ini	file no found.
#
# Noise		config no found. Using	'Noise = 200000'
# Book1		config no found. Using	'Book1 = Null'
# Book2		config no found. Using	'Book2 = Null'
# ShowBoard	config no found. Using	'ShowBoard = off'
# ShowMoves	config no found. Using	'ShowMoves = off'
# Hash		config no found. Using	'Hash = 128'
# Ecache	config no found. Using	'Ecache = 32'
# BookLearn	config no found. Using	'BookLearn = off'
#
#
# Profile		=	
#
# Hash			=	128 Mb.
# Ecache		=	32 Mb.
#
# BookLearn		=	off
#
# Noise			=	200000
#
# ShowBoard		=	off
# ShowMoves		=	off
#
#
# "--help" o "-h" print a list of commands.
#
--bench

   Searching Mate in 11... 


   		Nawito1906(?)
   +---+---+---+---+---+---+---+---+
 8 | r |   |   |   |   | n | k |   |
   +---+---+---+---+---+---+---+---+
 7 |   |   |   |   | b | r | p |   |
   +---+---+---+---+---+---+---+---+
 6 | q |   |   | p |   | p | Q | P |
   +---+---+---+---+---+---+---+---+
 5 |   |   |   | P |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 4 |   |   | p |   | N | P |   |   |
   +---+---+---+---+---+---+---+---+
 3 | P |   |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 2 |   | B |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 1 |   | K | R |   |   |   | R |   |
   +---+---+---+---+---+---+---+---+
     a   b   c   d   e   f   g   h

10 659 19 327197 h6h7 f8h7 g1h1 e7d8 h1h7 a6a4 e4d6 f7c7 d6c4 a4b3 c1c2 
11 793 26 412457 h6h7 f8h7 g1h1 e7d8 g6h7 g8f8 h7h8 f8e7 e4f6 g7f6 c1e1 e7d7 h8e8 d7c8 e8f7 a8b8 
12 1320 99 1230758 h6h7 f8h7 g1h1 e7d8 h1h7 a6b7 h7g7 g8f8 g7g8 f8e7 e4f6 b7b2 b1b2 c4c3 c1c3 a8b8 b2a2 f7f6 
13 1266 173 2389963 h6h7 f8h7 g1h1 e7d8 h1h7 a6b5 g6h5 g8f8 e4d6 b5d7 h7h8 f8e7 h5f7 e7d6 b2e5 f6e5 f4e5 d6e5 f7d7 
14 1831 386 4978765 h6h7 f8h7 g1h1 e7d8 h1h7 a6b5 g6h5 g8f8 e4d6 b5d7 h7h8 f8e7 d6f5 d7f5 h5f5 a8a6 c1e1 e7d6 h8d8 d6c5 
15 2299 1066 14440590 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f6e8 c7b8 f7e7 a6b6 e8d6 c4c3 
16 3312 2323 32615019 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 b2d4 b6a5 e7b7 c4c3 b7b4 a5a6 b4d6 a6b5 
17 10279 5873 87756659 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 e7b7 b6a5 g7g8 c4c3 g8a8 
18 10279 7716 122280234 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 e7b7 b6a5 b2c3 a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e8e7 c7b6 e7b7 b6a5 b2c3 a5a4 b7b4 
# 
# Time: 2428 ms
# Nodes: 5110186
# 
# Best Nodes per second: 2103822 (Score: 1.0128)
# Score: 1.000 on Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz 2.60GHz
Hope we're not just the biological boot loader for digital super intelligence. Unfortunately, that is increasingly probable - Elon Musk
User avatar
Graham Banks
Posts: 41433
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: New version of Nawito chess engine

Post by Graham Banks »

ernesto wrote: Tue Jul 23, 2019 1:43 pm Greetings friends

Here I leave the version 1906of the Nawito chess engine. I recommend reading the readme.txt file where some of the new changes and their origin are explained. This version use a experimental book learning based on Ant Colony Algorithm and it is very likely to change in the future. Please report any errors related to the opening book.

You can find it in: https://github.com/etorresf/Nawito1906
Thanks Ernesto. :)
gbanksnz at gmail.com
ernesto
Posts: 24
Joined: Fri Oct 20, 2017 5:54 pm

Re: New version of Nawito chess engine

Post by ernesto »

Max wrote: Tue Jul 23, 2019 1:58 pm Thanks Ernesto!

Nawito compiles & runs fine on Mac too!

Code: Select all

./nawito-1906
#
# Nawito1906 is a chess engine with winboard protocol.
# Copyright (C) <15/06/2019> by <Ernesto Torres Feliciano>
#
#
# Nawito1906.ini	file no found.
#
# Noise		config no found. Using	'Noise = 200000'
# Book1		config no found. Using	'Book1 = Null'
# Book2		config no found. Using	'Book2 = Null'
# ShowBoard	config no found. Using	'ShowBoard = off'
# ShowMoves	config no found. Using	'ShowMoves = off'
# Hash		config no found. Using	'Hash = 128'
# Ecache	config no found. Using	'Ecache = 32'
# BookLearn	config no found. Using	'BookLearn = off'
#
#
# Profile		=	
#
# Hash			=	128 Mb.
# Ecache		=	32 Mb.
#
# BookLearn		=	off
#
# Noise			=	200000
#
# ShowBoard		=	off
# ShowMoves		=	off
#
#
# "--help" o "-h" print a list of commands.
#
--bench

   Searching Mate in 11... 


   		Nawito1906(?)
   +---+---+---+---+---+---+---+---+
 8 | r |   |   |   |   | n | k |   |
   +---+---+---+---+---+---+---+---+
 7 |   |   |   |   | b | r | p |   |
   +---+---+---+---+---+---+---+---+
 6 | q |   |   | p |   | p | Q | P |
   +---+---+---+---+---+---+---+---+
 5 |   |   |   | P |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 4 |   |   | p |   | N | P |   |   |
   +---+---+---+---+---+---+---+---+
 3 | P |   |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 2 |   | B |   |   |   |   |   |   |
   +---+---+---+---+---+---+---+---+
 1 |   | K | R |   |   |   | R |   |
   +---+---+---+---+---+---+---+---+
     a   b   c   d   e   f   g   h

10 659 19 327197 h6h7 f8h7 g1h1 e7d8 h1h7 a6a4 e4d6 f7c7 d6c4 a4b3 c1c2 
11 793 26 412457 h6h7 f8h7 g1h1 e7d8 g6h7 g8f8 h7h8 f8e7 e4f6 g7f6 c1e1 e7d7 h8e8 d7c8 e8f7 a8b8 
12 1320 99 1230758 h6h7 f8h7 g1h1 e7d8 h1h7 a6b7 h7g7 g8f8 g7g8 f8e7 e4f6 b7b2 b1b2 c4c3 c1c3 a8b8 b2a2 f7f6 
13 1266 173 2389963 h6h7 f8h7 g1h1 e7d8 h1h7 a6b5 g6h5 g8f8 e4d6 b5d7 h7h8 f8e7 h5f7 e7d6 b2e5 f6e5 f4e5 d6e5 f7d7 
14 1831 386 4978765 h6h7 f8h7 g1h1 e7d8 h1h7 a6b5 g6h5 g8f8 e4d6 b5d7 h7h8 f8e7 d6f5 d7f5 h5f5 a8a6 c1e1 e7d6 h8d8 d6c5 
15 2299 1066 14440590 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f6e8 c7b8 f7e7 a6b6 e8d6 c4c3 
16 3312 2323 32615019 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 b2d4 b6a5 e7b7 c4c3 b7b4 a5a6 b4d6 a6b5 
17 10279 5873 87756659 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 e7b7 b6a5 g7g8 c4c3 g8a8 
18 10279 7716 122280234 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 e7b7 b6a5 b2c3 a5a4 b7b4 
# 
# Time: 78449 ms
# Nodes: 125633155
# 
9 1605 10 225632 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 d7c7 f7e7 c7b8 
10 1732 20 420450 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c8 f6e8 
11 2107 25 517262 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f6e8 c7b7 f7e7 b7a8 
12 2305 79 1612422 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 c4c3 g7e7 c7b6 
13 2787 98 1990907 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 e7b7 b6c5 
14 3087 134 2727875 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 b2d4 b6b5 e7b7 b5a5 c1c4 
15 3317 199 4076085 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 e7b7 b6a5 b7b4 a5a6 b4d6 a6b5 
16 10279 241 5077657 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 e7b7 b6a5 b2c3 a5a4 b7b4 
17 10279 241 5079327 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 e7b7 b6a5 b2c3 a5a4 b7b4 
18 10279 242 5101276 h6h7 f8h7 g1h1 g8f8 h1h7 f8e8 h7g7 e8d7 g6f7 a8e8 e4f6 d7c7 f7e8 a6b7 e8e7 c7b6 e7b7 b6a5 b2c3 a5a4 b7b4 
# 
# Time: 2428 ms
# Nodes: 5110186
# 
# Best Nodes per second: 2103822 (Score: 1.0128)
# Score: 1.000 on Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz 2.60GHz

Thanks Max I had never tried it on Mac, I will see how I upload a Mac version too