maxpumperla / ScalphaGoZero

An independent implementation of DeepMind's AlphaGoZero in Scala, using Deeplearning4J (DL4J)
Apache License 2.0
156 stars 24 forks source link

Make goboard immutable (#14) #15

Closed barrybecker4 closed 5 years ago

barrybecker4 commented 5 years ago

What changes were proposed in this pull request?

The main change is to use immutable data structures rather than mutable. There are a number of other refactoring changes as well.

How was this patch tested?

Added more tests that were there before, and also print the board during training to verify that additional moves are not being made when calling selectMove in the agent.

maxpumperla commented 5 years ago

@barrybecker4 impressive, thank you!