Discussion of anything and everything relating to chess playing software and machines.
	Moderator:  Ras 
	
	
			
	
			
		
			
		
		
			
				
								Brunetti  
									
		Posts:  424Joined:  Tue Dec 08, 2009 1:37 pmLocation:  Milan, ItalyFull name:  Alex Brunetti 
		
						
					
								
						
									Post by Brunetti  Mon Oct 18, 2021 3:44 pm 
			
			
			
			
			
			Scally  wrote: ↑ Mon Oct 18, 2021 3:40 pm 
I’ve tried on my Raspberry 4 32 bit.
It appears to be 64 bit only, and maybe only for Windows.
Try to adapt this one:
Code: Select all 
BIN_NAME=Hopper.exe
BUILD_DIR=build
SRC_DIR=src
CXXFLAGS=-std=c++14 -O3 -march=native
LDFLAGS=-pthread
SRC_FILES = $(shell find $(SRC_DIR) -name *.cpp)
OBJ_FILES = $(SRC_FILES:%.cpp=$(BUILD_DIR)/%.o)
$(BUILD_DIR)/$(BIN_NAME) : $(OBJ_FILES)
	$(CXX) $(OBJ_FILES) -o $@ $(LDFLAGS)
$(BUILD_DIR)/%.o: %.cpp
	@mkdir -p $(dir $@)
	$(CXX) $(CXXFLAGS) -c $< -o $@
.PHONY: clean
clean:
	@rm -rf $(BUILD_DIR)
Alex
 
		 
				
		
		 
	 
				
		
		
			
				
								Scally  
									
		Posts:  232Joined:  Thu Sep 28, 2017 9:34 pmLocation:  Bermondsey, LondonFull name:  Alan Cooper 
		
						
					
								
						
									Post by Scally  Mon Oct 18, 2021 5:00 pm 
			
			
			
			
			
			Thanks for the suggested Makefile Alex.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
								flok  
									
		Posts:  608Joined:  Tue Jul 03, 2018 10:19 amFull name:  Folkert van Heusden 
		
						
					
								
						
									Post by flok  Mon Oct 18, 2021 5:20 pm 
			
			
			
			
			
			A new release of caffeinatedpawn was put on the web: 
https://vanheusden.com/CaffeinatedPawn/ 
There's a bit of elo increase.
 
		 
				
		
		 
	 
				
		
		
			
				
								Brunetti  
									
		Posts:  424Joined:  Tue Dec 08, 2009 1:37 pmLocation:  Milan, ItalyFull name:  Alex Brunetti 
		
						
					
								
						
									Post by Brunetti  Mon Oct 18, 2021 7:59 pm 
			
			
			
			
			
			flok  wrote: ↑ Mon Oct 18, 2021 5:20 pm 
There's a bit of elo increase.
Good job, more than 100 points!
Code: Select all 
Engines in CaffeinatedPawn 95458ab 64-bit family
-------------------------------------------------------------------------------------------------------------
Rank  Elo   ±  Engine                                      Score Games  Wins Draws  Loss  Oppo time stal ille
-------------------------------------------------------------------------------------------------------------
   1. 1747  39 CaffeinatedPawn 95458ab 64-bit                43%   278    97    45   136   -59   0%   0%   0%
   2. 1623  33 CaffeinatedPawn 46203a4 64-bit                44%   451   193    15   243   -51   0%  22%   0%
   3. 1581  23 CaffeinatedPawn 54311af 64-bit                45%   793   286   136   371   -46   0%   0%   0%
Alex
 
		 
				
		
		 
	 
				
		
		
			
				
								flok  
									
		Posts:  608Joined:  Tue Jul 03, 2018 10:19 amFull name:  Folkert van Heusden 
		
						
					
								
						
									Post by flok  Mon Oct 18, 2021 11:05 pm 
			
			
			
			
			
			Brunetti  wrote: ↑ Mon Oct 18, 2021 7:59 pm flok  wrote: ↑ Mon Oct 18, 2021 5:20 pm 
