Skip to content

This code simulates the optimization of evaluation function on Reversi game with GA algorithm.

Notifications You must be signed in to change notification settings

keisuke-l-u/ga_reversi

Repository files navigation

GA-Reversi

This is a program to simulate the optimization of evaluation function on Reversi game (known as 'Othello' in Japan) with GA algorithm. (This program was coded for my class.)

Requirement

  • numpy

Usage

Simulates GA on reversi

from GA import ga

parameter = [
    100,  # max generation
    64,   # num population
    8,    # num parents
    0.3,  # BLX alpha
    0.2,  # mutation probability
    "data_v2.json"  # The JSON file name to save
]

ga = GA(parameter)
ga.evolve()

Author

  • Keisuke Ueda (The University of Tokyo)

About

This code simulates the optimization of evaluation function on Reversi game with GA algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages