Skip to content

ssemakin/clojure-reversi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

31 August 2011
==============

pmap is used in ai-find-best-move, minimax depth = 3, board: 8 x 8

In find-state-in-dir function an option added to to either collect captured
stones or skip them. Helped to improve time. (Total duration for the
previous tests mentioned below was roughly 50-55 seconds)

white: 0 black: 55 / black wins.

total duration of the game: 43.343 secs
time per one move:
                 [white stones]       [black stones]         [all stones]
  average:         774.42 msecs         922.40 msecs         849.86 msecs
      max:           2.644 secs           3.509 secs           3.509 secs
      min:          14.13 msecs           1.87 msecs           1.87 msecs


29 Aug 2011
===========

Tried some simple tests with map and pmap used in the top level of the minimax.

#1 plain map is used in ai-find-best-move, minimax depth = 3, board: 8 x 8

white: 0 black: 55 / black wins.

time per one move:
                 [white stones]       [black stones]         [all stones]
  average:           1.616 secs           1.970 secs           1.796 secs
      max:           5.927 secs           7.769 secs           7.769 secs
      min:          18.19 msecs           2.04 msecs           2.04 msecs


#2 pmap is used in ai-find-best-move, minimax depth = 3, board: 8 x 8

white: 0 black: 55 / black wins.

time per one move:
                 [white stones]       [black stones]         [all stones]
  average:         894.24 msecs           1.076 secs         986.97 msecs
      max:           3.082 secs           4.086 secs           4.086 secs
      min:          17.15 msecs           1.93 msecs           1.93 msecs

About

The game of Reversi engine in Clojure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published