Go game method, device, electronic device and storage medium

By removing points and/or lines on the Go board to generate an irregular board, the AI-assisted effect is limited, which solves the problem of data accuracy and authenticity in human-computer interaction or online games, and achieves data accuracy and authenticity in Go games.

CN113986994BActive Publication Date: 2025-09-23NETEASE YOUDAO INFORMATION TECH (JIANGSU) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111295814.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-03
Publication Date
2025-09-23
Estimated Expiration
2041-11-03

AI Technical Summary

Technical Problem

In human-computer interaction or online Go game scenarios, users use Go artificial intelligence agents to assist in the game, which affects the accuracy and authenticity of the data. Existing technology makes it difficult to effectively prevent such behavior.

Method used

By determining the chessboard adjustment information, a certain number of points and/or chessboard lines on the chessboard are removed to generate an irregular chessboard, so that the two players can play Go on this chessboard, thereby limiting the auxiliary effect of AI.

Benefits of technology

It effectively limits the auxiliary effect of AI and ensures the accuracy and authenticity of data in human-computer interactive games or online games.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113986994B_ABST
    Figure CN113986994B_ABST
Patent Text Reader

Abstract

This application provides a Go game method, device, electronic device, and storage medium. The method comprises: determining board adjustment information; removing a certain number of points and / or board lines on the board based on the board adjustment information to obtain an adjusted board; and enabling the two players to play Go using the adjusted board. The solution of this application can limit the auxiliary effects of AI and ensure the accuracy and authenticity of data in human-computer interactive games or online games.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a Go game method, device, electronic device, and storage medium. Background Art

[0002] Go, a two-player strategy game, is popular in East Asian countries (China, Japan, South Korea, and North Korea) and is considered one of the four arts, along with music, chess, calligraphy, and painting. Originating in China, Go was introduced to Japan via Korea and subsequently spread to Europe and the United States. Go embodies the rich cultural heritage of China and embodies its culture and civilization.

[0003] With the rapid development of the Internet, artificial intelligence and smart terminal technology, human-computer interactive Go games and online games achieved with the help of smart terminals have been widely used in many scenarios such as Go teaching and competitions.

[0004] However, in some human-computer interactive or online game scenarios, users may use Go artificial intelligence agents to assist in the game, which seriously affects the accuracy and authenticity of the data of human-computer interactive or online games. Summary of the Invention

[0005] In response to the above technical problems, there is a great need for an improved solution that can prevent users from using Go artificial intelligence agents to assist in the game during human-computer interactive games or online games, thereby ensuring the accuracy and authenticity of the data during the game.

[0006] The exemplary embodiments of the present application provide a Go game method, comprising:

[0007] Determine chessboard adjustment information;

[0008] Removing a certain number of points and / or chessboard lines on the chessboard according to the chessboard adjustment information to obtain an adjusted chessboard;

[0009] The two players play Go on the adjusted chessboard.

[0010] In some optional embodiments, determining the chessboard adjustment information specifically includes: obtaining user level information of both players; and determining the chessboard adjustment information based on the user level information.

[0011] In some optional embodiments, obtaining the user level information of the two players in the game specifically includes: for each user of the two players, obtaining the user's rank information, historical performance information and user portrait information; based on the rank information, the historical performance information and the user portrait information, obtaining the user level information of the user through a pre-trained user level determination model or weighted summation method.

[0012] In some optional embodiments, the chessboard adjustment information is calculated using the following formula:

[0013] k=int(abs((level1-level2) / (level1+level2)*20))

[0014] Among them, k is the chessboard adjustment information, level1 is the user level information of one party, level2 is the user level information of the other party, abs() is the absolute value function, and int() is the integer function.

[0015] In some optional embodiments, the generating of the checkerboard adjustment information further includes: in response to determining that the checkerboard adjustment information is less than a predetermined lower threshold, correcting the checkerboard adjustment information to be equal to the lower threshold; in response to determining that the checkerboard adjustment information is greater than a predetermined upper threshold, correcting the checkerboard adjustment information to be equal to the upper threshold.

