Gobang's Smart Search

Source: Internet
Author: User

This time we are a group to do is a Gobang game, Gobang game is divided into all battle and man-machine battle, but given our level and time is limited, here only to do the battle of everyone. My programming ability in the team is weaker, but I have taken the computer game before, so this homework I mainly participate in the work of arithmetic. The core of the Gobang algorithm is search and valuation, the first search is to find an optimal solution each time, you can set some of the weight of the case in advance, and then through the genetic or tree to calculate the maximum weight value. Valuations are an estimate of the overall situation by comparing experience values to find the best lazi place. There are also some gobang rules, such as the prohibition of hands and so on. Human machine in general on these several large aspects, relatively speaking, everyone battle is relatively simple, through each of the Lazi, and then judge the horizontal, vertical and oblique chain situation to determine the outcome. The next section of the specific algorithm is detailed.

Gobang's Smart Search

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.