Skip to content

hexknight01/ChineseChess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChineseChessAI

This application is built based on Minimax algorithm. Demo: https://chinese-chess-ai.herokuapp.com/

Mini max pseudo-code

    if depth = 0 or node is a terminal node then
        return the heuristic value of node
    if maximizingPlayer then
        value := −∞
        for each child of node do
            value := max(value, minimax(child, depth − 1, FALSE))
        return value
    else (* minimizing player *)
        value := +∞
        for each child of node do
            value := min(value, minimax(child, depth − 1, TRUE))
        return value

Document (Vietnamese)

https://utcedu-my.sharepoint.com/:w:/g/personal/nam171200791_st_utc_edu_vn/ETatgjK4k1lBpQhwQm8m5icBrT826fuo8QW-IdAjiz_TEw?e=iAYe25

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published