[0016] In some optional embodiments, removing a certain number of points and / or chessboard lines on the chessboard according to the chessboard adjustment information specifically includes: randomly selecting a number of points and / or chessboard lines corresponding to the chessboard adjustment information in the outermost circle of the chessboard for removal; or dividing the chessboard adjustment information into external adjustment information and internal adjustment information, wherein the external adjustment information is larger than the internal adjustment information; randomly selecting a number of points and / or chessboard lines corresponding to the external adjustment information in the outermost circle of the chessboard for removal; randomly selecting a number of points and / or chessboard lines corresponding to the internal adjustment information at other places on the chessboard except the outermost circle for removal; wherein, the pieces placed on the chessboard do not generate Qi at the removed points and / or chessboard lines; and the removed points are not counted when the Go game is settled.

[0017] In some optional embodiments, allowing the two players to play Go on the adjusted chessboard specifically includes: obtaining posting information submitted by the two players respectively; comparing the posting information of the two players, determining the user with the larger posting information as the first player, and after the game is over, settling the game result according to the posting information of the two players.

[0018] Based on the same inventive concept, the exemplary embodiment of the present application further provides a Go game device, comprising:

[0019] A determination module configured to determine chessboard adjustment information;

[0020] an adjustment module configured to remove a certain number of points and / or chessboard lines on the chessboard according to the chessboard adjustment information to obtain an adjusted chessboard;

[0021] The game module is configured to enable the two players to play Go on the adjusted chessboard.

[0022] Based on the same inventive concept, an exemplary embodiment of the present application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the methods described above is implemented.

[0023] Based on the same inventive concept, an exemplary embodiment of the present application further provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute any of the methods described above.

[0024] From the above, it can be seen that the Go game method, device, electronic device and storage medium provided by the present application remove a certain number of points and / or chessboard lines on the chessboard, thereby obtaining an irregular chessboard, and further allow the two players to play Go on the irregular chessboard, thereby effectively limiting the auxiliary effect of AI and ensuring the accuracy and authenticity of the data of human-computer interactive games or online games. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in this application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are merely embodiments of this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0026] Figure 1 This is a schematic diagram of an application scenario of an exemplary embodiment of the present application;

[0027] Figure 2 This is a flowchart of a Go game method according to an exemplary embodiment of the present application;

[0028] Figure 3 is a schematic diagram of an adjusted chessboard in an exemplary embodiment of the present application;

[0029] Figure 4 A schematic structural diagram of a Go game device according to an exemplary embodiment of the present application;

[0030] Figure 5 A schematic diagram of an electronic device according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0031] The principles and spirit of the present application will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided solely to enable those skilled in the art to better understand and implement the present application, and are not intended to limit the scope of the present application in any way. Rather, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0032] According to the implementation manner of the present application, a Go game method, device, electronic device and storage medium are proposed.

[0033] It should be understood herein that any number of elements in the drawings is for illustration only and not for limitation, and any naming is only for distinction and does not have any limiting meaning.

[0034] The principles and spirit of the present application are explained in detail below with reference to several representative embodiments of the present application. SUMMARY OF THE INVENTION

[0036] In the existing human-computer interactive game scenario, users can play Go with an intelligent agent (AI) set locally on the intelligent terminal through a smart terminal, or play Go with an intelligent agent in the cloud through a smart terminal. Among them, the intelligent agent can be a pre-set Go game program, such as various common Go teaching software; or a pre-trained machine learning model with Go game functions, such as AlphaGo (AlphaGo), an artificial intelligence that has successfully defeated professional Go players. Through human-computer interactive game methods, Go teaching, practice and other purposes can be achieved. In the online game scenario, the two players can connect to the server where the online game platform is deployed through the Internet through the software client on their respective smart terminals, and conduct online games based on the game interface provided by the online game platform to achieve Go competitions, practice and other purposes.

[0037] However, in the above scenarios, the users, as both players, play the game through their own smart terminals, instead of face-to-face as in traditional games. This has led to some users using AI to assist in the game. For example, in Go teaching, users use AI to assist in the game, and the data generated during the game and the teaching results will not truly reflect the user's level and learning outcomes. For example, in a competition scenario, users using AI to assist in the game is cheating, which affects the fairness of the game. In the above scenarios, the use of AI to assist in the game affects the accuracy and authenticity of the data generated during the game and the results. In addition, there are some solutions in the existing technology for detecting AI in online game competitions, specifically detecting the degree of consistency between the user's moves and the AI ​​strategy, but such solutions can be easily circumvented by users through planned moves and cannot fundamentally solve the problem.

