Interface display method, device and equipment and readable storage medium
By using probability visualization charts in turn-based chess games to display the probability of card quality acquisition, it solves the problem that users find it difficult to quickly determine the probability of card acquisition, improves information acquisition efficiency and simplifies the game interface.
Patent Information
- Application Number
- CN202410178088.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-08
- Publication Date
- 2025-08-12
AI Technical Summary
In turn-based chess games, users need to compare multiple values to determine the probability of obtaining chess pieces at the current chess player level, resulting in inefficient access to chess pieces information.
Probability visualization chart is used to display the probability of obtaining card quality, and intuitively represent the probability of obtaining card quality through area proportion, simplifying the user analysis process.
It improves the efficiency of users to obtain card information, reduces the complexity of display of the game interface, and allows users to understand the probability of card acquisition more intuitively.
Smart Images

Figure CN120459624A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of human-computer interaction, and in particular to an interface display method, device, equipment and readable storage medium. Background Art
[0002] Turn-based chess games are a new type of chess game. After the two opposing teams place their chess pieces on the board, the game application automatically controls the chess pieces on the board to fight and displays the results of the battle.
[0003] In the related art, during a round-based chess game, a user account purchases chess pieces through a store. In the store's corresponding display interface, the refresh probability of chess pieces corresponding to each quality at the current player level is displayed in different colors. For example, in an Auto Chess game, there are three qualities of chess pieces. The refresh probability of chess pieces corresponding to quality 1 is displayed in gray, the refresh probability of chess pieces corresponding to quality 2 is displayed in yellow, and the refresh probability of chess pieces corresponding to quality 3 is displayed in blue. When the player's quality is 2, the store selection interface displays [30% 20% 50%], where 30% is displayed in gray to indicate the refresh probability of chess pieces corresponding to quality 1, 20% is displayed in yellow to indicate the refresh probability of chess pieces corresponding to quality 2, and 50% is displayed in blue to indicate the refresh probability of chess pieces corresponding to quality 3.
[0004] However, the above numerical form displays the refresh probability of chess pieces of various levels. The user can only determine that the probability of obtaining chess pieces corresponding to quality 3 is the highest under the current chess player level by comparing multiple probability values. The operation of comparing probability values makes it impossible for the user to quickly obtain the relative relationship between values of different sizes from multiple values, which to a certain extent reduces the efficiency of the user in obtaining chess piece information. Summary of the Invention
[0005] To solve the problems of the prior art, the embodiments of the present application provide an interface display method, device, equipment, and readable storage medium, which improve the efficiency of obtaining card acquisition probability to a certain extent. The technical solution is as follows:
[0006] In one aspect, a method for displaying an interface is provided, the method comprising:
[0007] Displaying a game interface of a turn-based chess game, the game interface including a probability visualization chart, the probability visualization chart being used to display at least one card quality, the at least one card quality including the card quality of cards available to the current subject at the current chess player level;
[0008] The probability visualization chart displays a chart unit corresponding to each card quality of the at least one card quality, wherein an area ratio of each chart unit is positively correlated with a probability of the current object obtaining the corresponding card quality, and the area ratio refers to a proportion of a total area occupied by the at least one chart unit, and the at least one chart unit corresponds one-to-one to the at least one card quality.
[0009] In another aspect, an interface display device is provided, comprising:
[0010] A display module, configured to display a game interface of a turn-based chess game, the game interface including a probability visualization chart, the probability visualization chart being configured to display at least one card quality, the at least one card quality including the card quality of cards available to the current player at the current chess player level;
[0011] The display module is further configured to display, in the probability visualization chart, a chart unit corresponding to each card quality of the at least one card quality, wherein the area ratio of each chart unit is positively correlated with the probability of the current object obtaining the corresponding card quality, and the area ratio refers to the proportion of the total area occupied by the at least one chart unit, and the at least one chart unit corresponds one-to-one to the at least one card quality.
[0012] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the above-mentioned interface display method.
[0013] On the other hand, a computer-readable storage medium is provided, in which at least one program is stored. The at least one program is loaded and executed by a processor to implement the above-mentioned interface display method.
[0014] On the other hand, a computer program product is provided, wherein the computer program product stores a computer program, and the computer program is loaded and executed by a processor to implement the above-mentioned interface display method.
[0015] The beneficial effects of the technical solution provided by the embodiments of the present application are:
[0016] This visual chart displays the probability of obtaining cards of various card qualities in turn-based chess games, intuitively conveying the probability ratios of obtaining cards of different qualities at the current player level. Compared to traditional turn-based chess games that display the probability of obtaining pieces of all qualities numerically, this saves users the process of analyzing the ratios based on multiple values, significantly improving the efficiency of obtaining card information.
[0017] On the other hand, the multiple acquisition probabilities corresponding to cards of multiple card qualities are simplified and displayed in a visual chart, which reduces the display complexity of the game interface to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0019] Figure 1 This is a structural block diagram of a computer system provided by one embodiment of the present application;
[0020] Figure 2 This is a flow chart of a game interaction method for a turn-based chess game provided by one embodiment of the present application;
[0021] Figure 3 This is a schematic diagram of an interface of a turn-based chess game provided by an embodiment of the present application;
[0022] Figure 4 This is a card diagram of a chess piece card provided by one embodiment of the present application;
[0023] Figure 5 This is a card diagram of an effect card provided by one embodiment of the present application;
[0024] Figure 6 This is a card diagram of an equipment card provided by an embodiment of the present application;
[0025] Figure 7 This is a card diagram of a chess player card provided by one embodiment of the present application;
[0026] Figure 8 This is a flow chart of a game interaction method for a turn-based chess game provided by one embodiment of the present application;
[0027] Figure 9 This is a schematic diagram of a chess player selection interface provided by an embodiment of the present application;
[0028] Figure 10 This is a schematic diagram of a game interface in the preparation phase provided by an embodiment of the present application;
[0029] Figure 11 This is a schematic diagram of the interface for playing cards in the preparation phase provided by one embodiment of the present application;
[0030] Figure 12This is a schematic diagram of an upgrade process of an upgrade button provided by an embodiment of the present application;
[0031] Figure 13 This is a schematic diagram of an upgrade process of an upgrade button provided by an embodiment of the present application;
[0032] Figure 14 This is a schematic diagram of a game interface during the battle phase provided by an embodiment of the present application;
[0033] Figure 15 This is a schematic diagram of a settlement interface provided by an embodiment of the present application;
[0034] Figure 16 This is a flowchart of an interface display method provided by an embodiment of the present application;
[0035] Figure 17 is a schematic diagram of a bar chart provided by one embodiment of the present application;
[0036] Figure 18 is a schematic diagram of a ring chart provided by one embodiment of the present application;
[0037] Figure 19 is a flowchart of an interface display method provided by another embodiment of the present application;
[0038] Figure 20 This is a schematic diagram of interface switching provided by an embodiment of the present application;
[0039] Figure 21 This is a flowchart of an interface display method provided by yet another embodiment of the present application;
[0040] Figure 22 This is a schematic diagram of a bar chart provided by an embodiment of the present application for dynamic adjustment;
[0041] Figure 23 This is a flowchart of an interface display method provided by yet another embodiment of the present application;
[0042] Figure 24 This is a flowchart of an interface display method provided by yet another embodiment of the present application;
[0043] Figure 25 This is a flowchart of an interface display method provided by yet another embodiment of the present application;
[0044] Figure 26 This is a structural block diagram of an interface display device provided by an embodiment of the present application;
[0045] Figure 27 This is a structural block diagram of an interface display device provided in yet another embodiment of the present application;
[0046] Figure 28 This is a structural block diagram corresponding to a server provided in one embodiment of the present application;
[0047] Figure 29 This is a structural block diagram corresponding to a terminal provided in one embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0049] First, the nouns involved in the embodiments of this application are introduced:
[0050] Turn-based chess games: These are chess games in which the "chess pieces" are arranged in advance before the game begins, and during the game, the "chess pieces" can automatically fight according to the pre-arranged layout. The "chess pieces" are usually represented by virtual characters, such as virtual heroes. During the game, the virtual characters automatically unleash various skills to fight. The game usually adopts a turn-based system. When all the "chess pieces" of one side are killed (i.e., the health points of the virtual characters are reduced to zero), that side is deemed the loser of the round. In some embodiments, in addition to the "chess piece-type virtual characters" that play the game, each side also has a chess player character representing the current user participating in the game. The chess player character cannot be moved as a "chess piece" to the battle area or chess piece candidate area. The chess player character is also equipped with health points (or health points). The health points of the chess player character are reduced accordingly (battle failure) or remain unchanged (battle victory) based on the results of each game. When the health points of the virtual character are reduced to zero, the user corresponding to the chess player character exits the game, and the remaining users continue to play. Optional, turn-based chess games include Auto Chess.
[0051] Auto Chess: It is a multiplayer, turn-based competitive game with collectible hero chess pieces. For example, there are eight or six players in the game, each of whom occupies an area on the board. Two of the multiple players compete one-on-one. Each round of a game consists of two stages: the preparation phase and the battle phase. In the preparation phase, users purchase chess pieces (heroes) from the store and arrange them on the board. In the battle phase, both teams lock their lineups, and the chess pieces will automatically engage until all of one team's pieces are dead. The player who destroys all of their chess pieces loses the round and will have a certain amount of health deducted. The game rounds are repeated, and new opponents are matched until a player's health is ≤ 0 and they are eliminated. The last remaining player wins the game (1st place).
[0052] Chessboard: refers to the area in the battle interface of a turn-based chess game used to prepare for and conduct battles. The chessboard can be any one of a two-dimensional virtual chessboard, a 2.5-dimensional virtual chessboard, and a three-dimensional virtual chessboard, and this application does not limit this.
[0053] The traditional Auto Chess board is divided into a battle area and a piece candidate area. The battle area includes several equally sized squares, which are used to place the pieces that will be used in the battle. The piece candidate area includes several candidate pieces, which are used to place candidate pieces. These candidate pieces do not participate in the battle but can be dragged and placed in the battle area during the preparation phase. The board area provided in the embodiments of this application does not include the piece candidate area, but only the battle area.
[0054] Regarding the arrangement of the chess squares in the battle area, in some embodiments, the battle area includes n (rows) × m (columns) chess squares, schematically, n is an integer multiple of 2, and two adjacent rows of chess squares are aligned, or two adjacent rows of chess squares are staggered. In addition, the battle area is divided into two parts according to the rows, namely the own battle area and the enemy battle area, and the users participating in the battle are located on the upper and lower sides of the battle interface, and in the preparation stage, the users can only place chess pieces in the own battle area. In other embodiments, the battle area is divided into two parts according to the columns, namely the own battle area and the enemy battle area, and the users participating in the battle are located on the left and right sides or the upper and lower sides of the battle interface. The shape of the chess square can be any one of square, rectangle, circle, and hexagon. The embodiment of the present application does not limit the shape of the chess square.
[0055] Cards: A common term for a game genre, originating from tabletop games. Unlike chess, where players manipulate chess pieces directly, cards represent game content on cards. Compared to chess pieces, cards are more convenient for carrying text descriptions, card attribute information, and key values. "Cardization" involves converting hero resources into card resources, making it easier for players to understand and categorize card effects, and to carry more diverse information.
[0056] Energy: A game resource. In this application, energy is defined as the resource used by players to play cards. When a card is played, the energy corresponding to the value marked on the card is consumed.
[0057] Equipment: In Auto Chess games, each chess piece can typically wear three pieces of equipment (or other equipment). Equipment provides attributes or effects such as attack power, defense, health, healing, penetration, and shields to the hero. Auto Chess games in related art typically include a jungle phase, where players defeat monsters and receive equipment dropped by them, which they then pick up and add to their backpacks. Equipment can also be combined individually to create higher-quality equipment.
[0058] Player: refers to a virtual character played by the player. Each player has different special abilities that can help the player to play the game better.
[0059] Figure 1 The following is a block diagram of a computer system according to an exemplary embodiment of the present application: The computer system 100 includes a first terminal 110 , a server 120 , and a second terminal 130 .
[0060] A first terminal 110 has a client 111 installed and running that supports a virtual environment. This client 111 may be a turn-based chess game program. When the first terminal runs client 111, the user interface of client 111 is displayed on the screen of the first terminal 110. This client may be a client for an Auto Chess game. First terminal 110 is used by a first user 112. During the preparation phase of a game, first user 112 uses first terminal 110 to place chess pieces in the battle area of the chessboard. During the battle phase, first terminal 110 or server 120 automatically controls the chess pieces based on the attributes, skills, and placement of the pieces in the battle area.
[0061] The second terminal 130 has a client 131 installed and running that supports a virtual environment. This client 131 can be a turn-based chess game program. When the second terminal 130 runs the client 131, the user interface of the client 131 is displayed on the screen of the second terminal 130. This client can be the client of an Auto Chess game. The second terminal 130 is used by a second user 132. During the preparation phase of a game, the second user 132 uses the second terminal 130 to place chess pieces in the battle area of the chessboard. During the battle phase, the second terminal 130 or the server 120 automatically controls the chess pieces based on the attributes, skills, and placement of the pieces in the battle area.
[0062] Optionally, the chess pieces placed by the first user via the first terminal 110 and the second user via the second terminal 130 are located in different playing areas on the same chessboard, i.e., the first user and the second user are on the same chessboard in the same game. Alternatively, the chess pieces placed by the first user via the first terminal 110 and the second user via the second terminal 130 are located on different chessboards, i.e., the first user and the second user are on different chessboards in the same game. It should be noted that, in an optional embodiment, a game of a turn-based chess game is jointly participated in by six user accounts, and the six user accounts are matched up in pairs in each round, and the two matched user accounts play against each other on the same chessboard during the round.
[0063] Optionally, the client installed on the first terminal 110 and the second terminal 130 is the same, or the client installed on the two terminals is the same type of client on different operating system platforms (Android or iOS). The first terminal 110 can generally refer to one of multiple terminals, and the second terminal 130 can generally refer to another of the multiple terminals. This embodiment only uses the first terminal 110 and the second terminal 130 as an example. The first terminal 110 and the second terminal 130 can be the same or different device types, including at least one of a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer. The following embodiments are described using the example of a smartphone as the terminal.
[0064] Those skilled in the art will appreciate that the number of terminals may be greater or less. For example, there may be only one terminal (i.e., the user plays against the AI), or there may be six, eight, or more terminals. The present embodiment does not limit the number of terminals or device types.
[0065] Figure 1 Only two terminals are shown, but in different embodiments, multiple other terminals 140 can access the server 120. Optionally, one or more terminals 140 are terminals corresponding to developers. A development and editing platform for a client that supports a virtual environment is installed on the terminal 140. The developer can edit and update the client on the terminal 140 and transmit the updated client installation package to the server 120 via a wired or wireless network. The first terminal 110 and the second terminal 130 can download the client installation package from the server 120 to update the client.
[0066] The first terminal 110 , the second terminal 130 , and the other terminals 140 are connected to the server 120 via a wireless network or a wired network.
[0067] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 provides backend services for clients supporting a three-dimensional virtual environment (turn-based chess game clients / Auto Chess game clients). Optionally, server 120 performs primary computing tasks, while terminals perform secondary computing tasks; alternatively, server 120 performs secondary computing tasks, while terminals perform primary computing tasks; alternatively, server 120 and terminals utilize a distributed computing architecture for collaborative computing.
[0068] In an illustrative example, the server 120 includes a processor 122, a user account database 123, a battle service module 124, and a user-facing input / output interface (I / O interface) 125. The processor 122 is configured to load instructions stored in the server 120 and process data in the user account database 123 and the battle service module 124. The user account database 123 is configured to store user account data used by the first terminal 110, the second terminal 130, and other terminals 140, such as user account avatars, user account nicknames, user account combat power indexes, and the service areas where the user accounts are located. The battle service module 124 is configured to provide multiple battle rooms for users to engage in battles. The user-facing I / O interface 125 is configured to establish communication and exchange data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network.
[0069] The embodiment of the present application provides a turn-based chess game (auto chess) based on card operations. The various complicated operations involved in traditional auto chess, such as store purchases, store upgrades, chess piece preparations, chess piece deployments, chess piece upgrades, and chess piece equipment additions, are all simplified in the card playing process. On the one hand, the card-based playing process is relatively simple and suitable for use on small-screen terminals such as mobile phones and tablets; on the other hand, the three-dimensional model of the virtual chess piece can only carry limited text information, while the card face can carry more "labels", "values", "attributes", "entry effects" and other information, thereby improving the utilization efficiency of the display area where the card is located.
[0070] Figure 2 A flowchart of a game interaction method for a turn-based chess game provided by an exemplary embodiment of the present application is shown. This embodiment takes the method as an example executed by a terminal, in which a client supporting turn-based chess games is running.
[0071] The method includes:
[0072] Step 220: Displaying a game interface of a turn-based chess game, the game interface including a chessboard area and a hand area, wherein the hand area displays at least one card;
[0073] The game interface is where two players in a turn-based chess game play against each other. Player objects can be understood as at least one of the following concepts: user, account, player, chess player, or virtual chess player.
[0074] Combined with reference Figure 3 The game interface includes a chessboard area 10 and a hand area 11.
[0075] The chessboard area 10 is used to accommodate at least one friendly chess piece and at least one enemy chess piece participating in the battle. The chessboard area 10 includes a plurality of chess squares 12 arranged in an array. These chess squares 12 are always displayed or displayed only at certain times. Optionally, the chessboard area 10 is a two-dimensional chessboard or a three-dimensional chessboard. This embodiment illustrates a three-dimensional chessboard area 10 viewed from above. A three-dimensional chessboard in this context refers to the chessboard being located in a three-dimensional environment, not necessarily the chessboard itself being three-dimensional.
[0076] The hand area 11 is used to display at least one card held or dealt to the player object. This at least one card is typically a plurality of cards. This at least one card includes at least one of the following: cards automatically drawn or dealt to the player object by the background program, cards obtained by playing certain cards with draw effects, and player cards acquired through player skills. This plurality of cards has an upper limit, for example, a maximum of eight cards; excess cards are automatically discarded.
[0077] Optionally, the multiple cards are arranged in a fan-shaped pattern in the hand area 11. The order of arrangement can be determined based on at least one of the following factors: the time of draw, the card type, the number of cards of the same type, the number of cards of the same card, and the quality of the cards. Optionally, at least one card held by the player object has an upper limit, such as a maximum of 8 or 10 cards. When the upper limit is exceeded, the excess cards are discarded. The player object can play all or part of the cards in each battle round. Optionally, the player object can also replace all or part of the cards in each battle round. Optionally, different cards have different card types. Different card types have different battle preparation functions.
[0078] A round of turn-based chess and card games consists of multiple rounds, each of which includes a preparation phase and a battle phase.
[0079] Step 240: In the preparation phase, in response to the play operation of at least one card, perform preparation operations related to the own side;
[0080] The playing operation refers to the operation of playing one or more cards held. Schematically, the playing operation is the operation of dragging a selected card toward the board area. Alternatively, the playing operation includes a first click operation and a second click operation, wherein the first click operation is the operation of clicking to select a card, and the second click operation is the operation of clicking a specific square in the board area. The embodiments of the present application do not limit the specific form of the playing operation. In some embodiments, a function of intelligently recommending playing cards can also be provided, whereby the player object plays cards on behalf of the player in certain rounds, such as the client intelligently recommending playing cards for novice players in the first few rounds.
[0081] At least one allied chess piece is a virtual chess piece that has participated in at least one round (including the current round). If the chessboard area is a two-dimensional chessboard, the virtual chess piece is also a two-dimensional chess piece, displayed as a two-dimensional icon or two-dimensional image; if the chessboard area is a three-dimensional chessboard, the virtual chess piece is also a three-dimensional chess piece, displayed as a three-dimensional model or three-dimensional image. In the initial state, there may be zero allied chess pieces on the chessboard area, and allied player objects can add, delete, or supplement the chessboard area. Allied chess pieces that did not die in the previous round are automatically carried over to the next round.
[0082] The display state of the selected card is different from the display state of the unselected card. Optionally, the selected card has a highlighting effect, which includes: a bold border, a highlighted border, a dynamic border, and the placement position in the card queue is moved a preset distance toward the board area.
[0083] Preparation operations include: increasing one's own chess pieces, reducing one's own chess pieces, upgrading one's own chess pieces, adding equipment to one's own chess pieces, reducing equipment to one's own chess pieces, and having one's own chess pieces increase the gain effect.
[0084] Since different card types have different effects, a preparation operation is performed on at least one of the own chess pieces in the chessboard area based on the card type of the selected card.
[0085] During the preparation phase, the player object will prepare at least one of its own pieces in the chessboard area, and the enemy player object will prepare at least one enemy piece in the chessboard area.
[0086] Step 260: During the battle phase, the own chess piece and the enemy chess piece are displayed to automatically engage in battle in the chessboard area.
[0087] The automatic battle between your own chess pieces and enemy chess pieces in the chessboard area does not require manual control by your own player objects. The client or server automatically controls the battle between the chess pieces of both sides based on the chess position on the chessboard, chess piece attributes, chess piece level, chess piece skills, chess piece attributes, joint enhancement attributes between chess pieces, etc., until all the chess pieces of one side are killed.
[0088] Both the player object and the enemy player object have health points. After the round ends, the health points of the losing player object will be deducted by a certain amount. This amount can be determined based on the number of chess pieces remaining on the winning side, or it can be a fixed value, which is not limited in this embodiment.
[0089] In summary, the method provided in this embodiment, by introducing a "card" mechanism into a turn-based chess game, simplifies and integrates various battle preparation operations into the multi-card playing process, eliminating the concept of a shop. Players no longer need to repeatedly interact with multiple sub-areas on the traditional battle interface, such as the shop, chess piece preparation area, and chess piece battle area, to complete chess piece acquisition, upgrades, and battles. The traditional chess piece purchasing process, which requires users to actively select chess pieces, is replaced by a passive receipt of distributed cards. The game system replaces some of the user's tedious operations, allowing users to complete various battle preparation operations using essentially the same card playing operations as in a card game, thereby improving the efficiency of human-computer interaction.
[0090] Especially when playing turn-based chess games on small-screen terminals such as mobile phones or tablets, players can complete a variety of battle preparation operations based on the limited operations in the hand area. Compared with traditional auto chess, it can significantly improve the efficiency of human-computer interaction.
[0091] Classification of card types:
[0092] In some embodiments, the card type includes at least one of: a chess piece card, an effect card, an equipment card, and a chess player card.
[0093] Chess Cards:
[0094] Pawn cards are used to summon your own pieces on the board or upgrade the level of your own pieces. Figure 4 A schematic diagram of a chess piece card is shown. The chess piece card displays at least one of the following information: a chess piece image 21, a chess piece name 22, the energy consumed when the card is played 23, the chess piece type or faction 24 to which the chess piece belongs, the level of the chess piece after the card is played 25, and a description of the additional effects of the chess piece 26.
[0095] The chess piece image 21 may be at least one of a head portrait, an icon, a bust portrait, a full-body portrait, and a display animation of a virtual chess piece. Figure 4 In the example, the chess piece image 21 is a bust of a virtual chess piece.
[0096] The chess piece name 22 is the name of the virtual chess piece. For example, if the virtual chess piece is a hero, the chess piece name is the hero name.
[0097] The energy value 23 refers to the energy required to play this chess piece. This energy value is an integer. Energy is a resource in turn-based chess games. Optionally, playing cards of different qualities requires different amounts of energy. For example, playing five cards of different qualities requires 0, 1, 2, 3, and 4 energy points, respectively.
[0098] Piece Type 24 is a categorization attribute that identifies the role a piece plays during combat. In one example, different pieces can be classified as at least one of the following: Tank, Warrior, Assassin, Mage, Shooter, or Support. Faction is a categorization attribute that identifies pieces belonging to the same group within the virtual worldview. In one example, different pieces can be classified into at least one of the following: Great Wall, Three Kingdoms, Xuanyong, Jigan, Yaotian, and Chang'an. For example, two pieces belonging to the same Great Wall Guards in the virtual worldview both belong to the Great Wall Faction. In various embodiments, piece type and faction can be considered the same categorization attribute; this embodiment uses piece type and faction as different categorization attributes as an example.
[0099] The level 25 that a piece is upgraded to after a card is played refers to the level that is increased after the card is played, if a piece with the same name (i.e., the same piece) already exists on the board. For example, if level 25 is 3 and the piece with the same name was originally at level 2, then after playing this card, the piece with the same name is upgraded to level 5. Alternatively, cards of different qualities can upgrade the same piece to different levels after being played. For example, five different quality cards can upgrade the same piece to levels 1, 2, 3, 4, and 5, respectively.
[0100] The additional effect description 26 of a chess piece is a description of the additional effect of the chess piece. This additional effect can be triggered upon playing, or it can be activated when a trigger condition is met during the game. For example, chess piece 1 has an exclusive skill: when chess piece 1 is on the board, whenever another friendly chess piece in the board area is sold, it will randomly select a friendly chess piece with the chess type "tank" and increase the chess level of the randomly selected friendly chess piece by a first value, which is half the level of the sold chess piece.
[0101] Effect Cards:
[0102] Effect cards are cards used to apply effects to at least one game factor in the game. The at least one game factor includes chess pieces, skills, equipment, amplification effects, levels, combat processes, hand card acquisition processes, etc. Figure 5 A schematic diagram of an effect card is shown. The effect card displays at least one of the following information: an effect icon 31, an effect name 32, an energy value 33 consumed when the card is played, and an effect description 34 of the effect card.
[0103] The effect icon 31 may be an icon for representing the benefit effect of the effect card. Figure 5 The effect name 32 is the name of the effect card or the name of the gain effect.
[0104] The energy value 33 refers to the energy cost of playing this effect card. This energy value is an integer. Energy is a resource in turn-based chess games. Optionally, playing cards of different qualities may cost different amounts of energy. For example, playing five cards of different qualities may cost 0, 1, 2, 3, and 4 energy points, respectively.
[0105] The effect description 34 of the effect card is used to describe the effect of the effect card after use. The effect of the effect card includes but is not limited to at least one of the following:
[0106] 1. Increase the probability and / or quantity of chess cards obtained by your players;
[0107] 2. Increase the probability or number of players obtaining chess cards with the same name as the chess pieces on the field;
[0108] 3. Reduce the energy consumed by your players when acquiring chess cards;
[0109] 4. Increase the number of chess cards that your players can exchange for;
[0110] 5. Reduce the energy consumed by your players when exchanging chess cards;
[0111] 6. Improve the level of at least one chess piece on the field;
[0112] 7. Add equipment to at least one chess piece on the field;
[0113] 8. Upgrade the equipment level of at least one chess piece on the field;
[0114] 9. Reduce energy consumption when playing / changing cards;
[0115] 10. Increase the probability of obtaining certain cards;
[0116] 11. Increase the number of cards that can be obtained;
[0117] 12. Increase the chance of changing cards, and so on, I will not go into details one by one.
[0118] For example, the effect of the "Two Players" card is: randomly obtain 2 identical hero cards; the effect of the "Talent Search" card is: choose 1 of 3 highest quality hero cards available at the current player level; the effect of the "Copy" card is: randomly obtain a card with the same name as a hero on the field; the effect of the "Abundant Harvest" card is: immediately replenish your hand to 5 cards; the effect of the "Random Strengthen" card is: increase the level of a random hero on the field by +5; the effect of the "One More Time" card is: draw 1 card, and get 1 extra free card exchange in this round; the effect of the "Wish" card is: -1 the energy value consumed by all cards; the effect of the "Add Card" card is: draw 2 cards.
[0119] In some embodiments, effect cards can be categorized as at least one of general effect cards, piece-type effect cards, and faction effect cards. General effect cards are effect cards whose attributes are unrelated to piece type or faction. Card attributes include at least one of: acquisition conditions, usage conditions, card effects, and range of effect. Piece-type effect cards are effect cards whose attributes are related to piece type. For example, only pieces of a specific piece type can acquire, use, or benefit from a card. Faction effect cards are effect cards whose attributes are related to faction. For example, only pieces of a specific faction can acquire, use, or benefit from a card.
[0120] For example, a certain chess piece type effect card can only be obtained with a certain probability when a chess piece card of that chess piece type is played.
[0121] Equipment Cards:
[0122] Equipment cards are used to equip at least one of your own pieces with equipment; Figure 6 A schematic diagram of an equipment card provided by an exemplary embodiment of the present application is shown. The equipment card displays at least one of the following information: an equipment icon 41, an equipment name 42, an energy value 43 consumed when the card is played, and an equipment description 44 of the equipment card.
[0123] The equipment icon 41 may be an icon used to represent an image of equipment or an effect of equipment. Figure 6 The circular icon in the figure is used as an example. Equipment name 42 is the name of the equipment card or the name of the equipment. Different equipment can enhance the combat capability of the own chess piece in different dimensions such as health, armor, defense, and mana, or weaken the combat capability of the enemy chess piece.
[0124] Energy value 43 refers to the amount of energy required to play this equipment card. This energy value is an integer. Energy is a resource in turn-based chess games. Optionally, cards of different qualities may require different amounts of energy to play. For example, five cards of different qualities may cost 0, 1, 2, 3, and 4 energy points to play, respectively. Optionally, the energy costs of different cards may be adjusted periodically or irregularly based on game balance.
[0125] The equipment description 44 of the equipment card is used to describe the effect of the equipment after being worn.
[0126] Chess player cards:
[0127] Player cards are cards acquired through the player skills of a player avatar. Player cards can be acquired through a passive skill of a player avatar, cards that only a certain player avatar can acquire, cards that only a certain player avatar can use, cards that are exclusive to a certain player avatar, and so on, and this embodiment of the application does not limit this.
[0128] Figure 7 A schematic diagram of a chess player card provided by an exemplary embodiment of the present application is shown. The chess player card displays at least one of the following information: a card icon 51, a chess player card name 52, an energy value 53 consumed when the card is played, and a description of the equipment 54 of the chess player card.
[0129] The card icon 51 may be an icon used to represent the effect of the card. Figure 7 The player card name 52 is the name of the player card or the name of the effect.
[0130] The energy value 53 refers to the energy consumed by the player when playing a card. This energy value is an integer. Energy is a resource in turn-based chess games. Optionally, cards of different qualities may consume varying amounts of energy when played. For example, playing five cards of different qualities may consume 0, 1, 2, 3, and 4 energy points, respectively. Optionally, the energy consumed by different cards may be adjusted periodically or irregularly based on game balance.
[0131] The effect description 54 of the player card is used to describe the effect that the player card can increase after use. The effect of the player card can be the same as or similar to the effect of the chess piece card, equipment card, or effect card, and can also exceed the effect range of the chess piece card, equipment card, or effect card. In the possible designs of different embodiments, the effect of the player card can be designed to summon chess pieces, upgrade chess pieces, add equipment, add gain effects, reduce energy consumption, or affect the acquisition process of the hand cards in any form. The effect of the player card can be designed to affect any process or detail in the game, and the embodiments of the present application are not limited to this.
[0132] Based on the introduction of the above four types of cards:
[0133] On the one hand, different types of cards have different functions. Piece cards can eliminate the shop in traditional Auto Chess based on the gameplay characteristics of the cards. Effect cards can eliminate the effect buttons or controls in traditional Auto Chess. Equipment cards can eliminate the jungle phase in traditional Auto Chess. Player cards can incorporate the gameplay characteristics of each player. Using different types of cards can simplify the different mechanics of turn-based chess games into the card-playing process. This can reduce the number of user interface elements required on the battle screen, simplify the operation of the player object, and improve the efficiency of human-computer interaction for the player object.
[0134] On the other hand, compared with three-dimensional chess pieces, two-dimensional cards cannot carry text information well because the text information that three-dimensional chess pieces can carry is limited. The card characteristics of two-dimensional cards can naturally carry more text information and icon information. Therefore, compared with the three-dimensional chess pieces in traditional preparation stages, two-dimensional cards can increase the amount of information carried within the limited display range of small-screen terminals and improve information transmission efficiency.
[0135] It should be noted that the above-mentioned cards can not only be played in the preparation phase, but some cards can also be played in the battle phase, such as certain equipment cards, effect cards that immediately draw 2 more cards, etc.
[0136] How to obtain cards:
[0137] The player object obtains at least one card if the acquisition conditions are met. The acquisition conditions include at least one of the following:
[0138] Obtaining Condition 1: Start a new round of turn-based battle. Each time a new round of turn-based battle starts, you will receive a certain number of cards. For example, the first round of turn-based battle will draw 4 cards, and the subsequent rounds of turn-based battle will draw 2 cards.
[0139] Acquisition Condition 2: Use a pre-set chess card. Pre-set chess cards are chess cards with additional abilities, such as drawing, adding, or duplicating cards. For example, a chess card with the same name as a currently playing chess piece will grant an additional effect card when played.
[0140] Acquisition condition 3: Use preset effect cards; preset effect cards refer to effect cards with effects such as drawing, adding, or copying cards.
[0141] Acquisition condition 4: Use preset player cards; preset player cards refer to effect cards that have effects such as drawing, adding, or copying cards.
[0142] Acquisition condition 5: Consume your own resources in exchange; for example, consume energy to extract or exchange.
[0143] Acquisition condition 6: The player level of the chess player's virtual character is upgraded; after the chess player level is upgraded, higher quality or more cards can be unlocked.
[0144] Acquisition condition 7: Card pool level upgrade; after the card pool level is upgraded, you can unlock higher quality or more cards.
[0145] Obtaining condition 8: Purchase card operation.
[0146] Acquisition Condition 9: A preset player skill is triggered. A preset player skill is a passive skill that has the effect of extracting, adding, or duplicating cards. For example, you can extract a player card every two turns, or you can extract a player card every three cards played.
[0147] It should be noted that the above acquisition conditions can be combined. For example, some cards can only be obtained by using the preset player cards after reaching the player level 2. It should also be noted that the acquisition conditions for different types of cards can be completely different, completely the same, or some conditions can be the same and some different.
[0148] Figure 8 A flowchart of a method for interactively playing a turn-based chess game provided by an exemplary embodiment of the present application is shown. This embodiment uses the method executed by a terminal as an example. The method includes:
[0149] Player selection phase:
[0150] Step 320: Selecting a chess player virtual character of one's own side, where the chess player virtual character is used to represent a virtual character controlling at least one chess piece of one's own side;
[0151] Before each game begins, the player character selects their desired player avatar. Different player avatars have different player skills. Player skills are usually related to obtaining player cards, but can also be related to other game factors.
[0152] In some embodiments, different player skills have their own passive triggering mechanisms that allow the player character to obtain cards with special effects. For example, a player's skill effect is: every time three chess pieces are played, the player obtains a Treasure Player card. The effect of this Treasure Player card is: consume 1 energy point and increase the level of a designated player piece on the board by 2.
[0153] For example, Figure 9As shown, before starting a game, a player selection interface is displayed. This interface displays six virtual player characters selected by the player objects. Optionally, the virtual player character 61 selected by the player object is highlighted. For example, if the player object is player object 4, the virtual player character selected by player object 4 is highlighted in a standing, enlarged, and centered foreground manner. The virtual players selected by the other player objects are displayed in a normal sitting position, at normal size, and distributed on both sides.
[0154] On the player selection interface, several candidate player virtual characters 62 are displayed, for example, candidate players 1 to 5. Other candidate players can be viewed by swiping left or right, or all candidate players can be viewed by clicking the "All" button 63.
[0155] A player skill button 64 is also displayed on the player selection interface. In response to the player skill button 64 being clicked, the player skill name and effect description of the currently selected player virtual character can be viewed in the pop-up window on the right.
[0156] Optionally, the top of the player selection interface displays messages from other players, along with a countdown for selecting a player or entering a game. The left side of the player selection interface displays a button for sending text messages, a speaker off / on button, and a microphone off / on button. After the player object selects the player avatar, they can click the "Confirm" button 65 to enter the ready state.
[0157] N players participate in a game, each engaging in a round-based battle. Each round consists of a preparation phase and a battle phase.
[0158] Preparation phase for each round:
[0159] Step 340: Displaying a game interface of a turn-based chess game, the game interface including a chessboard area and a hand area;
[0160] Combined with reference Figure 10 The board area 10 is used to place at least one friendly chess piece and at least one enemy chess piece. Optionally, the upper half of the board area 10 is used to place at least one enemy chess piece, and the lower half of the board area 10 is used to place at least one friendly chess piece. The hand area 11 is used to display at least one card held by the friendly player object. In the initial state or in certain situations (such as when all cards for the current round have been played), the number of cards displayed in the hand area 11 is 0.
[0161] Optionally, attribute information for the n player objects participating in the current game is displayed in the upper left corner of the game interface. This attribute information includes at least one of the following: player nickname, player portrait, player health, and player level. Player skill buttons 64 are displayed in the lower left corner of the game interface. A card swap button 14 and an upgrade button 15 are also displayed in the lower right corner of the game interface. The card swap button 14 is used to replace one or more cards in the hand area 11. The upgrade button 15 is used to upgrade the player's avatar's level to unlock higher-level cards, abilities, and equipment.
[0162] Optionally, an energy control 16 is displayed in the upper right corner of the game interface. This control displays the energy value of the player object. Energy is a game resource that may be used at various stages of the game. For example, playing cards requires energy, replacing cards requires energy, and upgrading player levels requires energy.
[0163] Step 360: In response to the play operation of at least one card, perform a preparation operation related to one's own chess piece;
[0164] Card types include: chess piece cards, equipment cards, effect cards, and player cards. Players can perform different functions of battle preparation operations by playing different chess piece cards. This step includes at least one of the following steps:
[0165] Step 362: In response to the play operation on the chess piece card, executing a battle preparation operation related to at least one own chess piece in the chessboard area;
[0166] Step 364: In response to the play operation of the equipment card, equip all or part of the at least one chess piece with virtual equipment;
[0167] Step 366: In response to the play operation on the effect card, executing a preparation operation to add an effect to at least one factor in the game;
[0168] Step 368: In response to the play operation on the player's card, perform a preparation operation related to at least one factor in the game.
[0169] Since the battle situation in each round of turn-based battle is different, each player object has different cards in hand, and each player object has different card-playing habits, the number of times and order in which the above steps 362, 364, 366, and 368 are executed in each round of turn-based battle may change, and this embodiment does not limit this.
[0170] Regarding step 362 (chess card):
[0171] In some embodiments, the cards in the hand area include a first chess piece card. In response to a play operation on the first chess piece card, a first friendly chess piece is added to the board area. The first friendly chess piece is the chess piece corresponding to the first chess piece card. In some embodiments, the first friendly chess piece is a chess piece that has not been summoned to the board area.
[0172] That is, when the first own chess piece does not exist in the chessboard area, in response to the play operation on the first chess piece card, the first own chess piece is added to the chessboard area.
[0173] In response to a play operation on a first chess piece card, at least two candidate chess squares are displayed in a chessboard area, and a first indicator element corresponding to the first chess piece card is displayed, the first indicator element including at least one of a reduced first chess piece card, a first own chess piece, and a first indicator arrow; in response to a drag operation of dragging the first indicator element to the first candidate chess square, the first own chess piece is added to the first candidate chess square; wherein the first candidate chess square is one of the at least two candidate chess squares.
[0174] The at least two candidate squares may be all candidate squares or only candidate squares belonging to the player's own side. The at least two candidate squares may be always displayed or only displayed when a card-playing operation is recognized.
[0175] The first chess card is Figure 10 Take the 4th card in as an example, combined with reference Figure 11 In response to a drag operation on the first chess piece card, a first friendly chess piece 17 and a first indicator arrow 18 are displayed. First friendly chess piece 17 is a three-dimensional piece that slides in accordance with the real-time position of the drag operation. First indicator arrow 18 starts at the position of the first chess piece card before it is played and ends at the real-time position of the drag operation. If the drag operation is released at the first candidate square, first friendly chess piece 17 is summoned to the first candidate square.
[0176] based on Figure 11 It can be seen that this interaction method cancels the chess piece preparation area, and the hand card area takes into account the functions of chess piece acquisition and preparation at the same time, realizing the sharing of multiple functions in one display area and improving the efficiency of human-computer interaction.
[0177] In some embodiments, the cards in the hand area include a second chess piece card. In response to a play operation on the second chess piece card and a second own chess piece already exists in the chessboard area, the chess piece level of the second own chess piece is upgraded in the chessboard area, where the second own chess piece is the chess piece corresponding to the second chess piece card.
[0178] Among them, the card-playing operation of the second chess piece card can also be a drag operation, but since there is already a second chess piece in the chessboard area, the release position of the drag operation can be completed at any position in the chessboard area, and it can take effect without the player object being accurately dragged to the second chess piece.
[0179] Regarding step 364 (equip the card):
[0180] In some embodiments, the cards in the hand area include equipment cards. In response to a play operation on the equipment card, a second indicator element corresponding to the equipment card is displayed, the second indicator element including at least one of a reduced equipment card, a virtual equipment corresponding to the equipment card, and a second indicator arrow.
[0181] In response to a dragging operation of dragging the second indicator element to the second own chess piece, dressing the second own chess piece with virtual equipment;
[0182] The second own chess piece is a own chess piece that already exists in the chessboard area.
[0183] Regarding step 366 (effect card):
[0184] In some embodiments, the cards in the hand area include effect cards. In response to a play operation on the effect card, an effect is added to at least one of the own chess pieces, and / or an effect is added to the card acquisition process.
[0185] According to the objects of action, effect cards are divided into two categories:
[0186] Type 1: Increases the effect on your own chess pieces within the chessboard area;
[0187] Type 2: Adds effects to the card acquisition process.
[0188] In response to playing a Type 1 effect card, an effect is added to at least one of your own pieces, such as a buff specific to the piece type, or a combined buff when there are at least two pieces of the same faction on the field.
[0189] In response to the play operation on the type 2 effect card, an effect is added to the card acquisition process, for example, two identical chess pieces are drawn consecutively.
[0190] Regarding step 368 (player card):
[0191] In response to the play operation on the player's card, at least one of the following preparation operations is performed:
[0192] Increasing your own chess pieces, reducing your own chess pieces, upgrading your own chess pieces, adding effects to your own chess pieces, equipping your own chess pieces with props, operations related to card acquisition, operations related to card sales, operations related to card exchanges, operations related to subsequent rounds, and operations related to the health value of your own player objects.
[0193] In other words, the function of a player card is relatively special. It can be any of the functions of a chess piece card, an equipment card, or an effect card. It can also be a function related to the card acquisition process, or a function related to the player's health. In different design implementations, any function that can affect a certain factor in the game may be designed as a function of a player card, and this embodiment of the application does not limit this.
[0194] During the preparation phase, the player object can also use at least one of the card exchange function, card deletion function, and player level upgrade function.
[0195] Card swap function:
[0196] During the preparation phase, your player can swap one or more cards from their hand. Clicking the swap button allows you to swap one or more cards, which consumes energy. For example, you can only swap cards once per round, but you can swap multiple cards at once. Each card swap costs 1 energy.
[0197] Delete card function:
[0198] During the card play process, dragging a card to a designated location will delete or sell it. The resources consumed by deleted cards cannot be recovered, or a portion or a fixed amount of energy can be recovered. For example, each deleted card will gain 1 energy point.
[0199] Player level upgrade function:
[0200] The player object on your side obtains a certain amount of energy in each round. The energy not used in this round can be accumulated to the next round, and the energy can be used to upgrade the player level. The higher the player level, the higher the quality of the cards that can be drawn in each round, and new abilities will be unlocked at the same time, such as talents, purchasable equipment, etc. Optionally, the upgrade button 15 can display quality indicators of different colors. As the player level is upgraded, the quality indicator corresponding to the current player level will light up to indicate the quality of the cards that can be obtained at the current player level. The quality indicator can be as follows: Figure 12 The small rounded rectangle shown is used as an example, but other shapes or forms are also possible.
[0201] For example, when your player object is at player level 1 / 2 / 3 / 4 / 5, you can unlock cards of quality 1 / 2 / 3 / 4 / 5 respectively.
[0202] The battle phase of each round:
[0203] Step 380: During the battle phase, the self-side chess piece and the enemy chess piece are automatically engaged in battle in the chessboard area;
[0204] The automatic battle between your own chess pieces and enemy chess pieces in the chessboard area does not require manual control by your own player objects. The client or server automatically controls the battle between the chess pieces of both sides based on the chess position on the chessboard, chess piece attributes, chess piece level, chess piece skills, chess piece attributes, joint enhancement attributes between chess pieces, etc., until all the chess pieces of one side are killed.
[0205] Figure 13 The figure shows an automatic battle diagram of a player's chess piece 17 and an enemy chess piece 19 in a melee battle on the chessboard. The movement, skill release, and functions of the two chess pieces during the battle do not require manual control by the player.
[0206] Battle settlement phase:
[0207] Step 390: Calculate the life value of the player's virtual character, and start the next round of turn-based battle or end the current game based on the life value.
[0208] Both the player object and the enemy player object have health points. After the round ends, the health points of the losing player object will be deducted by a certain amount. This amount can be determined based on the number of chess pieces remaining on the winning side, or it can be a fixed value, which is not limited in this embodiment.
[0209] When the health value is deducted to zero, the player is eliminated from the game.
[0210] When the health value has not been deducted to zero, the next round of turn-based battle will begin in this game, and the player will continue to fight with one of the n player objects until he is eliminated, or he will win the game as the last player who has not been eliminated.
[0211] In some embodiments, the damage calculation is based on the number of pieces remaining on the winning side's board. Figure 14 The figure shows that when the opponent is the loser, there is only one enemy chess piece 19 left, and then the life value of the opponent's chess piece virtual character 61 is calculated. A life value progress bar can be displayed above the head of the chess piece virtual character 61.
[0212] Exemplary references Figure 15 The settlement information of the current game is displayed on the settlement interface. The settlement information includes player rankings, players used by each player, lineups, chess piece types, and other information.
[0213] In summary, the method provided in this embodiment, by introducing a "card" mechanism into a turn-based chess game, simplifies and integrates various battle preparation operations into the multi-card playing process, eliminating the concept of a shop. Players no longer need to repeatedly interact with multiple sub-areas on the traditional battle interface, such as the shop, chess piece preparation area, and chess piece battle area, to complete chess piece acquisition, upgrades, and battles. The traditional chess piece purchasing process, which requires users to actively select chess pieces, is replaced by a passive receipt of distributed cards. The game system replaces some of the user's tedious operations, allowing users to complete various battle preparation operations using essentially the same card playing operations as in a card game, thereby improving the efficiency of human-computer interaction.
[0214] Especially when playing turn-based chess games on small-screen terminals such as mobile phones or tablets, players can complete a variety of battle preparation operations based on the limited operations in the hand area. Compared with traditional auto chess, it can significantly improve the efficiency of human-computer interaction.
[0215] The method provided in this embodiment can eliminate the store in traditional Auto Chess based on the playing characteristics of the cards through chess piece cards. The tedious process that requires users to purchase the chess pieces they want from dozens of available chess pieces in the store is replaced by a process in which the game system automatically distributes several cards to the player, eliminating the need for users to manually select cards. This reduces the number of interactive operations required for users to obtain chess pieces and the amount of information that users need to process.
[0216] The method provided in this embodiment can remove effect buttons or controls in traditional Auto Chess through effect cards, eliminate the jungle phase in traditional Auto Chess through equipment cards, and incorporate the gameplay characteristics of each player through player cards. By simplifying the various mechanics of turn-based chess games into the card-playing process based on different card types, this can reduce the number of user interface elements required to be displayed on the battle interface, reducing the time users spend actively searching for relevant function entries, simplifying the operation of their own player objects, and improving the efficiency of human-computer interaction for their own player objects.
[0217] Combined with reference Figure 16 , Figure 16 An interface display method provided by an embodiment of the present application is described below. The method is executed by a terminal and includes steps 410 and 420.
[0218] Step 410: Display the game interface of the turn-based chess game.
[0219] The game interface is any interface during the game. The game interface can be a preparation interface corresponding to the preparation phase or a game interface corresponding to the game phase.
[0220] Turn-based chess games have players (hereinafter referred to as "current objects" and "players"), and as the game progresses, the player's level increases accordingly. Optionally, there is a cap on the player's level. For example, at the beginning of a game, the player's level is 1. As the game progresses, the player's level increases gradually, and after reaching level 6, the player's level remains at level 6.
[0221] Different chess player levels correspond to different first game attributes, which include at least one of the number of cards, card quality, the number of chess pieces that can be put on the field, and the energy value consumed by using chess pieces.
[0222] In turn-based chess games, where the game attribute is hand quality, there are various card qualities, and different card qualities have different effects during the game. For example, Auto Chess has five different card qualities: Level 1, Level 2, Level 3, Level 4, and Level 5.
[0223] In the embodiment of the present application, the probability of obtaining cards of various card qualities is different at different player levels. Optionally, as the player level increases, the probability of obtaining high-quality cards will also increase, and the probability of obtaining low-quality cards will decrease.
[0224] In the game interface, the probabilities of obtaining cards of various card qualities at all player levels are displayed; or, the probabilities of obtaining cards of various card qualities at the current player level are displayed.
[0225] In the embodiment of the present application, the probability corresponding to the card quality of the cards that the current object can obtain at the current player level is presented in the form of a chart.
[0226] The game interface includes a probability visualization chart for displaying at least one card quality, wherein the at least one card quality includes the card quality of the cards available to the current player and the current object. Optionally, the at least one card quality is a card quality among multiple card qualities, that is, the at least one card quality includes multiple card qualities.
[0227] Optionally, the probability visualization chart can be implemented as at least one of a bar chart, a ring chart, a pie chart, and a column chart. The probability visualization chart can also be implemented as charts other than the above examples, which is not limited in this application.
[0228] The following describes how probability visualization charts are displayed on the game interface.
[0229] The first option is to display a probability visualization chart on all game screens that are triggered during a game match. If no upper-level screen is displayed, the probability visualization chart will be displayed in a designated area of the current game screen. This designated area can be anywhere on the current game screen.
[0230] The second type is a turn-based chess game where the current focus is more on player level and obtaining high-quality cards. Specifically, a probability visualization chart is displayed in a level-up window corresponding to the player level. This level-up window is implemented as a game interface superimposed on the main game interface. Specifically, a level-up control is displayed on the main game interface. In response to a trigger operation on the level-up control, a level-up window is displayed on the main game interface. This level-up window displays a probability visualization chart, the current player level, and other information.
[0231] In the embodiment of the present application, on the one hand, the probability values of obtaining cards of various card qualities are visualized in the form of a chart. Compared with displaying multiple probability values in an arranged manner in the interface, the display space required for the probability visualization chart is smaller, which reduces the display complexity of the interface content to a certain extent; on the other hand, the probability visualization chart can contain more information than a simple value.
[0232] Step 420: Displaying a chart unit corresponding to each card quality of at least one card quality in the probability visualization chart.
[0233] The probability visualization chart includes at least one chart unit, each corresponding to at least one card quality. A chart unit is a graphical unit obtained by dividing the probability visualization chart. A probability visualization chart includes one or more chart units. The shape of a chart unit can be rectangular, annular, sector-shaped, or circular. The area percentage of the chart unit represents the probability of obtaining a card quality, and the fill color of the chart unit represents the current card quality.
[0234] The area ratio of each chart unit in the probability visualization chart is positively correlated with the probability of the current object obtaining the corresponding card quality.
[0235] That is, for any chart unit in each chart unit, the higher the area ratio of the chart unit in at least one chart unit, the higher the probability of obtaining a card of the card quality corresponding to the chart area. The area ratio is used to indicate the proportion of the total area occupied by at least one chart unit. Optionally, the probability visualization chart also includes any one of text content, graphic identifiers, and numerical identifiers. The text content, graphic identifiers, and numerical identifiers are used to graphically interpret the at least one chart unit, which can be an explanation of the card quality corresponding to the at least one chart unit or an explanation of the probability of obtaining a card corresponding to the at least one chart unit. This application is not limited to this.
[0236] The following introduces various implementation methods of probability visualization charts.
[0237] First, the probability visualization is implemented as a bar chart.
[0238] The bar chart displays multiple bar units connected one by one along a specified direction. Each bar unit corresponds to a card quality. That is, each bar unit corresponds to a card quality, and the area occupied by each bar unit in the bar chart corresponds to the probability of obtaining a card of that quality.
[0239] The designated direction may be a horizontal direction, a vertical direction, or a direction with any inclination angle relative to the horizontal line, and this application does not impose any limitation on this.
[0240] For a first bar unit among the plurality of bar units, a first bar unit having a first length ratio is displayed. The process of determining the first bar unit includes but is not limited to any one of the following methods.
[0241] 1. Directly determine the probability of obtaining the card quality corresponding to the bar unit as the length ratio.
[0242] Optionally, the probability of obtaining a card of a first quality is obtained to obtain a first probability value; the first probability value is determined as a length ratio of the first bar unit to obtain a first length ratio; and the first bar unit is drawn according to the first length ratio. For example, the probability of obtaining a card of quality 1 is 50%. 50% can be used to represent both the probability of obtaining a card of quality 1 and the percentage of area of the bar unit corresponding to the card quality in the entire bar chart.
[0243] 2. Determine the probability interval of the probability of obtaining the card quality corresponding to the bar unit, and determine the probability value matching the probability interval as the length ratio.
[0244] Optionally, a first probability range is determined in which the first probability value lies, and the first probability range corresponds to a second probability value; the second probability value is determined as the length ratio of the first bar unit to obtain the first length ratio. Exemplarily, the total probability of acquisition is divided into five probability ranges at equal intervals, and target probability values are determined for each of the five probability ranges. The probability of acquisition corresponding to a card of quality 1 is 40%, and 40% is in the range of 40% to 60%. The target probability value corresponding to this range is 50%, and the bar unit corresponding to quality 1 is drawn with 50% as the area ratio.
[0245] Optionally, the first length ratio is positively correlated with the probability of obtaining a first card quality, that is, the larger the first length ratio is, the higher the probability of obtaining a card corresponding to the card quality is, and the first bar unit is any one of the multiple bar units.
[0246] In the above content, the probability visualization chart carries multiple probability values corresponding to obtaining cards of multiple card qualities. The acquisition ratio and size relationship between cards of multiple card qualities in at least one card quality are intuitively expressed in the chart in the form of area ratio, which is easier for players to accept and helps improve the efficiency of information acquisition.
[0247] According to the above process of drawing the first bar unit, draw multiple bar units corresponding to the cards of multiple card qualities obtained by the current object under the current player level.
[0248] Optionally, multiple bar units are spliced together according to a preset splicing rule to form a bar chart.
[0249] Optionally, the preset splicing rule can be to splice in order of card quality. During the splicing process, the bar unit with the lowest card quality is located at the beginning of the bar chart, and the bar unit with the highest card quality is located at the end of the bar chart. For example, multiple bar units are spliced one by one from left to right, with the leftmost bar unit being the bar unit with the lowest card quality, the rightmost bar unit being the bar unit with the highest card quality, and the bar units in the middle of the bar units are arranged in order of card quality from low to high.
[0250] The preset splicing rule can be to splice according to the size of the acquisition probability. During the splicing process, the bar unit corresponding to the card quality with the highest probability is used as the starting position of the bar chart, and the bar unit corresponding to the card quality with the lowest probability is used as the end position of the bar chart.
[0251] The preset splicing rule can also be to splice according to the number of card qualities of the cards already owned by the current object. During the splicing process, the number of cards corresponding to at least one card quality already owned by the current object is obtained, and the quantity sorting result is determined in reverse order or in order; based on the quantity sorting result, the bar units corresponding to at least one card quality are spliced.
[0252] Optionally, the preset splicing rule may also be other rules. The above is only an illustrative example and is not limited in this application.
[0253] like Figure 17 As shown, Figure 17 A schematic diagram of various bar charts at different levels in the game is shown. The upper limit of the player level in the turn-based chess game is level 5, and there are 5 qualities of cards. The bar chart of obtaining 5 qualities of cards at 5 player levels can be seen in area 1700, where the probability of obtaining quality 1 cards at player level 1 is 100%, and the probability of obtaining cards of other qualities is 0%; as the player level increases, the probability of obtaining high-quality cards increases; player level 2 can obtain quality 1 and quality 2 cards, where the probability of obtaining quality 1 cards is 50%, and the probability of obtaining quality 2 cards is 50%; in Figure 17 In the schematic diagram shown, as the player level increases, the number of different card qualities obtained also increases. It can also be implemented that the number of card qualities that can be obtained at different player levels is the same, but the highlights are different; or it can be implemented in other forms, which is not limited in this application.
[0254] Second, the probability visualization chart is implemented as a ring chart.
[0255] The circular chart displays multiple circular units, each connected by a circle centered around the center of the chart. Each of these units corresponds to a card quality. That is, each unit corresponds to a card quality, and the percentage of area occupied by each unit in the circular chart corresponds to the probability of obtaining a card of that quality.
[0256] During the splicing process, multiple annular units are spliced one by one in a clockwise or counterclockwise direction.
[0257] For a first annular unit among the plurality of annular units, the first annular unit having the first length ratio is displayed. The process of determining the first annular unit includes but is not limited to any one of the following methods.
[0258] 1. Directly determine the probability of obtaining the card quality corresponding to the ring unit as the length ratio.
[0259] Optionally, obtain the probability of obtaining the second card quality to obtain a third probability value; determine the third probability value as the arc length ratio of the second annular unit to obtain a second arc length ratio; and draw the second annular unit according to the second arc length ratio.
[0260] 2. Determine the probability interval of the probability of obtaining the card quality corresponding to the ring unit, and determine the probability value matching the probability interval as the arc length ratio.
[0261] Optionally, determine the second probability range in which the third probability value is located, and the second probability range corresponds to the fourth probability value; determine the fourth probability value as the arc length ratio of the second annular unit to obtain the second arc length ratio; and draw the second annular unit according to the second arc length ratio.
[0262] Optionally, the proportion of the second arc length is positively correlated with the probability of obtaining the first card quality, that is, the larger the proportion of the second arc length, the higher the probability of obtaining the card corresponding to the card quality, and the first annular unit is any one of the multiple annular units.
[0263] According to the above process of drawing the first annular unit, draw multiple annular units corresponding to the cards of multiple card qualities obtained by the current object under the current player level.
[0264] Optionally, multiple ring units are spliced together according to a preset splicing rule to form a ring chart. The preset splicing rule can be found in the above content and will not be described in detail here.
[0265] Players are much more sensitive to and receptive to graphics than to numbers. Therefore, no matter what form the probability visualization chart is implemented in, players can directly obtain the probability distribution of obtaining cards of multiple card qualities at the current player level through the chart information displayed in the game interface.
[0266] like Figure 18 As shown, Figure 18 A schematic diagram of various circular charts at different levels in the game is shown. The upper limit of the player level in turn-based chess games is level 5, and there are 5 qualities of cards. The circular chart for obtaining 5 qualities of cards at 5 player levels can be found in area 1800, wherein the level number i corresponding to the player level is displayed in the circular chart, and the probability of obtaining quality 1 cards at player level 1 is 100%, and the probability of obtaining cards of other qualities is 0%; as the player level increases, the probability of obtaining high-quality cards increases; player level 2 can obtain quality 1 and quality 2 cards, wherein the probability of obtaining quality 1 cards is 50%, and the probability of obtaining quality 2 cards is 50%; in Figure 18In the schematic diagram shown, as the player level increases, the number of different card qualities obtained also increases. It can also be implemented that the number of card qualities that can be obtained at different player levels is the same, but the highlights are different; or it can be implemented in other forms, which is not limited in this application.
[0267] The third type of probability visualization chart is implemented as a pie chart.
[0268] The pie chart displays multiple sector-shaped units, each connected by the center of the pie chart. Each sector-shaped unit corresponds to a card quality. That is, each sector-shaped unit corresponds to a card quality, and the proportion of area occupied by each sector-shaped unit in the pie chart corresponds to the probability of obtaining a card of that quality.
[0269] During the splicing process, multiple annular units are spliced one by one in a clockwise or counterclockwise direction.
[0270] For a first annular unit among the plurality of annular units, the first annular unit having the first length ratio is displayed. The process of determining the first annular unit includes but is not limited to any one of the following methods.
[0271] 1. Directly determine the probability of obtaining the card quality corresponding to the fan-shaped unit as the length ratio.
[0272] Optionally, obtain the probability of obtaining the third card quality to obtain a fourth probability value; determine the fourth probability value as the area ratio of the second sector unit to obtain the sector area ratio; and draw the second sector unit according to the sector area ratio.
[0273] 2. Determine the probability interval for obtaining the card quality corresponding to the sector unit, and determine the probability value matching the probability interval as the sector area ratio.
[0274] Optionally, determine the third probability range in which the fourth probability value is located, and the third probability range corresponds to the fifth probability value; determine the fifth probability value as the area ratio of the second fan-shaped unit to obtain the fan-shaped area ratio; and draw the second fan-shaped unit according to the fan-shaped area ratio.
[0275] Optionally, the size of the sector area ratio is positively correlated with the probability of obtaining the first card quality, that is, the larger the sector area ratio, the higher the probability of obtaining the card corresponding to the card quality, and the first sector unit is any annular unit among the multiple sector units.
[0276] According to the above process of drawing the first fan-shaped unit, draw multiple fan-shaped units corresponding to the cards of multiple card qualities obtained by the current object under the current player level.
[0277] Optionally, multiple sector units are spliced together according to a preset splicing rule to form a pie chart. The preset splicing rule can be found in the above content and will not be described in detail here.
[0278] In another embodiment, to better present the effects of multiple card qualities within the probability visualization chart, the presentation effects of the multiple card qualities are labeled. Specifically, at least one chart unit within the probability visualization chart is presented in a different manner, including but not limited to any of the following methods.
[0279] The first method is to display the fill color of any one of at least one chart unit, which is consistent with the quality color of the card corresponding to the chart unit. For example, there are three qualities of cards in the Auto Chess game. The quality color of the card corresponding to quality 1 is gray, the color of the card corresponding to quality 2 is yellow, and the color of the card corresponding to quality 3 is red. When the player level is 3, the chart unit corresponding to quality 1 is filled with gray, the chart unit corresponding to quality 2 is filled with yellow, and the chart unit corresponding to quality 3 is filled with red. Figure 18 , fill the multiple ring units in the ring area corresponding to the chess player level 4 with different colors.
[0280] In the embodiment of the present application, the filling color of the chart unit is consistent with the color of the card quality. When browsing the probability visualization chart, the player can not only obtain the proportion of each chart unit in the total chart units, but also directly determine the corresponding card quality by color, which to a certain extent improves the dimension of the probability visualization chart containing effective information.
[0281] The second method is to display a prompt text information of any one of the at least one chart unit, wherein the prompt text information is consistent with the quality level of the card corresponding to the chart unit.
[0282] The third method is to display a chart sheet at a brightness for any one of the at least one chart unit, and the brightness is positively correlated with the quality level of the card corresponding to the chart unit. That is, the higher the card quality, the brighter the display brightness of the corresponding chart unit.
[0283] Fourthly, for any one of the at least one chart unit, a chart unit frame effect is displayed, the frame effect being consistent with the quality level of the card corresponding to the chart unit. The frame effect includes at least one of: a bounce, a particle effect surround, a chart unit border line, and a texture.
[0284] In the above embodiment, probability values are converted into areas with different fill colors within a probability visualization chart. Graphics are easier for players to understand and grasp than numerical values, allowing them to directly and effectively access the probability of obtaining various card qualities at their current player level from the probability visualization chart, eliminating the need for secondary conversion of probability values. This further improves the information utilization of the content displayed within the game interface. Furthermore, players can immediately see the area percentages and display styles within the probability visualization chart, further packaging the information contained within the probability visualization chart and effectively increasing the amount of information contained within the icon.
[0285] In the embodiments of the present application, a visual chart is used to display the probability of obtaining cards of various card qualities in a turn-based chess game. This can intuitively convey the probability ratios of obtaining cards of different card qualities at the current player level. Compared to traditional turn-based chess games that display the corresponding probability of obtaining chess pieces of all qualities in the form of numerical values, this saves the user the process of performing ratio analysis based on multiple numerical values, and to a certain extent improves the efficiency of obtaining card information for users.
[0286] On the other hand, the multiple acquisition probabilities corresponding to cards of multiple card qualities are simplified and displayed in a visual chart, which reduces the display complexity of the game interface to a certain extent.
[0287] Combined with reference Figure 19 , Figure 19 Another interface display method provided by an embodiment of the present application is shown. The method is executed by a terminal and includes steps 510 and 520.
[0288] Step 510: A probability visualization chart is displayed in the game interface.
[0289] Optionally, a probability visualization chart is displayed in any game interface within the turn-based chess game.
[0290] The specific meaning, implementation form and generation process of the probability visualization chart can be found in the above step 410 and will not be repeated here.
[0291] Step 520: In response to receiving a trigger operation on the probability visualization chart, display a plurality of probability values in the form of a value list.
[0292] Optionally, the probability visualization chart can be implemented as a controllable operation control, or as fixed display content in the game interface, which is not limited in this application.
[0293] In an embodiment of the present application, the probability visualization chart is implemented as a controllable operation control, and the current object performs a trigger operation on the probability visualization chart, and the trigger operation includes at least one of a click operation, a double-click operation, a sliding operation, a global gesture operation, a voice command operation, a hover operation, and a peripheral control operation.
[0294] In combination with the above content, a turn-based chess game provides multiple player levels and multiple card qualities, and the distribution of the probability of obtaining multiple card qualities for any two player levels in the multiple player levels is different.
[0295] Optionally, in response to receiving a trigger operation on the probability visualization chart, a probability distribution details window is displayed, wherein the probability distribution details window is used to display the probability values of obtaining cards of all card qualities at each player level.
[0296] In another embodiment, the probability visualization chart is implemented as fixed display content, and a level introduction control is displayed at a preset position around the probability visualization chart. The current object performs a trigger operation on the level introduction control to display a probability distribution details window.
[0297] In the probability distribution details window, multiple probability values are displayed in the form of a value list, and each of the multiple probability values corresponds to a two-tuple, which includes the player level and the card quality.
[0298] Each probability value represents the probability of obtaining a card of a certain quality at a given player level. For example, a probability value of 1 represents the probability of obtaining a card of quality A at a player level of 1; a probability value of 2 represents the probability of obtaining a card of quality B at a player level of 1; a probability value of 3 represents the probability of obtaining a card of quality C at a player level of 1, and so on.
[0299] In turn-based chess games, the current object needs to have a detailed understanding of the hand resources that can be obtained at each stage during the game. Therefore, it is impossible to obtain global information (this global information is used to indicate the probability of obtaining cards of various card qualities at various chess player levels) only through the probability visualization chart displayed in the game interface. In the embodiment of the present application, the global probability distribution information is stored in the probability visualization chart, that is, the current object triggers the probability visualization chart to obtain global information. The probability values are displayed in layers according to different browsing requirements. In the first layer, the current object only needs to display the probability of obtaining cards of the card quality that can be obtained at the current chess player level. In order to further improve the efficiency of the current object in obtaining information, at least one probability value that needs to be displayed in the first layer is presented in the form of a chart; in the second layer, the current object cannot obtain global information based on the chart displayed in the first layer. Therefore, the probability of obtaining cards corresponding to various card qualities at all chess player levels is displayed in the form of a specific numerical list, which reduces the complexity of the interface content display to a certain extent.
[0300] In order to further emphasize the probability value corresponding to the current level in the probability distribution details window, the probability value corresponding to the current player level is highlighted. The highlighting method includes but is not limited to any of the following methods.
[0301] The first method highlights the probability value corresponding to the current player level. Since multiple probability values are displayed in the form of a numerical list, the probability value of each player level is treated as an independent unit in the numerical list. This independent unit can be arranged vertically or horizontally. Therefore, the terminal determines the current player level and the probability value corresponding to the current player level, and increases the display brightness of the content in the row or column corresponding to the current player level in the numerical list. The displayed content includes at least one of card quality, current player level, and probability value.
[0302] The second method is to bold the probability value corresponding to the current player level; bold the display content of the row or column corresponding to the current player level in the value list.
[0303] The third method is to flash the probability value corresponding to the current chess player level; play the flashing animation of the display content corresponding to the row or column corresponding to the current chess player level in the value list according to the preset frequency.
[0304] The fourth method is to frame the probability value corresponding to the current chess player level; perform a frame selection operation on the row or column corresponding to the current chess player level, and add a wireframe to the boundary of the row or column. The color, texture and style of the wireframe are not limited in this application.
[0305] Fifth, changing the display style of the probability value corresponding to the current player level, where the display style includes at least one of a display font, a display color, and a text style. The display style of the content corresponding to the row or column corresponding to the current player level is a first display style, and the display style of the player levels other than the current player level among the multiple player levels is a second display style, where the first display style and the second display style are different.
[0306] In the above embodiment, the probability of obtaining cards of at least one card quality is packaged into a two-layer interface for display. In the first layer interface, only the probability visualization chart is displayed, so that the current object has an intuitive and efficient preliminary understanding of the probability of obtaining cards of at least one card quality at the current chess player level; if the current object has the intention to further understand the probability based on the probability visualization chart, the probability visualization chart is directly triggered to display the second layer interface, and the second layer interface fully displays the probability values of cards of all card qualities at all chess player levels.
[0307] In another optional embodiment, the interface display method corresponding to the above steps 510 and 520 may be further refined, and the display method of the probability value may be packaged into a three-layer interface.
[0308] In turn-based chess games, there is a main game interface. The main game interface is in the game phase and the current object does not trigger the display of any other superimposed interface. In other words, the main game interface only includes one layer of display interface.
[0309] In the first-level interface, the main game interface includes a level view control, which is used to view at least one of the skill information, level information, and probability information corresponding to the current player level. A first probability visualization chart is displayed in the level view control, and the first probability visualization chart includes at least one first chart unit. The at least one card quality includes the card quality of the cards that the current player can obtain at the current player level, and the at least one first chart unit corresponds to the at least one card quality. Optionally, the first probability visualization chart displays the at least one card quality in the form of discrete columnar units, each columnar unit representing a card quality, the fill color of the columnar unit is consistent with the card quality color corresponding to the card quality, and the size and area of the columnar unit are positively correlated with the acquisition highlight corresponding to the card of the card quality.
[0310] In the second layer interface, in response to receiving a trigger operation on the level view control, a level upgrade window is displayed, which includes a second probability visualization chart. The second probability visualization chart can be implemented as the probability visualization chart in step 410 above.
[0311] In the third layer interface, in response to receiving a trigger operation on the second probability visualization chart in the level upgrade window, a probability distribution details window is displayed.
[0312] Combined with reference Figure 20 , Figure 20 A schematic diagram of an interface corresponding to the display method provided in an embodiment of the present application is shown. Figure 20 Part (A) shows the main game interface. In the main game interface, a level view control 200 is displayed. The level view control 200 displays three columns, which represent the three qualities of cards that can be obtained at the current player level. When the current player clicks the level view control 200, a level upgrade window 201 is displayed in the main game interface. Figure 20 Part (B) shows the main game interface displayed after the level view control 200 is triggered. The level upgrade window 201 includes a bar visualization chart 202, which includes three bar units. Different bar units are filled with colors, and the filling colors correspond to the colors of the card qualities. After the current object clicks on the bar visualization chart 202, the probability distribution details window 203 is displayed. The probability distribution details window 203 displays the probability of obtaining cards of various qualities under all player levels. The level upgrade window 201 is superimposed on the main game interface, and the bar visualization chart 202 is triggered. The probability distribution details window 203 is superimposed on the main game interface to form a new game interface. In the new game interface, the display logic layer of the level upgrade window 201 is consistent with the display logic layer of the probability distribution details window 203, that is, the two windows are displayed at the same level, but the display logic layer of these two windows is higher than the display logic layer of the main game interface.
[0313] In an embodiment of the present application, a visual chart displays the probability of obtaining cards of various card qualities in a turn-based chess game, intuitively conveying the probability ratios of obtaining cards of different card qualities at the current player level. Compared to traditional turn-based chess games that display the corresponding probability of obtaining chess pieces of all qualities in numerical form, this saves the user the process of performing ratio analysis based on multiple numerical values, thereby improving the efficiency of obtaining card information to a certain extent.
[0314] On the other hand, the multiple acquisition probabilities corresponding to cards of multiple card qualities are simplified and displayed in a visual chart, which reduces the display complexity of the game interface to a certain extent.
[0315] Combined with reference Figure 21 , Figure 21 Another interface display method provided by an embodiment of the present application is shown. The method is executed by a terminal and includes steps 610 and 620.
[0316] Step 610: Show upgrade controls.
[0317] Optionally, the Level Upgrade window displays an upgrade control for increasing the current player's level. At the beginning of a game, the player's level is 1. As the game progresses, the player's level increases. There are two ways to increase the player's level.
[0318] The first is that the current object consumes virtual resources in a turn-based chess game to increase the player level, such as consuming energy points to increase the player level. In an embodiment of the present application, at the beginning of a game, the current object has a specified number of energy points. The current object uses energy points to obtain virtual resources required for the game, and uses energy points to generate a gain or loss effect on the game. The virtual resources include hand cards. In the first round of the game (that is, the preparation stage corresponding to the beginning of the game), a specified number of energy points are automatically obtained, and the current object consumes energy points to play cards. After the subsequent game stages are completed, the current object can obtain energy points that are positively correlated with the player level.
[0319] The second type is that as the game progresses, the turn-based chess game client automatically increases the current player level of the current object.
[0320] Step 620: upon receiving a trigger operation for the upgrade control, dynamically adjust the probability visualization chart to obtain an updated probability visualization chart.
[0321] As can be seen from the above content, the main game interface displays a level viewing control. After triggering the level viewing control, the level upgrade window is displayed; the level upgrade window displays a probability visualization chart and upgrade controls.
[0322] Because the probability of obtaining cards of different qualities varies at different player levels, the corresponding probability visualization charts are also different. In response to receiving a trigger operation on the upgrade control, the probability visualization chart corresponding to the current player level is dynamically adjusted to obtain an updated probability visualization chart. The process of dynamically adjusting the probability visualization chart is detailed below.
[0323] The first adjustment method is to gradually increase or decrease the area ratio of the common chart unit in response to receiving the trigger operation of the upgrade control. The common chart unit is the chart unit that the current chess player has before and after the upgrade. Figure 22 , Figure 22 A schematic diagram of dynamic adjustment of a probability visualization chart is shown in FIG. Figure 22As shown in part (A), the current player level corresponds to the first probability visualization chart 301. After the current player level is upgraded, the next player level corresponds to the second probability visualization chart 302. Here, the area ratio of chart unit a in the first probability visualization chart 301 is dynamically reduced to chart unit b in the second probability visualization chart 302, and the area ratio of chart unit c in the first probability visualization chart 301 is dynamically increased to chart unit d in the second probability visualization chart 302.
[0324] For the first chart unit, gradually increase the area ratio of the first chart unit, the first chart unit is a chart unit that the current chess player level does not have before the upgrade but has after the upgrade; combined with reference Figure 22 ,like Figure 22 As shown in part (B), the current player level corresponds to the third probability visualization chart 303. After the current player level is upgraded, the next player level corresponds to the fourth probability visualization chart 304. The area of chart unit e in the third probability visualization chart 303 is dynamically reduced to chart unit f in the fourth probability visualization chart 304, and a new chart unit g is displayed in the fourth probability visualization chart 303.
[0325] For the second chart unit, gradually reduce the area ratio of the second chart unit, the second chart unit is a chart unit that the current chess player level has before upgrading but not after upgrading; Figure 22 ,like Figure 22 As shown in part (C), the current player level corresponds to the fifth probability visualization chart 305. After the current player level is upgraded, the next player level corresponds to the sixth probability visualization chart 306. Here, the area of chart unit h in the fifth probability visualization chart 304 is dynamically increased to chart unit j in the sixth probability visualization chart 304, and chart unit k is removed from the sixth probability visualization chart 303.
[0326] The second adjustment method: in response to receiving a trigger operation on the upgrade control, playing the dissipation animation effect of the probability visualization chart to cancel the display of the probability visualization chart; and, at the position of the probability visualization chart, playing the appearance animation effect of the probability visualization chart corresponding to the next chess player level to display the updated probability visualization chart.
[0327] In an embodiment of the present application, the probability visualization chart displayed in the game interface is dynamically adjusted during the player level upgrade process. This dynamic effect allows players to more intuitively understand the changes in the probability of obtaining at least one card quality before and after the upgrade. For example, after the player level is upgraded, the probability of obtaining a high-quality card is increased at the next player level, and the chart cell corresponding to the newly added high-quality card is displayed in the probability visualization chart, thereby improving the player's efficiency in obtaining information to a certain extent.
[0328] Combined with reference Figure 23 , Figure 23 A level determination method provided by an embodiment of the present application is shown. The method is executed by a terminal and includes step 710.
[0329] Step 710: Displaying a preview probability visualization chart around the probability visualization chart.
[0330] During a game, the current player can be intelligently recommended a player level. Based on the recommended player level, the current player can decide whether to upgrade their current level, improving their game strategy. The current player can be understood as referring to the aforementioned concepts: player, player object, player object, user account, and player account.
[0331] The preview probability visualization chart is a visualization chart of the probabilities corresponding to the recommended player levels. The recommended player levels are the player levels recommended by the game system based on the current game situation of the object.
[0332] The specific process of determining the recommended player level is as follows:
[0333] The invention obtains chess piece information of chess pieces existing in the own chessboard area and card information of cards existing in the hand area of a turn-based chess game; the chess piece information includes chess piece category identification and chess piece position coordinates, and the card information includes card category identification; the chess piece information and card information are input into the level prediction neural network to obtain the recommended chess player level.
[0334] After obtaining the chess piece and card information, it is necessary to encode the chess piece and card information to obtain features that can be processed by the level prediction model, that is, to determine the input representation. For any chess piece in the own chessboard area, the chess piece's chess piece category identifier is encoded to obtain a first category representation; the chess piece's chess piece position coordinates are encoded to obtain a first position representation; the first category representation is added to the first position representation to obtain the chess piece's chess piece representation; the chess piece representations of each chess piece in the own chessboard area are concatenated to obtain a chessboard representation; for any card in the hand area, the card category identifier is encoded to obtain a second category representation; the second category representations of each card in the hand area are concatenated to obtain a hand representation; the chessboard representation and the hand representation are concatenated to obtain an input representation. Based on this input representation, the recommended chess player level is predicted.
[0335] Furthermore, after determining the input representation, a correlation relationship is statistically obtained, where the probability of winning is highest when both the first representation range and the first player level are present. A query is performed to determine if the input representation falls within the first representation range. The first player level corresponding to the first representation range is determined as the recommended player level. The correlation relationship can be obtained through real-time statistics during model inference or pre-calculated offline.
[0336] By using chess piece category and position representations, as well as card category representations, we can fully describe the current game situation, enrich the model's input information dimension, and thus improve the model's prediction accuracy. The level prediction method provided in this application is a level prediction scheme designed for turn-based chess games, fully considering the game characteristics of turn-based chess games (the presence of both a board area and a hand area).
[0337] In an embodiment of the present application, a visual chart displays the probability of obtaining cards of various card qualities in a turn-based chess game, intuitively conveying the probability ratios of obtaining cards of different card qualities at the current player level. Compared to traditional turn-based chess games that display the corresponding probability of obtaining chess pieces of all qualities in numerical form, this saves the user the process of performing ratio analysis based on multiple numerical values, thereby improving the efficiency of obtaining card information to a certain extent.
[0338] On the other hand, the multiple acquisition probabilities corresponding to cards of multiple card qualities are simplified and displayed in a visual chart, which reduces the display complexity of the game interface to a certain extent.
[0339] Combined with reference Figure 24 , Figure 24 An interface display method provided by an embodiment of the present application is shown. The method is described from the perspective of a player and includes steps 900 to 905.
[0340] Step 900: Based on the game situation, the player decides whether to stay at the current player level.
[0341] If the player decides to stay at the current player level, the subsequent step 901 is executed.
[0342] If the player decides not to stay at the current player level, the subsequent step 902 is executed.
[0343] Step 901: Stay at the current player level.
[0344] Players can continue to replace, refresh, and perform other operations on the hand cards in the hand area at the current player level.
[0345] Step 902: Determine whether to upgrade the current player level using the probability visualization chart.
[0346] If the player decides to upgrade the current player level, the subsequent step 903 is executed.
[0347] If the player decides that the current player level does not need to be upgraded, the subsequent step 904 is executed.
[0348] Step 903: The player performs an upgrade operation.
[0349] The player clicks the upgrade control to increase the current player level.
[0350] Step 904: Trigger the probability visualization chart, and the game client displays a probability details introduction interface.
[0351] The probability details interface includes the corresponding acquisition probability of cards of various card qualities at all player levels.
[0352] Step 905: Continue to determine whether the game benefits brought by staying at the current player level are greater than the costs of upgrading.
[0353] If the game benefits are greater than the cost of upgrading, execute step 901.
[0354] If the game revenue brought about is less than the cost of upgrading, step 903 is executed.
[0355] In the embodiments of the present application, a visual chart is used to display the probability of obtaining cards of various card qualities in a turn-based chess game. This can intuitively convey the probability ratios of obtaining cards of different card qualities at the current player level. Compared to traditional turn-based chess games that display the corresponding probability of obtaining chess pieces of all qualities in the form of numerical values, this saves the user the process of performing ratio analysis based on multiple numerical values, and to a certain extent improves the efficiency of obtaining card information for users.
[0356] On the other hand, the multiple acquisition probabilities corresponding to cards of multiple card qualities are simplified and displayed in a visual chart, which reduces the display complexity of the game interface to a certain extent.
[0357] Combined with reference Figure 24 , Figure 25 A schematic diagram of the corresponding implementation logic of an interface display provided by an embodiment of the present application is shown. The method includes a user side and a game client side, wherein the game client side includes a presentation layer and a logic layer. The method includes steps 1000 to 1009.
[0358] Step 1000: The player checks the probability ratio of cards of various card qualities based on the game situation and decides whether to upgrade.
[0359] Players check the probability ratio of cards of various card qualities based on the actual situation of the game.
[0360] Optionally, the probability visualization chart corresponding to step 410 and step 420 is displayed in any game interface during the game. The probability size can be quickly determined by the area ratio occupied by each chart unit in the probability visualization chart.
[0361] Step 1001: The player clicks on the level upgrade control, and the game client presentation layer displays a probability visualization chart.
[0362] Step 1002: The player obtains the probability ratio of obtaining cards of various qualities at various player levels through a probability visualization chart.
[0363] Step 1003: The player determines that the information is sufficient based on the probability of obtaining the information and makes a decision.
[0364] Step 1004: Based on the acquisition probability percentage, the player determines that the information is insufficient and needs to further view the upgraded probability visualization chart.
[0365] Step 1005: The player clicks on the probability visualization chart to open the probability details interface.
[0366] Step 1006: The game client presentation layer displays the probability details interface through a panel.
[0367] Step 1007: The player determines to upgrade the current player level.
[0368] Step 1008: The game client receives the operation to upgrade the current player level.
[0369] Step 1009: The game client presentation layer sends the promotion operation to the game client logic layer, and the game client logic layer processes the game match.
[0370] Through the above process, probability values are displayed in the form of a probability visualization chart, providing players with a more concise and efficient probability display module. If players do not need to view probabilities when viewing the interface containing the probability visualization chart, they will be less distracted by the probability information. When players do need to view probabilities, they can achieve more detailed and precise divisions based on the viewing level. If they only want to view a rough probability ratio, the first-level probability visualization chart is a good solution, allowing them to intuitively see the proportions and relationships between the qualities of each card. Further viewing of specific values is generally intended to compare the probability changes between different levels. Clicking the probability visualization chart displays the probability value corresponding to the current player level and the specific change in probability value after upgrading, providing an intuitive before-and-after comparison. By dividing the player's upgrade needs into multiple levels, different probability information is available at different levels, improving the efficiency of user access to card information while reducing the complexity of the interface display.
[0371] See Figure 26 , which shows a structural block diagram of an interface display device provided by an exemplary embodiment of the present application, and the device includes a display module 1100.
[0372] Display module 1100, for displaying a game interface of a turn-based chess game, the game interface including a probability visualization chart, the probability visualization chart for displaying at least one card quality, the at least one card quality including the card quality of the cards available to the current player at the current chess player level;
[0373] The display module 1100 is further configured to display, in the probability visualization chart, a chart unit corresponding to each card quality in the at least one card quality, wherein the area ratio of each chart unit is positively correlated with the probability of the current object obtaining the corresponding card quality, and the area ratio refers to the proportion of the total area occupied by the at least one chart unit, and the at least one chart unit corresponds one-to-one to the at least one card quality.
[0374] In an optional embodiment, the probability visualization chart is a bar chart, and the at least one card quality includes multiple card qualities;
[0375] The display module 1100 is further configured to display, in the bar chart, a plurality of bar units connected one by one along a specified direction, wherein the plurality of bar units correspond one to one with the plurality of card qualities;
[0376] The display module 1100 is further configured to display, for a first bar unit among the plurality of bar units, the first bar unit having a first length ratio, wherein the magnitude of the first length ratio is positively correlated with a probability of obtaining a first card quality, the first card quality being the card quality corresponding to the first bar unit, and the first bar unit being any one of the plurality of bar units.
[0377] In an optional embodiment, if Figure 27 As shown, the device further includes an acquisition module 1101 and a drawing module 1102 .
[0378] An acquisition module 1101 is configured to acquire a probability of acquiring the first card quality and obtain a first probability value;
[0379] A drawing module 1102 is configured to determine the first probability value as a length ratio of the first bar unit to obtain the first length ratio; and draw the first bar unit according to the first length ratio;
[0380] The acquisition module 1101 is further configured to determine a first probability range in which the first probability value is located, the first probability range corresponding to a second probability value; and determine the second probability value as a length ratio of the first bar unit to obtain the first length ratio.
[0381] In an optional embodiment, if Figure 27 As shown, the probability visualization chart is a ring chart, and the at least one card quality includes multiple card qualities;
[0382] The display module 1100 is further configured to display, in the annular chart, a plurality of annular units that are spliced one by one with the center of the annular chart as the center point, wherein the plurality of annular units correspond one to one with the plurality of card qualities;
[0383] The display module 1100 is further configured to display, for a second annular unit among the plurality of annular units, the second annular unit having a second arc length ratio, wherein the magnitude of the second arc length ratio is positively correlated with a probability of obtaining a second card quality, the second card quality being the card quality corresponding to the second annular unit, and the second annular unit being any one of the plurality of annular units.
[0384] In an optional embodiment, if Figure 27 As shown, the acquisition module 1101 is further used to obtain the probability of obtaining the second card quality to obtain a third probability value;
[0385] The drawing module 1102 is further configured to determine the third probability value as the arc length ratio of the second annular unit to obtain the second arc length ratio; and draw the second annular unit according to the second arc length ratio;
[0386] The acquisition module 1101 is further used to determine a second probability range in which the third probability value is located, where the second probability range corresponds to a fourth probability value; determine the fourth probability value as the arc length ratio of the second annular unit to obtain the second arc length ratio; and draw the second annular unit according to the second arc length ratio.
[0387] In an optional embodiment, for any one of the at least one chart unit, a fill color of the chart unit is displayed, and the fill color is consistent with the card quality color corresponding to the chart unit.
[0388] In an optional embodiment, if Figure 27 As shown, the turn-based chess game provides multiple player levels and multiple card qualities, and the distribution of the probability of obtaining any two player levels in the multiple card qualities is different; the display module 1100 is also used to display multiple probability values in the form of a numerical list in response to receiving a trigger operation on the probability visualization chart, each probability value in the multiple probability values corresponds to a two-tuple, and the two-tuple includes the player level and the card quality.
[0389] In an optional embodiment, if Figure 27 As shown, the display module 1100 is further used to highlight the probability value corresponding to the current player level in the value list.
[0390] In an optional embodiment, if Figure 27 As shown, in the value list, the probability value corresponding to the current player level is highlighted, including at least one of the following methods: highlighting the probability value corresponding to the current player level; bolding the probability value corresponding to the current player level; flashing the probability value corresponding to the current player level; framing the probability value corresponding to the current player level.
[0391] In an optional embodiment, if Figure 27 As shown, the display module 1100 is further used to display an upgrade control, and the upgrade control is used to upgrade the current chess player level;
[0392] The adjustment module 1103 is configured to dynamically adjust the probability visualization chart in response to receiving a trigger operation on the upgrade control to obtain an updated probability visualization chart.
[0393] In an optional embodiment, if Figure 27 As shown, the adjustment module 1103 is further configured to, in response to receiving a trigger operation on the upgrade control, gradually increase or decrease the area ratio of the common chart units, wherein the common chart units are chart units that exist both before and after the current player's level is upgraded;
[0394] The adjusting module 1103 is further configured to gradually increase the area ratio of the first chart unit, wherein the first chart unit is a chart unit that is not present before the current player's level is upgraded but is present after the current player's level is upgraded;
[0395] The adjustment module 1103 is further configured to gradually reduce the area proportion of the second chart unit, where the second chart unit is a chart unit that the current player has before the level upgrade but does not have after the level upgrade.
[0396] In an optional embodiment, if Figure 27 As shown, the playing module 1104 is used to play the dissipation animation effect of the probability visualization chart in response to receiving a trigger operation on the upgrade control to cancel the display of the probability visualization chart; and, at the position of the probability visualization chart, play the appearance animation effect of the probability visualization chart corresponding to the next chess player level to display the updated probability visualization chart.
[0397] In an optional embodiment, if Figure 27 As shown, the display module 1100 is also used to display a preview probability visualization chart around the probability visualization chart. The preview probability visualization chart is a visualization chart of the probability corresponding to the recommended chess player level. The recommended chess player level is the chess player level recommended by the game system based on the game situation of the current object.
[0398] In an optional embodiment, if Figure 27 As shown, the acquisition module 1101 is further configured to acquire chess piece information of chess pieces existing on the own chessboard area and card information of cards existing on the hand area of the turn-based chess game;
[0399] The acquisition module 1101 is further configured to input the chess piece information and the card information into a level prediction neural network to obtain the recommended chess player level.
[0400] In an optional embodiment, if Figure 27As shown, the chess piece information includes a chess piece category identifier and chess piece position coordinates, and the card information includes a card category identifier; the acquisition module 1101 is further configured to encode the chess piece category identifier of any chess piece present in the own chessboard area to obtain a first category representation; encode the chess piece position coordinates of the chess piece to obtain a first position representation; add the first category representation to the first position representation to obtain a chess piece representation of the chess piece; and concatenate the chess piece representations of each chess piece present in the own chessboard area to obtain a chessboard representation;
[0401] The acquisition module 1101 is further configured to encode the card category identifier of any card present in the hand area to obtain a second category representation; and to concatenate the second category representations of each card present in the hand area to obtain a hand representation;
[0402] The acquisition module 1101 is further configured to combine the board representation and the hand representation to obtain an input representation; and predict the recommended player level based on the input representation.
[0403] In an optional embodiment, if Figure 27 As shown, the acquisition module 1101 is further used to obtain a statistical association relationship, wherein the association relationship includes the highest probability of winning when both being in the first representation range and the first player level;
[0404] The acquisition module 1101 is further configured to query and determine whether the input representation falls within the first representation range;
[0405] The acquisition module 1101 is further configured to determine the first chess player level corresponding to the first representation range as the recommended chess player level;
[0406] The acquisition module 1101 is further configured to output the recommended player level.
[0407] The device provided in the embodiments of the present application displays the probability of obtaining cards of various card qualities in a turn-based chess game in the form of a visual chart, intuitively conveying the probability ratios of obtaining cards of different card qualities at the current player level. Compared to traditional turn-based chess games that display the corresponding probability of obtaining chess pieces of all qualities in the form of numerical values, this saves users the process of performing ratio analysis based on multiple numerical values, and to a certain extent improves the efficiency of users in obtaining card information.
[0408] On the other hand, the multiple acquisition probabilities corresponding to cards of multiple card qualities are simplified and displayed in a visual chart, which reduces the display complexity of the game interface to a certain extent.
[0409] Figure 281 is a schematic diagram illustrating the structure of a server according to an exemplary embodiment. The server 1200 includes a central processing unit (CPU) 1201, a system memory 1204 including a random access memory (RAM) 1202 and a read-only memory (ROM) 1203, and a system bus 1205 connecting the system memory 1204 and the CPU 1201. The server 1200 also includes a basic input / output system (I / O system) 1206 for facilitating information transmission between various components within the server, and a mass storage device 1207 for storing an operating system 1213, application programs 1214, and other program modules 1215.
[0410] The basic input / output system 1206 includes a display 1208 for displaying information and an input device 1209, such as a mouse and keyboard, for user input. Both the display 1208 and the input device 1209 are connected to the central processing unit 1201 via an input / output controller 1210 connected to the system bus 1205. The basic input / output system 1206 may also include an input / output controller 1210 for receiving and processing input from a variety of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1210 also provides output to a display screen, printer, or other types of output devices.
[0411] The mass storage device 1207 is connected to the central processing unit 1201 via a mass storage controller (not shown) connected to the system bus 1205. The mass storage device 1207 and its associated server-readable medium provide non-volatile storage for the server 1200. In other words, the mass storage device 1207 may include a server-readable medium (not shown) such as a hard disk or a Compact Disc Read-Only Memory (CD-ROM) drive.
[0412] Without loss of generality, the computer device readable medium may include computer device storage media and communication media. Computer device storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer device readable instructions, data structures, program modules or other data. Computer device storage media include RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), CD-ROM, Digital Video Disc (DVD) or other optical storage, tape cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer device storage media is not limited to the above-mentioned ones. The above-mentioned system memory 1204 and mass storage device 1207 can be collectively referred to as memory.
[0413] According to various embodiments of the present disclosure, the server 1200 may also be connected to a remote computer device on a network such as the Internet for operation. That is, the server 1200 may be connected to the network 1211 via a network interface unit 1212 connected to the system bus 1205, or the network interface unit 1212 may be used to connect to other types of networks or remote computer device systems (not shown).
[0414] The memory also includes one or more programs, which are stored in the memory. The central processing unit 1201 implements all or part of the steps of the above-mentioned model training method or behavior coding method by executing the one or more programs.
[0415] Figure 14The following is a block diagram of the structure of a computer device 1300 provided by an exemplary embodiment of the present application. The computer device 1300 can be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer, or a desktop computer. The computer device 1300 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names. Optionally, the computer device 1300 can also be implemented as a movable device, such as a mobile smart terminal such as a vehicle-mounted terminal.
[0416] Typically, the computer device 1300 includes a processor 1301 and a memory 1302 .
[0417] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1301 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0418] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one instruction, which is used to be executed by the processor 1301 to implement the model training method or behavior coding method provided in the method embodiment of the present application.
[0419] In some embodiments, computer device 1300 may optionally include a peripheral device interface 1303 and at least one peripheral device. Processor 1301, memory 1302, and peripheral device interface 1303 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 1303 via a bus, signal lines, or circuit boards. For example, the peripheral device may include at least one of a radio frequency circuit 1304, a display screen 1305, a camera assembly 1306, an audio circuit 1307, and a power supply 1308.
[0420] The peripheral device interface 1303 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 1301 and the memory 1302. In some embodiments, the processor 1301, the memory 1302, and the peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1301, the memory 1302, and the peripheral device interface 1303 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0421] The RF circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1304 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 1304 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The RF circuit 1304 can communicate with other terminals via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1304 may also include circuitry related to Near Field Communication (NFC), although this application does not limit this.
[0422] The display screen 1305 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1305 is a touch screen display, the display screen 1305 also has the ability to collect touch signals on the surface or above the surface of the display screen 1305. The touch signal can be input as a control signal to the processor 1301 for processing. In this case, the display screen 1305 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there can be one display screen 1305, which is set on the front panel of the computer device 1300; in other embodiments, there can be at least two display screens 1305, which are respectively set on different surfaces of the computer device 1300 or in a folding design; in other embodiments, the display screen 1305 can be a flexible display screen, which is set on the curved surface or folding surface of the computer device 1300. Even more, the display screen 1305 can be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1305 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0423] The camera assembly 1306 is used to capture images or videos. Optionally, the camera assembly 1306 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1306 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0424] The audio circuit 1307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 1301 for processing, or input into the radio frequency circuit 1304 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in different parts of the computer device 1300. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert electrical signals from the processor 1301 or the radio frequency circuit 1304 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for purposes such as distance measurement. In some embodiments, the audio circuit 1307 may also include a headphone jack.
[0425] Power supply 1308 is used to power various components in computer device 1300. Power supply 1308 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1308 includes a rechargeable battery, the rechargeable battery can be wired or wirelessly rechargeable. A wired rechargeable battery is charged via a wired line, while a wireless rechargeable battery is charged via a wireless coil. The rechargeable battery can also support fast charging technology.
[0426] In some embodiments, the computer device 1300 further includes one or more sensors 1309 , including but not limited to an acceleration sensor 1310 , a gyroscope sensor 1311 , a pressure sensor 1312 , an optical sensor 1313 , and a proximity sensor 1314 .
[0427] The accelerometer 1310 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the computer device 1300. For example, the accelerometer 1310 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 1301 can control the display screen 1305 to display the user interface in either a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 1310. The accelerometer 1310 can also be used to collect game or user motion data.
[0428] The gyroscope sensor 1311 can detect the orientation and rotation angle of the computer device 1300. It can also work with the accelerometer 1310 to collect 3D motions of the user on the computer device 1300. Based on the data collected by the gyroscope sensor 1311, the processor 1301 can implement the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0429] The pressure sensor 1312 can be installed on the side frame of the computer device 1300 and / or below the display screen 1305. When the pressure sensor 1312 is installed on the side frame of the computer device 1300, it can detect the user's grip signal of the computer device 1300. The processor 1301 can perform left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 1312. When the pressure sensor 1312 is installed below the display screen 1305, the processor 1301 controls the operational controls on the UI interface based on the user's pressure operation on the display screen 1305. The operational controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0430] Optical sensor 1313 is used to detect ambient light intensity. In one embodiment, processor 1301 can control the display brightness of display screen 1305 based on the ambient light intensity detected by optical sensor 1313. For example, when the ambient light intensity is high, the display brightness of display screen 1305 is increased; when the ambient light intensity is low, the display brightness of display screen 1305 is decreased. In another embodiment, processor 1301 can also dynamically adjust the shooting parameters of camera assembly 1306 based on the ambient light intensity detected by optical sensor 1313.
[0431] Proximity sensor 1314, also known as a distance sensor, is typically located on the front panel of computer device 1300. Proximity sensor 1314 is used to detect the distance between the user and the front of computer device 1300. In one embodiment, when proximity sensor 1314 detects that the distance between the user and the front of computer device 1300 is gradually decreasing, processor 1301 controls display screen 1305 to switch from a screen-on state to a screen-off state. When proximity sensor 1314 detects that the distance between the user and the front of computer device 1300 is gradually increasing, processor 1301 controls display screen 1305 to switch from a screen-off state to a screen-on state.
[0432] Those skilled in the art will understand that Figure 13 The structure shown in the figure does not constitute a limitation on the computer device 1300, and the computer device 1300 may include more or fewer components than shown in the figure, or combine some components, or adopt a different component arrangement.
[0433] The present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, code set or instruction set. The at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the interface display method provided by the above method embodiment.
[0434] The present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the interface display method provided in the above method embodiment.
[0435] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0436] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. An interface display method, characterized in that: The method comprises: Displaying a game interface of a turn-based chess game, the game interface including a probability visualization chart, the probability visualization chart being used to display at least one card quality, the at least one card quality including the card quality of cards available to the current subject at the current chess player level; The probability visualization chart displays a chart unit corresponding to each card quality of the at least one card quality, wherein an area ratio of each chart unit is positively correlated with a probability of the current object obtaining the corresponding card quality, and the area ratio refers to a proportion of a total area occupied by at least one chart unit, and the at least one chart unit corresponds one-to-one to the at least one card quality.
2. The method according to claim 1, characterized in that The probability visualization chart is a bar chart, and the at least one card quality includes multiple card qualities; The displaying of the chart unit corresponding to each card quality of the at least one card quality in the probability visualization chart includes: In the bar chart, a plurality of bar units are presented that are spliced one by one along a specified direction, and the plurality of bar units correspond one to one with the plurality of card qualities; For a first bar unit among the multiple bar units, the first bar unit having a first length ratio is displayed, wherein the size of the first length ratio is positively correlated with the probability of obtaining a first card quality, the first card quality is the card quality corresponding to the first bar unit, and the first bar unit is any one of the multiple bar units.
3. The method according to claim 2, characterized in that The display of the first bar unit having a first length ratio includes: Obtaining a probability of obtaining the first card quality to obtain a first probability value; Determining the first probability value as the length ratio of the first bar unit to obtain the first length ratio; drawing the first bar unit according to the first length ratio; or, Determine a first probability range in which the first probability value is located, where the first probability range corresponds to a second probability value; determine the second probability value as a length ratio of the first bar unit to obtain the first length ratio.
4. The method according to claim 1, wherein The probability visualization chart is a ring chart, and the at least one card quality includes multiple card qualities; The displaying of the chart unit corresponding to each card quality of the at least one card quality in the probability visualization chart includes: In the annular chart, a plurality of annular units are presented, which are spliced one by one with the center of the annular chart as the center point, and the plurality of annular units correspond one to one with the plurality of card qualities; For a second annular unit among the multiple annular units, the second annular unit having a second arc length ratio is displayed, wherein the size of the second arc length ratio is positively correlated with the probability of obtaining a second card quality, the second card quality is the card quality corresponding to the second annular unit, and the second annular unit is any one of the multiple annular units.
5. The method according to claim 4, characterized in that The second annular unit having a second arc length ratio includes: Obtaining a probability of obtaining the second card quality to obtain a third probability value; Determine the third probability value as the arc length ratio of the second annular unit to obtain the second arc length ratio; and draw the second annular unit according to the second arc length ratio; or, Determine a second probability range in which the third probability value lies, where the second probability range corresponds to a fourth probability value; determine the fourth probability value as the arc length ratio of the second annular unit to obtain the second arc length ratio; and draw the second annular unit according to the second arc length ratio.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: For any one of the at least one chart unit, a fill color of the chart unit is displayed, and the fill color is consistent with a card quality color corresponding to the chart unit.
7. The method according to any one of claims 1 to 5, characterized in that: The turn-based chess game provides multiple player levels and multiple card qualities, and any two player levels in the multiple player levels have different distributions of acquisition probabilities among the multiple card qualities; The method further comprises: In response to receiving a trigger operation on the probability visualization chart, multiple probability values are displayed in the form of a value list, each of the multiple probability values corresponds to a two-tuple, and the two-tuple includes the chess player level and the card quality.
8. The method according to claim 7, characterized in that The method further comprises: In the numerical value list, the probability value corresponding to the current player level is highlighted.
9. The method according to claim 8, characterized in that In the value list, highlighting the probability value corresponding to the current player level includes at least one of the following methods: Highlight the probability value corresponding to the current player level; The probability value corresponding to the current player level is bolded; Flashing the probability value corresponding to the current chess player level; Frame the probability value corresponding to the current player level.
10. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Displaying an upgrade control, wherein the upgrade control is used to upgrade the current chess player level; In response to receiving a triggering operation on the upgrade control, the probability visualization chart is dynamically adjusted to obtain an updated probability visualization chart.
11. The method according to claim 10, characterized in that In response to receiving a triggering operation on the upgrade control, dynamically adjusting the probability visualization chart includes: In response to receiving a trigger operation on the upgrade control, gradually increasing or decreasing the area ratio of the shared chart units, the shared chart units being chart units that exist both before and after the current player's level is upgraded; For a first chart unit, gradually increasing the area ratio of the first chart unit, wherein the first chart unit is a chart unit that the current player does not have before the player's level is upgraded but has after the player's level is upgraded; For the second chart unit, the area proportion of the second chart unit is gradually reduced. The second chart unit is a chart unit that the current player level has before upgrading but not after upgrading.
12. The method according to claim 10, characterized in that In response to receiving a triggering operation on the upgrade control, dynamically adjusting the probability visualization chart to obtain an updated probability visualization chart, the method includes: In response to receiving a trigger operation on the upgrade control, playing a dissipation animation effect of the probability visualization chart to cancel display of the probability visualization chart; Furthermore, at the position of the probability visualization chart, an animation effect of the probability visualization chart corresponding to the next player level is played to display the updated probability visualization chart.
13. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: A preview probability visualization chart is displayed around the probability visualization chart. The preview probability visualization chart is a visualization chart of the probabilities corresponding to the recommended player levels. The recommended player levels are the player levels recommended by the game system based on the game situation of the current object.
14. The method according to claim 13, characterized in that The method further comprises: Obtaining chess piece information of chess pieces on the own chessboard area and card information of cards on the hand area of the turn-based chess game; The chess piece information and the card information are input into a level prediction neural network to obtain the recommended chess player level.
15. The method according to claim 14, characterized in that The chess piece information includes chess piece category identification and chess piece position coordinates, and the card information includes card category identification; The step of inputting the chess piece information and the card information into a level prediction neural network to obtain the recommended chess player level includes: For any chess piece on the own chessboard area, encode the chess piece category identifier of the chess piece to obtain a first category representation; encode the chess piece position coordinates of the chess piece to obtain a first position representation; add the first category representation to the first position representation to obtain a chess piece representation of the chess piece; and concatenate the chess piece representations of each chess piece on the own chessboard area to obtain a chessboard representation; For any card present in the hand area, encode the card category identifier of the card to obtain a second category representation; and concatenate the second category representations of each card present in the hand area to obtain a hand representation; The chess board representation and the hand representation are concatenated to obtain an input representation; and the recommended chess player level is predicted based on the input representation.
16. The method according to claim 15, characterized in that The step of predicting the recommended chess player level based on the input representation includes: Obtaining a correlation relationship through statistics, wherein the correlation relationship includes that the probability of final winning is highest when both being in the first characterization range and the first player level; querying to determine whether the input representation falls within the first representation range; Determining the first chess player level corresponding to the first representation range as the recommended chess player level; Output the recommended player level.
17. An interface display device, characterized in that: The device comprises: A display module, configured to display a game interface of a turn-based chess game, the game interface including a probability visualization chart, the probability visualization chart being configured to display at least one card quality, the at least one card quality including the card quality of cards available to the current player at the current chess player level; The display module is further configured to display, in the probability visualization chart, a chart unit corresponding to each card quality of the at least one card quality, wherein the area ratio of each chart unit is positively correlated with the probability of the current object obtaining the corresponding card quality, and the area ratio refers to the proportion of the total area occupied by the at least one chart unit, and the at least one chart unit corresponds one-to-one to the at least one card quality.
18. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the interface display method according to any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the interface display method according to any one of claims 1 to 16.
20. A computer program product, characterized in that The computer program product stores a computer program, and the computer program is loaded and executed by a processor to implement the interface display method according to any one of claims 1 to 16.