add some test deep reinforcement learning

This commit is contained in:
2024-07-18 02:10:30 +02:00
parent 491d0c283f
commit e64cef1688
6 changed files with 484 additions and 34 deletions
+6 -3
View File
@@ -342,9 +342,12 @@ void print2D_blocks_indexOne_withPoint(struct blocks *blk, float scale_x, float
if(is_in_blocks(blk_point, coord))
printf("\033[0;31m"); // red
int in = is_in_blocks(blk,coord);
if(in)
printf("%d",in);
else
if(in){
if(in>9){
int div=in%10;
printf("%d",div);
}else printf("%d",in);
}else
printf("."); //printf(" ");
printf("\033[0;37m"); // white
}