[0038] In order to solve the above problems, the present application provides a Go game solution, which specifically includes: determining chessboard adjustment information; removing a certain number of points and / or chessboard lines on the chessboard according to the chessboard adjustment information to obtain an adjusted chessboard; and allowing the two players to play Go on the adjusted chessboard. Considering that existing Go AIs are all designed and operated based on a standard Go board. Under the premise of ensuring that the overall Go game mode and rules are not significantly affected, if an irregular chessboard that is somewhat different from the standard Go board can be provided for playing Go, the auxiliary effect of AI can be effectively limited. Based on this inventive concept, the solution of the embodiment of the present application will remove a certain number of points and / or chessboard lines on the chessboard to obtain an irregular chessboard, and further allow the two players to play Go on the irregular chessboard, thereby effectively limiting the auxiliary effect of AI and ensuring the accuracy and authenticity of data in human-computer interactive games or online games.

[0039] Application Scenario Overview

[0040] refer to Figure 1, which is a schematic diagram of an application scenario of the Go game method provided in an embodiment of the present application. The application scenario includes a terminal device 101, a server 102, and a data storage system 103. Among them, the terminal device 101, the server 102 and the data storage system 103 can be connected through a wired or wireless communication network. The terminal device 101 includes but is not limited to a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a personal digital assistant (PDA) or other electronic devices capable of realizing the above functions. The server 102 and the data storage system 103 can both be independent physical servers, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0041] The server 102 is used to provide Go online game services to users of the terminal device 101. The terminal device 101 is installed with a client that communicates with the server 102. The user can use the client to perform human-computer interactive game activities or online game activities with other users. In the above activities, the client obtains the game-related data (such as opponent selection, placement, etc.) input by the user by calling the input component of the terminal device 101 (such as a keyboard, microphone, etc.) and sends this data to the server 102. The data storage system 103 provides data storage support for the operation of the server 102, such as storing Go AI training data, storing user level information, storing process data or result data in the game, etc. After determining the chessboard adjustment information, the server 102 can use the chessboard adjustment information to remove a certain number of points and / or chessboard lines on the chessboard to obtain an adjusted chessboard, and return relevant data to the terminal device 101 based on the adjusted chessboard, so that the terminal device 101 generates a game interface through the client, thereby allowing the user to perform human-computer interactive game or online game with other users.

[0042] The following combination Figure 1 The Go playing method according to the exemplary embodiment of the present application is described with reference to the application scenario. It should be noted that the above application scenario is only shown to facilitate understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. On the contrary, the embodiments of the present application can be applied to any applicable scenario.

[0043] Exemplary Methods

[0044] refer to Figure 2 , the embodiment of the present application provides a Go game method, comprising the following steps:

[0045] Step S201: Determine chessboard adjustment information.

[0046] In this step, board adjustment information is determined. This board adjustment information is used to determine the number of points and / or lines to remove from a standard Go board. By removing points from the board, the two players can be prohibited from placing stones at the removed points. By removing lines from the board, the state of the "qi" (qi, in Go terminology, refers to the empty points on the board immediately adjacent to the straight line of a piece) at the corresponding placement point can be changed during the calculation of the "qi" (qi, in Go terminology, refers to the empty points on the board adjacent to the straight line of a piece) after the placement of the piece.

[0047] As an optional implementation, the board adjustment information can be set to a fixed value, that is, a fixed number of points are removed for different game scenarios, as long as the overall Go game style and rules are not significantly affected. For example, for a standard Go board with 361 points and the board lines that form these points, 10 of them can be fixedly removed.

[0048] As an optional implementation, the chessboard adjustment information can also be determined based on the Go level of the two players. Step S201 can then be specifically described as: obtaining the user level information of the two players; and determining the chessboard adjustment information based on the user level information. When adjusting the chessboard, the Go levels of the two players are fully considered, so that the adjusted chessboard is more compatible with the two players, and the impact of the adjusted chessboard on the normal game process can be effectively prevented. In a specific implementation, the user level information of the two players is first obtained. The user level information refers to data used to reflect the Go level of the users participating in the game; for example, it can be the user's Go rank, or the user's level data in a specific Go software or platform. Specifically, the user level information is stored and operated in a numerical form, and the above-mentioned rank, level, and other data can be mapped to specific numerical values; for example, the Go ranks from the first dan to the ninth dan can be represented by the corresponding numerical values ​​1 to 9.

