Giter Site home page Giter Site logo

ai's Introduction

China chess

v2.0.0

Install :

First step : install nodejs 10.x.x

Note : App build with Angular2 , Angular2 run on environment npm 6.x.x . If npm >6x You should downgrade npm to 6.x.x

Next step :

- Easy install project with command on terminal(on linux) or command line (on window) : 
   + npm install

Run project with command on terminal || conmand line :

npm start 

App Play China chess and Reverse China Chess : China chess - Algorithm :

    + apha beta puring ( chooose depth 1->4 )
    + Monte carlo tree search ( chooose max node 1000 -> 10000) 

Reverse China chess :

- Algorithm :
    + apha beta puring (defalt depth  =  3 )

Reslove state :

- Input state : 
      
    + input any state, State syntax is a string, chess piece separated by a comma, the end of string is a comma
      + Example:  k 9 4 -1,k 1 5 1, j1 4 9 -1,j2 1 1 1,s 8 4 -1,

- Algorithm :
    + apha beta puring (defalt depth  =  4 )

support app :

- undo 
- redo
- restart
- time mode && change time
- switch team 
- input state && slove 
- graph win rate  
- log move of piece 

Report project folder : final report

ai's People

Contributors

conlocxoaythuytrieu avatar dangxuantruong avatar nguyenquyet27 avatar tks1998 avatar xuantruongdang avatar

Watchers

 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.