There's a bit of elo increase.
Good job, more than 100 points!
Code: Select all 
Engines in CaffeinatedPawn 95458ab 64-bit family
-------------------------------------------------------------------------------------------------------------
Rank  Elo   ±  Engine                                      Score Games  Wins Draws  Loss  Oppo time stal ille
-------------------------------------------------------------------------------------------------------------
   1. 1747  39 CaffeinatedPawn 95458ab 64-bit                43%   278    97    45   136   -59   0%   0%   0%
   2. 1623  33 CaffeinatedPawn 46203a4 64-bit                44%   451   193    15   243   -51   0%  22%   0%
   3. 1581  23 CaffeinatedPawn 54311af 64-bit                45%   793   286   136   371   -46   0%   0%   0%
Alex
Thanks!
I looked more closely at the movegen library I use and found quite a few places that were already doing this that I was doing as well.
Like doMove also did an implicit move-validity check.
 
		 
				
		
		 
	 
				
		
		
			
				
								CMCanavessi  
									
		Posts:  1142Joined:  Thu Dec 28, 2017 4:06 pmLocation:  Argentina 
		
						
					
								
						
									Post by CMCanavessi  Tue Oct 19, 2021 2:04 am 
			
			
			
			
			
			
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								jhonnold  
									
		Posts:  122Joined:  Wed Feb 17, 2021 3:16 pmFull name:  Jay Honnold 
		
						
					
								
						
									Post by jhonnold  Tue Oct 19, 2021 2:13 am 
			
			
			
			
			
			
This is just a release to mark the end of Hand Crafted Evaluation in Berserk. Please test Berserk 6 (or both, up to the testers  
)
https://github.com/jhonnold/berserk/releases/tag/6  
		 
				
		
		 
	 
				
		
		
			
				
								CMCanavessi  
									
		Posts:  1142Joined:  Thu Dec 28, 2017 4:06 pmLocation:  Argentina 
		
						
					
								
						
									Post by CMCanavessi  Tue Oct 19, 2021 2:15 am 
			
			
			
			
			
			Nice! 2 releases in 15 minutes lol  
 
		 
				
		
		 
	 
				
		
		
			
				
								Brunetti  
									
		Posts:  424Joined:  Tue Dec 08, 2009 1:37 pmLocation:  Milan, ItalyFull name:  Alex Brunetti 
		
						
					
								
						
									Post by Brunetti  Tue Oct 19, 2021 2:19 am 
			
			
			
			
			
			jhonnold  wrote: ↑ Tue Oct 19, 2021 2:13 am 
Please test Berserk 6 (or both, up to the testers  
)
Very good job!
Code: Select all 
Engines in Berserk 6 64-bit family
-------------------------------------------------------------------------------------------------------------
Rank  Elo   ±  Engine                                      Score Games  Wins Draws  Loss  Oppo time stal ille
-------------------------------------------------------------------------------------------------------------
   1. 3453  23 Berserk 6 64-bit                              62%   686   291   267   128  +118   0%   0%   0%
   2. 3375  23 Berserk 4.5.1 64-bit                          52%   680   230   244   206   +26   0%   0%   0%
Alex
 
		 
				
		
		 
	 
				
		
		
			
				
								Rebel  
									
		Posts:  7394Joined:  Thu Aug 18, 2011 12:04 pmFull name:  Ed Schröder 
		
						
					
								
						
									Post by Rebel  Tue Oct 19, 2021 10:01 am 
			
			
			
			
			
			Berserk 5 for the GRL 
1400 games
Elo Pool : 3295
http://rebel13.nl/a/grl.htm 
Berserk 6 for the GRL 
1000 games
Elo Pool : 3351
http://rebel13.nl/b/grl.htm 
Looking good, maybe even a new 3400 elo engine  
90% of coding is debugging, the other 10% is writing bugs.