[0049] Optionally, the user's user level information can also be comprehensively determined by integrating various aspects of the user's data. For example, the user's rank information, historical record information, and user portrait information can be obtained separately. Among them, the rank information directly corresponds to the numerical value obtained by mapping the user's Go rank; the historical record information is data used to reflect the user's battle history, such as the total game win rate, the total number of wins, the total number of games, etc.; the user portrait information is data used to reflect the user's attribute characteristics, such as the user's age, chess age, age, gender, etc. The above-mentioned rank information, historical record information, and user portrait information can be stored in the data storage system after pre-data collection, or obtained in real time from the corresponding data storage location.

[0050] Optionally, for the above-mentioned rank information, historical record information and user portrait information, their corresponding values ​​are weighted and summed, and the result of the weighted sum can be used as the user level information of the user; among which, the specific weights can be set according to specific implementation needs.

[0051] Optionally, for the above-mentioned rank information, historical record information and user portrait information, a user level determination model can be obtained by training through artificial intelligence, and then the user level information of the user can be determined by the user level determination model. Specifically, corresponding feature data can be constructed based on the rank information, historical record information and user portrait information of a large amount of different users, and the user level information corresponding to the feature data can be determined by marking to construct a sample set. Then, the features of each sample are extracted and their data characteristics are learned through a machine learning model, and a user level determination model is obtained through training. Among them, the user level determination model can select any feasible model structure such as a deep learning model (DNN), a sequence model (RNN), a graph neural network model (GNN), etc., which is not limited in this embodiment. Based on the pre-trained user level determination model, the rank information, historical record information and user portrait information of the user who is currently going to play chess are input into the user level determination model to obtain the user level information of the user.

[0052] It should be noted that, during a human-computer interactive game, the user's user level information can be obtained through any of the above methods, while the user level information of the AI ​​side can be pre-set to a fixed value according to the specific AI used.

[0053] Optionally, after obtaining the user level information of both players, when determining the chessboard adjustment information based on the user level information, the number of points and / or chessboard lines to be removed can be determined based on the difference in the levels of the two players. The specific concept is: the greater the difference in the levels of the two players, the higher the possibility that one side will be assisted by AI, and accordingly more points and / or chessboard lines will be removed to more effectively restrict the AI; conversely, the smaller the difference in the levels of the two players, the fewer points and / or chessboard lines can be removed accordingly. Based on the above concept, this step can be expressed as: determining the difference value between the user level information of the two players, and determining the chessboard adjustment information based on the difference value; wherein, the chessboard adjustment information is positively correlated with the difference value. It can be understood that the difference value is used to express the size of the gap in the user level information of the two players; in the specific calculation, the specific calculation method of the difference value can be to take the difference, ratio, etc. of the user level information of the two players.

[0054] Optionally, a table of correspondences between difference values ​​and board adjustment information can be pre-established based on different difference value intervals and the corresponding board adjustment information for each of these difference value intervals. In specific implementations, after calculating the difference values ​​based on the acquired player skill information, the board adjustment information is determined by matching and searching the table.

[0055] The above-mentioned implementation method of determining board adjustment information based on the difference between the user skill information of the two players takes into account the difference in skill between the two players, which actually reflects the relative skill between the two players. Furthermore, the absolute skill level of the two players can be further considered. That is, under the same skill evaluation standard, the performance of the two players under that skill evaluation standard, i.e., the absolute skill level. In the specific calculation, the absolute skill level of the two players can be reflected by the sum of the user skill information of the two players.

[0056] To implement the above solution that takes into account both the relative and absolute levels of the two players, the board adjustment information can be calculated using the following formula:

[0057] k=int(abs((level1-level2) / (level1+level2)*20))

[0058] Where k is the board adjustment information, level1 is the user skill level of one player, level2 is the user skill level of the other player, abs() is the absolute value function, and int() is the integer function. In the above formula, the term "(level1-level2) / (level1+level2)" expresses both the relative and absolute skill levels of the two players. (level1-level2) expresses the relative skill level of the two players by the difference in skill level, while (level1+level2) expresses the absolute skill level of the two players by the sum of their skill levels.

