Git Product home page Git Product logo

hw7's Introduction

Homework 7

ID_search is the function for MinMax algorithm.

MinMaxと言う関数がありますが使っていません。 メインの評価関数はSearchBestmoveです。

EvaluateBoardの評価は以下のように盤面上の石の位置に依存します。 (評価の値ですが調べると出てくるとは知らず自分でいじっていたらやけに極端な値が存在するようになりました...)

5000 -500 20 20 20 20 -500 5000
-500 -500 1 1 1 1 -500 -500
20 1 3 3 3 3 1 20
20 1 3 3 3 3 1 20
20 1 3 3 3 3 1 20
20 1 3 3 3 3 1 20
-500 -500 1 1 1 1 -500 -500
5000 -500 20 20 20 20 -500 5000

  1. Fork a copy for your changes
  2. Clone it to your local workstation
  3. Create a new project to host your AI in https://console.cloud.google.com
  4. Run gcloud init and select that new project.
  5. gcloud app deploy python/ or gcloud app deploy go/ to deploy your app.
  6. Add the appspot address to the "Reversi Players" sheet
  7. Modify the way a move is picked
  8. re-deploy the app
  9. repeat steps 7 and 8 until you have a very clever AI :)
  10. eventually push your awesome clever AI to github.
    • If you want to keep it secret until Thursday night, that's fine.
  11. email step17 with your github repository link.

Using reflector.go

You can use this "reflector" program to make a locally running dev_appserver instance act like a human player (i.e. you don't have to deploy the whole app to have it run a game).

To run it:

hw7's People

Contributors

step16 avatar melsk125 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.