[0059] Furthermore, the chessboard adjustment information calculated by the above method may be too large or too small. When the chessboard adjustment information is too large, the corresponding removal of more points may affect the normal game; when the chessboard adjustment information is too small, the corresponding removal of fewer points may not effectively restrict the auxiliary AI. In response to this, the step of correcting the chessboard adjustment information can also be included. Specifically, the lower threshold and upper threshold of the chessboard adjustment information are set. After the chessboard adjustment information is calculated by the above formula, the calculated chessboard adjustment information can be compared with the lower threshold and the upper threshold; in response to determining that the chessboard adjustment information is less than the lower threshold, the chessboard adjustment information is corrected to be equal to the lower threshold; in response to determining that the chessboard adjustment information is greater than the upper threshold, the chessboard adjustment information is corrected to be equal to the upper threshold. For example, based on the above formula for calculating the chessboard adjustment information, the step of correcting the chessboard adjustment information can be expressed as: k = min(10, max(k, 2)), that is, the final value of the chessboard adjustment information is at least 2 and at most 10.

[0060] It should be noted that the specific values ​​in the above calculation formula are only examples and can be adjusted accordingly according to implementation needs. Step S202: Remove a certain number of points and / or chessboard lines on the chessboard according to the chessboard adjustment information to obtain an adjusted chessboard.

[0061] In this step, the standard Go board is adjusted based on the board adjustment information determined in step S201, by removing a certain number of points and / or board lines on the board to obtain an adjusted board. The specific points and / or board lines to be removed can be flexibly selected based on implementation needs.

[0062] When implementing it, refer to Figure 3 , gives a specific example of removing points and chessboard lines. Figure 3 Positions A, B, and C shown by dotted boxes are examples of removed positions. During the game, no moves can be made at the removed positions. Figure 3 The position D shown by the dotted box is an example of a removed chessboard line; during the game, the point at the end point of the removed chessboard line can still be used for placement, but after the placement, when the "Qi" of the move is counted, the empty points connected to the removed chessboard line will be counted as not generating "Qi".

[0063] As an optional implementation method, in order to ensure the restriction effect on the auxiliary AI while not affecting the normal game process, you can randomly select a number of points / or chessboard lines corresponding to the chessboard adjustment information in the outermost circle of the chessboard to remove. That is, all the removed points / or chessboard lines can be restricted to the outermost circle of the chessboard, so that when the user places a piece or calculates the "Qi" after placing a piece, the impact of the removed points is reduced. The points / or chessboard lines removed in the outermost circle of the chessboard can be referred to Figure 3 The example positions A, B, and D are shown in FIG.

[0064] As an optional implementation, in order to further enhance the restrictive effect on the auxiliary AI, some removed points and / or chessboard lines can be set inside the chessboard. At the same time, considering that it does not affect the normal game process, the number of points and / or chessboard lines removed inside the chessboard should not be too much. The step of removing a certain number of points on the chessboard can be expressed as follows: dividing the chessboard adjustment information into external adjustment information and internal adjustment information, wherein the external adjustment information is greater than the internal adjustment information; in the outermost circle of the chessboard, randomly selecting a number of points and / or chessboard lines corresponding to the external adjustment information for removal; in other places of the chessboard except the outermost circle, randomly selecting a number of points and / or chessboard lines corresponding to the internal adjustment information for removal. Among them, the external adjustment information corresponds to the number of points and / or chessboard lines removed in the outermost circle of the chessboard, and the internal adjustment information corresponds to the number of points and / or chessboard lines removed inside the chessboard, and the external adjustment information is set to be greater than the internal adjustment information. For example, if the value of the chessboard adjustment information is determined to be 10, that is, a total of 10 points and / or chessboard lines are to be removed; then the values ​​of the external adjustment information and the internal adjustment information can be set to 8 and 2 respectively, that is, a total of 8 points and / or chessboard lines are to be removed in the outermost circle of the chessboard, and a total of 2 points and / or chessboard lines are to be removed in the inner part of the chessboard. Figure 3 The example positions A, B, and D are shown in the figure. For points and lines removed from the chessboard, refer to Figure 3 The example position is shown in C.

[0065] In addition, it should be noted that the "irregular" characteristics of the adjusted chessboard generated in the embodiment of the present application do not necessarily change the appearance of the chessboard. It is also possible to keep the appearance of the chessboard unchanged, but set the removed points and / or chessboard lines as illegal. For illegal points, the user cannot place a piece at these points, and a prompt can be given at the same time that the move is illegal, so that the user can place a piece at other legal points instead; for illegal chessboard lines, the statistics of the "qi" of the pieces placed at the adjacent points are adjusted as in the above embodiment, and the specific statistical rules of "qi" can also be improved at the same time. That is, "removing a certain number of points and / or chessboard lines on the chessboard" in this step can be understood as removing a certain number of points and / or chessboard lines in appearance, or it can be understood as keeping the appearance of the chessboard unchanged and setting a certain number of points and / or chessboard lines on the chessboard to be invalid.

[0066] Step S203: The two players play Go on the adjusted board.

[0067] During specific implementation, based on the adjusted chessboard generated in step S202, the two players play Go on the adjusted chessboard.

[0068] Because the adjusted chessboard is an irregular shape, the statistical methods used during and after the game have been adjusted accordingly. Specifically, during the game, when calculating the "qi" of any piece placed on the board, no "qi" is generated at the removed points. Furthermore, empty points connected by the removed board lines are counted as not generating "qi". When calculating the winner after the game, the removed points are not counted.

[0069] In Go, there is a rule called "posting". This rule is to balance the advantage of the first mover. When calculating the win or loss, the calculated point count of the posting player is reduced by the corresponding number of posts.

[0070] As an optional embodiment, corresponding to the above-mentioned posting rules, taking into account the irregular adjusted chessboard used in the embodiment of the present application and the impact of the removed points on the first-hand advantage, during the game of the embodiment of the present application, the specific number of posts by both parties is determined in a double-blind manner. Specifically, the step of determining the number of posts can be expressed as: obtaining the posting information submitted by both parties; comparing the posting information of the two parties, and determining the user with the larger posting information as the first-hand party. That is, based on the game interface generated by the adjusted chessboard, the two parties submit posting information through the client indicating the number of posts they are willing to pay; then compare the numerical values ​​of the posting information of the two parties, and determine the party with the larger numerical value of the posting information as the first-hand party.

[0071] It can be seen from the above embodiments that the Go game method of the embodiments of the present application removes a certain number of points and / or chessboard lines on the chessboard to obtain an irregular chessboard, and further allows the two players to play Go on the irregular chessboard, thereby effectively limiting the auxiliary effect of AI and ensuring the accuracy and authenticity of the data of human-computer interactive games or online games.

[0072] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied in a distributed scenario and performed by multiple devices working together. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the method.

[0073] It should be noted that the above description is limited to some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the above embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0074] Exemplary devices

[0075] Based on the same inventive concept, corresponding to any of the above exemplary embodiment methods, the present application also provides a Go playing device.

[0076] refer to Figure 4 The Go game device comprises:

[0077] Determining module 401, configured to determine chessboard adjustment information;

[0078] An adjustment module 402 is configured to remove a certain number of points and / or chessboard lines on the chessboard according to the chessboard adjustment information to obtain an adjusted chessboard;

[0079] The game module 403 is configured to enable the two players to play Go on the adjusted Go board.

[0080] In some optional embodiments, the determination module 401 is specifically configured to obtain user skill level information of both players; and determine the chessboard adjustment information according to the user skill level information.

[0081] In some optional embodiments, the determination module 401 is specifically configured to obtain the rank information, historical performance information and user portrait information of each user of the two playing parties; based on the rank information, the historical performance information and the user portrait information, the user level information of the user is obtained through a pre-trained user level determination model or weighted summation.

[0082] In some optional embodiments, the chessboard adjustment information is calculated using the following formula:

[0083] k=int(abs((level1-level2) / (level1+level2)*20))

[0084] Among them, k is the chessboard adjustment information, level1 is the user level information of one party, level2 is the user level information of the other party, abs() is the absolute value function, and int() is the integer function.

[0085] In some optional embodiments, the determination module 401 is specifically configured to, in response to determining that the chessboard adjustment information is less than a predetermined lower threshold, correct the chessboard adjustment information to be equal to the lower threshold; in response to determining that the chessboard adjustment information is greater than a predetermined upper threshold, correct the chessboard adjustment information to be equal to the upper threshold.

[0086] In some optional embodiments, the adjustment module 402 is specifically configured to

[0087] In the outermost circle of the chessboard, randomly select and remove a number of points and / or chessboard lines corresponding to the chessboard adjustment information; or, divide the chessboard adjustment information into external adjustment information and internal adjustment information, wherein the external adjustment information is larger than the internal adjustment information; in the outermost circle of the chessboard, randomly select and remove a number of points and / or chessboard lines corresponding to the external adjustment information; in other places of the chessboard except the outermost circle, randomly select and remove a number of points and / or chessboard lines corresponding to the internal adjustment information; wherein, the chess pieces placed on the chessboard do not generate Qi at the removed points and / or chessboard lines; when the Go game is settled, the removed points are not counted.

[0088] In some optional embodiments, the game module 403 is specifically configured to obtain post information submitted by the two players respectively; compare the post information of the two players, determine the user with the larger post information as the first player, and after the game is over, settle the game result according to the post information of the two players.

[0089] The device of the above embodiment is used to implement the corresponding Go game method in any embodiment in the above exemplary method part, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0090] Based on the same inventive concept, corresponding to any of the above-mentioned exemplary embodiment methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor, wherein when the processor executes the program, it implements the Go playing method described in any of the embodiments in the above exemplary method section.

[0091] Figure 5 10 is a schematic diagram showing a more specific hardware structure of an electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other within the device via the bus 1050.

[0092] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0093] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, etc. The memory 1020 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0094] The input / output interface 1030 is used to connect input / output modules to implement information input and output. The input / output modules can be configured as components within the device (not shown in the figure) or can be externally connected to the device to provide corresponding functions. Input devices may include a keyboard, mouse, touch screen, microphone, various sensors, etc., and output devices may include a display, speaker, vibrator, indicator light, etc.

[0095] The communication interface 1040 is used to connect to a communication module (not shown) to enable communication between the device and other devices. The communication module can communicate via a wired method (such as USB, network cable, etc.) or a wireless method (such as mobile network, WiFi, Bluetooth, etc.).

[0096] The bus 1050 comprises a path for transmitting information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).

[0097] It should be noted that although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, it will be understood by those skilled in the art that the above device may only include the components necessary to implement the embodiments of this specification, and does not necessarily include all the components shown in the figure.

[0098] The electronic device of the above embodiment is used to implement the corresponding Go game method in any embodiment of the above exemplary method part, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0099] Exemplary Program Products

[0100] Based on the same inventive concept, corresponding to any of the above-mentioned exemplary embodiment methods, the present application also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute the Go playing method described in any of the embodiments in the above exemplary method part.

[0101] The above-mentioned non-transitory computer-readable storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO)), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROMs, EPROMs, EEPROMs, non-volatile memories (NAND FLASH), solid-state drives (SSDs)), etc.

[0102] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the Go game method described in any embodiment in the above exemplary method part, and have the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0103] Those skilled in the art will appreciate that the embodiments of the present application may be implemented as a system, method, or computer program product. Therefore, the present application may be specifically implemented in the following forms, namely, complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to herein as a "circuit," "module," or "system." Furthermore, in some embodiments, the present application may also be implemented in the form of a computer program product in one or more computer-readable media, which may contain computer-readable program code.

[0104] Any combination of one or more computer-readable media can be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (non-exhaustive examples) of computer-readable storage media can include, for example: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.

[0105] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0106] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0107] The computer program code for performing the operations of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0108] It should be understood that each block in the flowchart and / or block diagram, and combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine. These computer program instructions are executed by the computer or other programmable data processing device to produce a device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.

[0109] These computer program instructions can also be stored in a computer-readable medium that enables a computer or other programmable data processing device to operate in a specific manner. In this way, the instructions stored in the computer-readable medium produce a product that includes an instruction device that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.

[0110] Computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, such that the instructions executed on the computer or other programmable apparatus provide a process that implements the functions / operations specified in the blocks in the flowchart and / or block diagram.

[0111] Furthermore, although the operations of the present method are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in that particular order, or that all of the operations shown must be performed to achieve the desired results. Rather, the steps depicted in the flowcharts may be performed in a different order. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into a single step, and / or a single step may be broken down into multiple steps.

[0112] The use of the verbs "comprise", "include" and their conjugations in the application documents does not exclude the presence of elements or steps other than those stated in the application documents. The article "a" or "an" preceding an element does not exclude the presence of a plurality of such elements.

[0113] Although the spirit and principles of this application have been described with reference to several specific embodiments, it should be understood that this application is not limited to the specific embodiments disclosed, and the division of various aspects does not mean that the features of these aspects cannot be combined to benefit. Such division is merely for the convenience of expression. This application is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the appended claims is consistent with the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims

1. A Go playing method, characterized in that: include: Determine chessboard adjustment information; According to the chessboard adjustment information, a certain number of points and / or chessboard lines on the chessboard are removed to obtain an adjusted chessboard, wherein when the chessboard adjustment information is too large, more points are removed accordingly; when the chessboard adjustment information is too small, fewer points are removed accordingly; enabling the two players to play Go on the adjusted chessboard; The determining of the chessboard adjustment information specifically includes: obtaining user skill level information of both players; and determining the chessboard adjustment information according to the user skill information. k=int(abs((level1-level2) / (level1+level2)*20)), k is the chessboard adjustment information, level1 is the user level information of one party, level2 is the user level information of the other party, abs() is the absolute value function, and int() is the integer rounding function.

2. The method according to claim 1, characterized in that The obtaining of the user level information of both players specifically includes: For each user in the game, obtain the user's rank information, historical record information, and user profile information; According to the rank information, the historical record information and the user portrait information, the user level information of the user is obtained through a pre-trained user level determination model or a weighted summation method.

3. The method according to claim 1, characterized in that Generate chessboard adjustment information, followed by: In response to determining that the chessboard adjustment information is less than a predetermined lower threshold, correcting the chessboard adjustment information to be equal to the lower threshold; In response to determining that the checkerboard adjustment information is greater than a predetermined upper threshold, the checkerboard adjustment information is corrected to be equal to the upper threshold.

4. The method according to claim 1, wherein The removing of a certain number of points and / or chessboard lines on the chessboard according to the chessboard adjustment information specifically includes: In the outermost circle of the chessboard, randomly select and remove a number of points and / or chessboard lines corresponding to the chessboard adjustment information; or, Dividing the chessboard adjustment information into external adjustment information and internal adjustment information, wherein the external adjustment information is larger than the internal adjustment information; randomly selecting and removing a number of points and / or chessboard lines corresponding to the external adjustment information in the outermost circle of the chessboard; and randomly selecting and removing a number of points and / or chessboard lines corresponding to the internal adjustment information in other places of the chessboard except the outermost circle; Wherein, the pieces placed on the chessboard do not generate Qi at the removed points and / or chessboard lines; when the Go game is settled, the removed points are not counted.

5. The method according to claim 1, wherein The step of enabling the two players to play Go on the adjusted chessboard specifically includes: Obtaining posting information submitted by both parties of the game; The posting information of the two players is compared, and the user with the larger posting information is determined as the first player. After the game is over, the game result is settled according to the posting information of the two players.

6. A Go game device, characterized in that: include: A determination module configured to determine chessboard adjustment information; an adjustment module configured to remove a certain number of points and / or chessboard lines on the chessboard according to the chessboard adjustment information to obtain an adjusted chessboard, wherein when the chessboard adjustment information is too large, more points are removed accordingly; and when the chessboard adjustment information is too small, fewer points are removed accordingly; A game module is configured to enable two players to play Go on the adjusted board; The determination module is further configured to: obtain user skill level information of both players; and determine the chessboard adjustment information according to the user skill level information: k=int(abs((level1-level2) / (level1+level2)*20)), k is the chessboard adjustment information, level1 is the user level information of one party, level2 is the user level information of the other party, abs() is the absolute value function, and int() is the integer rounding function.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 5 is implemented.

8. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • 'Go' board with changeable ways

    CN2738852Y

  • Irregular weiqi

    CN86209465U

  • Sale system and sale method based on skill certification for go and shogi game product

    JP2002078977A