CN112915529B - Method, device, terminal and storage medium for acquiring chessman role - Google Patents

Method, device, terminal and storage medium for acquiring chessman role Download PDF

Info

Publication number
CN112915529B
CN112915529B CN202110357761.2A CN202110357761A CN112915529B CN 112915529 B CN112915529 B CN 112915529B CN 202110357761 A CN202110357761 A CN 202110357761A CN 112915529 B CN112915529 B CN 112915529B
Authority
CN
China
Prior art keywords
target
role
chess
chess piece
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110357761.2A
Other languages
Chinese (zh)
Other versions
CN112915529A (en
Inventor
张雅
林琳
梁皓辉
钱杉杉
陈印超
文晗
李熠琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110357761.2A priority Critical patent/CN112915529B/en
Publication of CN112915529A publication Critical patent/CN112915529A/en
Application granted granted Critical
Publication of CN112915529B publication Critical patent/CN112915529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method, a device, a terminal and a storage medium for acquiring chess roles, and belongs to the field of human-computer interaction. The method comprises the following steps: displaying a fighting chessboard and a chess role refreshing area, wherein the fighting chessboard comprises a fighting area and a standby area, the chess role refreshing area comprises at least one candidate chess role, the candidate chess role in the chess role refreshing area supports refreshing, and the candidate chess role is added to the standby area to become a standby chess role; setting the acquisition mode of the target chess role to be automatically acquired in response to the setting operation of the target chess role in the chess role refreshing area; and responding to the update of the candidate chess piece roles in the chess piece role updating area, wherein the updated candidate chess piece roles comprise the target chess piece role, and automatically adding the target chess piece role to the fighting area. Unnecessary repeated recommendation logic of the terminal is reduced, and processing power consumption of the terminal can be effectively reduced.

Description

Method, device, terminal and storage medium for acquiring chessman role
Technical Field
The present application relates to the field of human-computer interaction, and in particular, to a method, an apparatus, a terminal, and a storage medium for acquiring a chessman role.
Background
Self-moving chess is an emerging chess game, and after a player places virtual characters (generally called 'chess pieces') on a chessboard, a game application program automatically controls the chess pieces to play against and outputs a fighting result. The players match and culture the chess pieces formation to face the opponent formation, the victims deduct the life value, and the rank is determined according to the elimination sequence.
In the game-playing process, the players in the game share the same card pool, the number of the chessmen in the card pool is limited, each round of players can preview and purchase five chessmen, meanwhile, the players can refresh the previewed chessmen through the D card, and the purchased chessmen can be used in game-playing. In the related art, the user can purchase the chess pieces based on the recommendation, that is, when the terminal displays the preview chess piece area, the recommendation must be purchased, and the chess pieces are highlighted or checked, so that the user can purchase the chess pieces based on the recommendation.
Obviously, in the process of purchasing the chessmen in the related art, after the terminal detects that the candidate chessman roles are updated, whether each candidate chessman role meets the recommendation requirement is judged based on the recommendation logic, then the chessman must be purchased for the user, and if the number of times of refreshing is too many, the processing power consumption of the terminal is obviously increased.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for acquiring chess roles. The processing power consumption of the terminal can be reduced, and the technical scheme is as follows:
according to an aspect of the application, there is provided a method for obtaining a chessman character, the method comprising:
displaying a battle chessboard and a chess piece character refreshing area, wherein the battle chessboard comprises a battle area and a standby area, the chess piece character refreshing area comprises at least one candidate chess piece character, the candidate chess piece character in the chess piece character refreshing area supports refreshing, and the candidate chess piece character is added to the standby area to become a standby chess piece character;
setting an acquisition mode of a target chess role to be automatically acquired in response to a setting operation of the target chess role in the chess role refreshing area;
in response to the candidate chess piece roles in the chess piece role refresh area being updated and the updated candidate chess piece roles including the target chess piece role, automatically adding the target chess piece role to the standby area.
According to another aspect of the application, an apparatus for obtaining a chess character is provided, the apparatus comprising:
the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a fighting chessboard and a chess role refreshing area, the fighting chessboard comprises a fighting area and a standby area, the chess role refreshing area comprises at least one candidate chess role, the candidate chess role in the chess role refreshing area supports refreshing, and the candidate chess role is added to the standby area to become a standby chess role;
a first setting module, configured to set, in response to a setting operation on a target chess role in the chess role refresh area, an acquisition mode of the target chess role to be automatically acquired;
a first adding module, configured to, in response to that the candidate chess piece roles in the chess piece role refresh area are updated and the updated candidate chess piece roles include the target chess piece role, automatically add the target chess piece role to the standby area.
According to another aspect of the application, a terminal is provided, the terminal comprising a processor and a memory, the memory having stored therein at least one program, the at least one program being loaded and executed by the processor to implement the method of obtaining a pawn character as described above.
According to another aspect of the application, a computer-readable storage medium is provided, in which at least one program is stored, which is loaded and executed by a processor to implement the method of obtaining a pawn character as described above.
According to another aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the terminal performs the method for acquiring a pawn character as described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the automatic chess piece purchasing function is provided in the chess piece role acquiring process, namely, a user can set the acquiring mode corresponding to the target chess piece role as automatic acquiring, so that the target chess piece role is automatically added to the fighting area when the target chess piece role is refreshed subsequently; the acquisition mode of the chessman role which needs to be bought (or other chessman roles which need to be bought repeatedly) is set as automatic acquisition, on one hand, a user does not need to repeatedly judge whether the chessman role needs to be bought or not when the user refreshes the target chessman role, and on the other hand, the repeated acquisition operation of the chessman role is not needed correspondingly, so that the efficiency of the user for acquiring the target chessman role is improved; meanwhile, in the limited game preparation stage, the user can not need to pay attention to the chess role set to be automatically acquired, so that more time is saved for thinking whether to acquire the unnecessary chess role or not, and the operation burden of the user in the game preparation stage is further reduced; on the other hand, the terminal does not need to sequentially judge whether the role of each candidate chess piece meets the requirement of recommending chess pieces every time the terminal detects refreshing, unnecessary repeated recommending logic is reduced, and the processing power consumption of the terminal can be effectively reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of a game play screen provided in an exemplary embodiment of the present application;
FIG. 2 is a block diagram of a computer system provided in an exemplary embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for obtaining a chessman role according to an exemplary embodiment of the present application;
figure 4 shows a schematic diagram of a process for automatically obtaining a target pawn character, according to an exemplary embodiment of the application;
FIG. 5 is a flow chart of a method for obtaining a pawn character according to another exemplary embodiment of the application;
FIG. 6 is a diagram illustrating a setup process for an automatic acquisition mode according to an exemplary embodiment of the present application;
FIG. 7 is a diagram illustrating a display process of a get status interface in accordance with an illustrative embodiment of the present application;
FIG. 8 is a flow chart illustrating a method for obtaining a pawn character according to another exemplary embodiment of the application;
figure 9 shows a schematic diagram of a process for automatically purchasing a target pawn character, according to an exemplary embodiment of the application;
FIG. 10 is a flow chart illustrating a method for obtaining a pawn character according to another exemplary embodiment of the application;
FIG. 11 is a flow chart illustrating a method for obtaining a pawn character according to another exemplary embodiment of the application;
FIG. 12 is a flow chart illustrating a method for obtaining a pawn character according to another exemplary embodiment of the application;
fig. 13 is a schematic structural diagram of an obtaining apparatus for a chess character according to an exemplary embodiment of the present application;
fig. 14 shows a block diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms referred to in the embodiments of the present application are described:
self-chess moving: the chess game is characterized in that the chess pieces are arranged in advance before the chess game is in match, and the chess pieces can be automatically matched according to the preset arrangement in the match process. "chess pieces" are usually represented by virtual characters, and during the fight process, the virtual characters automatically release various skills to fight. The battle usually adopts a turn system, when the 'chess pieces' of one party of the battle completely casually (namely, the life value of the virtual character is reduced to zero), the party is the loser of the battle. In some embodiments, in addition to the "chess piece type virtual characters" for performing the match, the two parties of the match are respectively provided with a virtual character for representing the users participating in the match, the virtual characters can not move to the match area or the reserve area as the "chess pieces", the virtual characters are also provided with life values (or blood volumes), the life values of the virtual characters are correspondingly reduced (match failure) or unchanged (match winning) according to the match result of each match, when the life values of the virtual characters are reduced to zero, the users corresponding to the virtual characters quit the match, and the rest users continue the match.
A chessboard: the self-propelled chess game fighting interface is an area for preparing and fighting, and the chessboard can be any one of a two-dimensional virtual chessboard, a 2.5-dimensional virtual chessboard and a three-dimensional virtual chessboard, which is not limited in the application.
The board is divided into a battle area and a reserve area. The fighting region comprises a plurality of fighting chess grids with the same size, and the fighting chess grids are used for placing fighting chesses for fighting in the fighting process; the fighting area comprises a plurality of fighting chessmen grids for placing fighting chessmen, the fighting chessmen do not participate in fighting in the fighting process, and can be dragged and placed in the fighting area in the preparation stage. The embodiment of the application takes the example that the fighting chessman characters comprise chessman characters located in a fighting area and chessman characters located in a standby area as an example.
Regarding the arrangement of the grids in the battle area, in some embodiments, the battle area includes n (rows) × m (columns) battle grids, schematically, n is an integer multiple of 2, and two adjacent rows of grids are aligned, or two adjacent rows of grids are staggered. In addition, the fight area is divided into two parts according to the row, namely a local fight area and an enemy fight area, users participating in the fight are respectively positioned on the upper side and the lower side of the fight interface, and in the preparation stage, the users can only place the chessmen in the local fight area. In other embodiments, the fight region is divided into two parts according to the column, namely a self fight region and an enemy fight region, and the users participating in the fight are respectively positioned on the left side and the right side of the fight interface. The shape of the chess grids can be any one of square, rectangle, circle and hexagon, and the shape of the chess grids is not limited in the embodiment of the application.
In some embodiments, the battle grid is always displayed in the board, in other embodiments, the battle grid is displayed when the user lays out the battle pieces, and the battle grid is not displayed when the battle pieces are placed in the grid.
Schematically, as shown in fig. 1, the battle chessboard 11 in the battle interface comprises a battle area 111 and a battle area 112, wherein the battle area 112 comprises 3 × 7 battle chess grids, the chess grids are hexagonal in shape, two adjacent rows of chess grids are staggered, and the battle area 111 comprises 9 battle chess grids.
Virtual roles: refers to pieces placed on a chessboard in a self-propelled chess game, and comprises a fighting piece role and candidate piece roles in a candidate piece role list (namely candidate piece roles in a virtual shop), wherein the fighting piece roles comprise a piece role positioned in a fighting area and a piece role positioned in a standby area. The virtual character can be a virtual chess piece, a virtual character, a virtual animal, an animation character and the like, and the virtual character can be displayed by adopting a three-dimensional model. The candidate chessman role can be combined with the fighting chessman role of the user to trigger the gain fighting effect, and can also be independently used as the chessman role to participate in the chess game fighting.
Alternatively, the position of the characters of the combo pieces on the board may be changed. In the preparation stage, the user can adjust the position of the chessman characters in the fighting area, adjust the position of the chessman characters in the standby area, move the chessman characters in the fighting area to the standby area (when the standby area has free standby chess grids), or move the chessman characters in the standby area to the fighting area. It should be noted that the positions of the chessman characters in the arming area can also be adjusted during the fighting phase.
Optionally, in the fighting stage, the chessman characters are located at different positions in the fighting area from the preparation stage. For example, in the fighting stage, the chessman role can automatically move from the fighting area of the opponent to the fighting area of the enemy, and attack the chessman role of the enemy; alternatively, the chessman character may automatically move from the A position of the own match area to the B position of the own match area.
Furthermore, in the preparation phase, the chess piece characters can only be arranged in the own fighting area, and the chess piece characters arranged by the enemy are not visible on the chessboard.
For the acquisition of the battle chessman characters, in some embodiments, during the course of the game, the user may purchase the chessman characters using virtual currency during the preparation phase.
It should be noted that in some embodiments, virtual characters, which may be virtual characters, virtual animals, cartoon characters, etc., are used to represent users participating in a battle, and the following embodiments name such virtual characters as player virtual characters or user virtual characters.
Schematically, as shown in fig. 1, a first battle chess character 111a, a second battle chess character 111b and a third battle chess character 111c are displayed in the battle area 112, and a first battle preparation chess character 112a, a second battle preparation chess character 112b and a third battle preparation chess character 112c are displayed in the battle area 111. A player virtual character 113 is displayed beside the battle area and the reserve area.
The attribute is as follows: each of the pawn characters in the self-walking game has respective attributes, which include at least two of the following attributes: the embodiment of the present application does not limit the specific types of attributes, such as the campsite to which the chessman role belongs (e.g., a league, B league, zhongpai, etc.), the profession of the chessman role (e.g., soldier, shooter, juridical, stabber, guard, swordsman, gunman, fighter, etc.), the attack type of the chessman role (e.g., magic, physical, etc.), the identity of the chessman role (e.g., noble, devil, sprite, etc.), and so on.
Optionally, each chessman character has attributes of at least two dimensions, and equipment carried by the chessman character can improve the attributes of the chessman character.
Optionally, in the battle area, when different chess pieces have associated attributes (including that different chess pieces have the same attribute, or different chess pieces have attributes of complementary types), and the number reaches a number threshold (or called a bridle), the corresponding chess piece role having the attribute or all the chess piece roles in the battle area can obtain a gain effect corresponding to the attribute. For example, when 2 chessman characters with the attribute of soldier are simultaneously included in the battle area, all the battle chessman characters obtain 10 percent of defense force addition; when 4 battle chessman roles with the attribute of fighters are simultaneously included in the battle area, all the battle chessman roles obtain 20 percent of defensive force addition; when the fighting area simultaneously comprises 3 chess-piece characters with the attribute of sprites, all the fighting chess-piece characters obtain the addition of the evasion probability of 20 percent.
Referring to fig. 2, a schematic diagram of an implementation environment provided by an exemplary embodiment of the present application is shown. The implementation environment comprises: a first terminal 120, a server 140, and a second terminal 160.
The first terminal 120 is installed and operated with a self-propelled board game application. The first terminal 120 is a terminal used by the first user, the first user uses the first terminal 120 to lay the virtual objects in the fighting area of the chessboard in the preparation stage of the fighting, and the first terminal 120 automatically controls the virtual objects to fight according to the attributes, skills and layout of the virtual objects in the fighting area in the fighting stage.
The first terminal 120 is connected to the server 140 through a wireless network or a wired network.
The server 140 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. Illustratively, the server 140 includes a processor 144 and a memory 142, the memory 142 including a display module 1421, a receiving module 1422, and a control module 1423. The server 140 is configured to provide background services for the self-propelled chess game application. Alternatively, the server 140 undertakes primary computational work and the first and second terminals 120, 160 undertake secondary computational work; alternatively, the server 140 undertakes the secondary computing work and the first terminal 120 and the second terminal 160 undertakes the primary computing work; alternatively, the server 140, the first terminal 120, and the second terminal 160 perform cooperative computing by using a distributed computing architecture.
The second terminal 160 is installed and operated with a self-propelled chess game application. The second terminal 160 is a terminal used by the second user, the second user uses the second terminal 160 to lay the virtual objects in the fighting region of the chessboard in the preparation stage of the fighting, and the second terminal 160 automatically controls the virtual objects to fight according to the attributes, skills and layout of the virtual objects in the fighting region in the fighting stage.
Alternatively, the virtual objects for the battle laid out by the first user through the first terminal 120 and the second user through the second terminal 160 are located in different battle areas on the same chessboard, i.e. the first user and the second user are in the same game.
Alternatively, the applications installed on the first terminal 120 and the second terminal 160 are the same, or the applications installed on the two terminals are the same type of application of different control system platforms. The first terminal 120 may generally refer to one of a plurality of terminals, and the second terminal 160 may generally refer to one of a plurality of terminals, and this embodiment is only illustrated by the first terminal 120 and the second terminal 160. The device types of the first terminal 120 and the second terminal 160 are the same or different, and include: at least one of a smartphone, a tablet, an e-book reader, a digital player, a laptop portable computer, and a desktop computer. The following embodiments are illustrated with the terminal comprising a smartphone.
Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals may be only one (i.e., the user performs a match with artificial intelligence), or the number of the terminals may be 8 (1v1v1v1v1v1v1, 8 users perform cyclic match and elimination, and finally a winner is determined), or a larger number of the terminals may be provided. The number of terminals and the type of the device are not limited in the embodiments of the present application.
Referring to fig. 3, a flowchart of a method for obtaining a chess piece character according to an exemplary embodiment of the present application is shown, wherein the method can be applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. The method comprises the following steps:
step 301, displaying a battle chessboard and a chess role refreshing area, wherein the battle chessboard comprises the battle area and a standby area, the chess role refreshing area comprises at least one candidate chess role, the candidate chess roles in the chess role refreshing area support refreshing, and the candidate chess roles become standby chess roles after being added to the standby area.
In a possible implementation mode, a terminal used by a user runs an application program of a self-propelled chess, when the user runs the application program, a fighting picture when the application program is used is correspondingly displayed on a display screen of the terminal, and a fighting chessboard and a chess character refreshing area are displayed on the fighting picture. The fighting chessboard comprises a fighting area and a fighting area, schematically, the chessman roles in the fighting area can be called fighting chessman roles, and the chessman roles in the fighting area can be called fighting chessman roles; the terminal receives a drag operation on the battle pawn character in the battle area (the drag operation may be used to adjust the position of the battle pawn character in the battle area, or move the battle pawn character to the armed area), or receives a drag operation on the armed pawn character in the armed area (the drag operation may be used to adjust the position of the armed pawn character image in the armed area, or move the pawn character to the battle area).
Optionally, the periphery of the match chessboard is decorated with virtual elements, and the virtual elements comprise at least one of the following elements: at least one element of flat ground, river, lake, sea, desert, sky, plant, building and vehicle.
Candidate chess piece roles in the chess piece role refreshing area are chess piece roles which do not belong to the user, the user needs to use virtual resources (such as virtual currency) to purchase, and different candidate chess piece roles can correspond to different amounts of virtual resources; that is, when a user needs to participate in a battle using a candidate chess piece character in the chess piece character refreshing area, the user needs to purchase the candidate chess piece character using a virtual resource corresponding to the candidate chess piece character so as to add the candidate chess piece character to the battle preparation area.
Schematically, the candidate chess role in the chess role refreshing area supports refreshing, wherein the chess role refreshing area can be refreshed automatically in the preparation stage of the current round of game; optionally, when the candidate chess piece role in the candidate chess piece role list does not have the chess piece role required by the user, the user can refresh the candidate chess piece role in the chess piece role refresh area by clicking the refresh control, it needs to be stated that the virtual currency owned by the user needs to be deducted during refresh, that is, the refresh can be realized by paying the virtual currency. In some embodiments, candidate pawn characters are automatically refreshed each time the pawn character refresh area is opened.
In some embodiments, text information is displayed in the battle screen, the text information is used for prompting the user how to refresh the chess piece character refresh area, illustratively, the terminal used by the user is a terminal connected with an external input device, such as a desktop computer connected with a keyboard, and when the user presses a "D" key on the keyboard, the candidate chess piece characters in the chess piece character refresh area can be refreshed.
Optionally, the chess character refreshing area is automatically displayed on the battle picture in the preparation stage of the round of match, or is automatically displayed on the battle picture in the preparation stage of the round.
The candidate chess role in the chess role refreshing area can be a two-dimensional model, a 2.5-dimensional model or a three-dimensional model, and the fighting chess role in the fighting chessboard can be a 2.5-dimensional or three-dimensional model.
As shown in fig. 4, a schematic diagram of a process for automatically obtaining a target chess piece character according to an exemplary embodiment of the present application is shown. A match chessboard 402 and a chess character refreshing area 403 are displayed in the match picture 401, wherein at least one candidate chess character 404 is displayed in the chess character refreshing area 403, and a user can click on the refreshing control 405 to refresh the candidate chess character included in the chess character refreshing area 403.
Step 302, in response to the setting operation of the target chess role in the chess role refreshing area, setting the acquisition mode of the target chess role to be automatically acquired.
The user can upgrade and strengthen the chess roles by purchasing the same chess roles, illustratively, three one-star chess roles a can be combined into one two-star chess role a, and 9 one-star chess roles a can be combined into one three-star chess role a. That is, during the game-play process, the user needs to repeatedly purchase the same chess piece character to fulfill the purpose of strengthening the target chess piece character.
Different from the prior art that a user is recommended to buy a chess piece role in the current round and the user purchases the chess piece role based on the recommendation and the current round, the embodiment provides a mode for automatically purchasing the chess piece role, namely, the user can set the acquisition mode of the target chess piece role as automatic acquisition and correspondingly, when the target chess piece role is refreshed in the subsequent chess piece role refreshing area, the target chess piece role can be automatically acquired without the need of repeatedly performing the purchasing operation of the same chess piece.
Optionally, the target chess character can be a chess character which must be purchased, so as to avoid waste of virtual money of the user due to the purchase of other unnecessary chess characters, or need to perform subsequent chess character recycling operation; optionally, the target chess character can also be a chess character that the user wants to repeatedly purchase, so as to improve the efficiency of purchasing the chess character by the user.
Optionally, the user may perform a setting operation of an acquisition mode on the target chess role when the target chess role appears in the chess role refreshing area for the first time; or, the user can set the acquisition mode for the target chess role in the chess role refreshing area based on the wheel fight requirements.
The setting operation of the target chess role can be a collection operation of the target chess role, namely, after the user collects the target chess role, the acquirement mode corresponding to the target chess role is set as automatic acquisition by default. Illustratively, the user interface may display an operation step of setting the target chess role as automatic acquisition, and the user may complete a setting process of the corresponding acquisition mode of the target chess role based on the operation step.
Optionally, the user may set the obtaining mode of two or more target chess characters to be automatically obtained at the same time.
Step 303, in response to the candidate chess piece role in the chess piece role refreshing area being updated and the updated candidate chess piece role comprising the target chess piece role, automatically adding the target chess piece role to the standby area.
In a possible implementation manner, after the user sets the obtaining manner of the target chess piece role to be automatically obtained, when the terminal detects that the candidate chess piece roles in the chess piece role refreshing area are updated and the updated candidate chess piece roles comprise the target chess piece role, the target virtual currency can be automatically deducted to purchase the target chess piece role, and the target chess piece role is automatically added to the fighting area.
As shown in fig. 4, when the user sets the obtaining mode of the candidate chess piece character 404 to be automatically obtained, the user clicks the refresh control 405 to refresh the chess piece character refresh area 403, and the updated candidate chess piece characters include the target chess piece character 404, the target chess piece character 404 can be automatically purchased, and the target chess piece character 404 is added to the fighting area 406.
In summary, in the embodiment of the present application, an automatic chess piece purchasing function is provided in the process of obtaining the chess piece role, that is, the user can set the obtaining mode corresponding to the target chess piece role as automatic obtaining, so that the target chess piece role is automatically added to the fighting area when the target chess piece role is subsequently refreshed; the acquisition mode of the chessman role which needs to be bought (or other chessman roles which need to be bought repeatedly) is set as automatic acquisition, on one hand, a user does not need to repeatedly judge whether the chessman role needs to be bought or not when the user refreshes the target chessman role, and on the other hand, the repeated acquisition operation of the chessman role is not needed correspondingly, so that the efficiency of the user for acquiring the target chessman role is improved; meanwhile, in the limited game preparation stage, the user can not need to pay attention to the chess role set to be automatically acquired, so that more time is saved for thinking whether to acquire the unnecessary chess role or not, and the operation burden of the user in the game preparation stage is further reduced; on the other hand, the terminal does not need to sequentially judge whether the role of each candidate chess piece meets the requirement of recommending chess pieces every time the terminal detects refreshing, unnecessary repeated recommending logic is reduced, and the processing power consumption of the terminal can be effectively reduced.
In order to distinguish the purchase operation of the target chess piece role from the setting operation of the target chess piece role (the setting operation indicating the acquisition mode), in one possible implementation mode, the corresponding target control is called out through the triggering operation of the candidate chess piece role, and the subsequent setting operation of the acquisition mode corresponding to the target chess piece role is triggered through the dragging operation of the target control.
Referring to fig. 5, it shows a flowchart of a method for obtaining a chess piece character according to another exemplary embodiment of the present application, which can be applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. The method comprises the following steps:
step 501, displaying a battle chessboard and a chess character refreshing area, wherein the battle chessboard comprises a battle area and a standby area, and the chess character refreshing area comprises at least one candidate chess character.
The implementation manner of step 501 may refer to the above embodiments, which are not described herein.
Step 502, in response to the trigger operation on the target chess role in the chess role refreshing area, displaying a target control corresponding to the target chess role.
In this embodiment, when the user needs to set the obtaining mode of the target chess role to be automatically obtained, the target control corresponding to the target chess role can be called out through the specified triggering operation on the target chess role, and then the setting operation on the obtaining mode corresponding to the target chess role can be triggered through the dragging operation on the target control.
In order to avoid confusion between the purchasing operation and the setting operation of the target chess piece role, the triggering operation of the target chess piece role is different from the purchasing operation of the target chess piece role, and illustratively, if the purchasing operation of the target chess piece role is the single-click operation of the target chess piece role, the corresponding triggering operation can be the long-press operation, the double-click operation and the like of the target chess piece role.
In some embodiments, the target control may or may not display the name of the pawn corresponding to the target pawn character.
As shown in fig. 6, it shows a schematic diagram of a setting process of an automatic acquisition mode according to an exemplary embodiment of the present application. A battle chessboard 602 and a chess role refreshing area 603 are displayed in the game screen 601, when a user needs to automatically acquire a target chess role 604, the user can press the target chess role 604 for a long time, the corresponding terminal receives a trigger operation on the target chess role 604, a target control 605 is displayed, and the target control 605 is further dragged to a collection control 606.
Step 503, in response to the dragging operation of the target control, and the dragging operation meets the preset condition, setting the obtaining mode of the target chess role as automatic obtaining.
The target control can be dragged, that is, the user can drag the target control to the target setting area, and then trigger the setting operation of the corresponding obtaining mode of the target chess role.
Optionally, in this embodiment, a special target setting control (or a target setting area) is provided, where the target setting area is an area for triggering setting of an acquisition mode corresponding to a chessman role, and correspondingly, if a user needs to set an acquisition mode corresponding to a chessman role, the target control may be dragged to the target setting area to trigger an acquisition mode setting operation, and correspondingly, when the terminal detects that a dragging operation on the target control meets a preset condition (a position condition), the acquisition mode of the target chessman role is set to be automatically acquired.
In one illustrative example, step 503 may include the steps of:
1. and responding to the dragging operation of the target control, and acquiring the touch control end position indicated by the dragging operation.
In order to determine whether to trigger the setting operation of the obtaining manner, in a possible implementation manner, when the terminal detects a dragging operation on the target control, a position where the target control is located when the dragging operation is ended or a touch end position corresponding to the dragging operation may be obtained, and then, based on a position relationship between the touch end position and the target setting area, it is determined whether to trigger the setting operation of the obtaining manner.
Illustratively, the touch end position may be represented by a position coordinate, for example, the touch end position is a (x) 1 ,y 1 )。
2. And setting the acquisition mode of the target chess role to be automatically acquired in response to the fact that the touch control end position is located in a target setting area, wherein the target setting area is used for triggering the setting of the acquisition mode corresponding to the chess role.
In a possible implementation manner, when it is determined that the touch end position is located in the target setting area, it indicates that the user needs to set the acquisition manner of the target chess role (the chess role corresponding to the target control) to be automatic acquisition, that is, perform the setting operation of the subsequent automatic acquisition manner; and if the touch control end position is located outside the range of the target setting area, not triggering the setting operation of the automatic acquisition mode.
Alternatively, the target setting region may be a closed region having a certain area, and illustratively, the target setting region may be a circular region, a square region, a rectangular region, and the like, which is not limited in this embodiment of the application. Alternatively, the position area where the target setting control (the favorite control) is located may also be determined as the target setting area.
Optionally, in order to avoid that the user mistakenly touches the chess piece to set the obtaining mode corresponding to a certain chess piece role, in a possible implementation, prompt information is displayed, so that whether the chess piece role needs to be automatically obtained is determined based on the operation of the user on the prompt information.
In an exemplary example, the setting process of the automatic acquisition mode may further include the steps of:
1. and responding to the touch control ending position located in the target setting area, and displaying first prompt information.
In a possible implementation manner, when the terminal detects that the touch end position is located in the target setting area, the first prompt information may be displayed, and the first prompt information is used to remind the user whether to set the acquisition mode of the target chess to automatic acquisition.
2. And setting the acquisition mode of the target chess piece role to be automatically acquired in response to the confirmation operation of the first prompt message.
Optionally, a prompt window corresponding to the first prompt information may be additionally displayed on the user interface in a stacking manner, the prompt window may further display a confirmation control and a closing control in addition to the first prompt information, when the user clicks the confirmation control, the terminal receives a confirmation operation on the first prompt information, which indicates that the user needs to automatically purchase the target chess role, and correspondingly sets the acquisition mode of the target chess role to be automatically acquired; otherwise, if the user does not need to automatically purchase the target chessman role, the user can click the closing control to close the prompt window.
As shown in fig. 6, when the terminal detects that the target control 605 is located at the collection control 606, it is determined that the dragging operation of the target control 605 meets the preset condition, a prompt window 607 is displayed, first prompt information 608 is displayed in the prompt window 607, a confirmation control 609 and a closing control 610 are displayed, after the user clicks the confirmation control 609, the terminal receives the confirmation operation of the first prompt information 608, and the obtaining mode of the target chess role 604 is set to be automatically obtained; when the target pawn character 604 is subsequently refreshed, the target pawn character 604 can be automatically added to the fighting area 611; optionally, when the user clicks on close control 610, indicating that the user does not have a need to automatically purchase target pawn character 604, prompt window 607 may be closed.
Step 504, in response to the candidate chess piece roles in the chess piece role refreshing area being updated and the updated candidate chess piece roles including the target chess piece role, automatically adding the target chess piece role to the fighting area.
The implementation manner of step 504 may refer to the above embodiments, which are not described herein.
And 505, responding to the trigger operation of the target setting area, and displaying an acquisition state interface, wherein at least one chess piece role supporting automatic acquisition is displayed in the acquisition state interface.
In a possible implementation manner, an acquisition status interface is provided, and a user can view at least one chessman role supporting automatic acquisition through the acquisition status interface, and in an implementation process, the user can click a target setting area, a corresponding terminal receives a trigger operation on the target setting area, and the acquisition status interface can be displayed.
Optionally, the trigger operation may be a click operation, a long-time press operation, a double-click operation, and the like on the target setting area, and this embodiment does not limit the trigger operation.
Optionally, the acquired number corresponding to each chessman role can be displayed in the acquiring state interface, so that the user can know the acquiring state corresponding to each chessman role in time.
Fig. 7 is a schematic diagram illustrating a display process of an acquire status interface according to an exemplary embodiment of the present application. Taking the target setting area as the area where the target setting control is located as an example, a battle chessboard 702, a chess piece role refreshing area 703 and a collection control 704 are displayed in the game picture 701, after a user clicks the collection control 704, the terminal receives a trigger operation on the target setting area and displays an acquisition state interface 705, and at least one chess piece role and the corresponding acquired number are displayed in the acquisition state interface 705.
Step 506, canceling the automatic acquisition of the target chess piece role in response to the canceling setting operation of the target chess piece role in the acquisition state interface.
In the game-matching process, the user may need the target chess piece role at a certain game-matching stage and correspondingly set the target chess piece role as an automatic acquisition function, but the subsequent situation that the user does not want to continuously and automatically acquire the target chess piece role may exist, for example, a sufficient number of target chess piece roles are acquired, under the application scenario, a function of canceling automatic purchase is provided, in a possible implementation manner, collection canceling controls corresponding to the chess piece roles are also displayed in an acquisition state interface, the user can click the collection canceling controls corresponding to the target chess piece roles, and the corresponding terminal receives a setting canceling operation of the target chess piece role in the acquisition state interface, so that the automatic acquisition of the target chess piece role is canceled.
As shown in fig. 7, a cancel setting control 706 corresponding to the chess piece character a is displayed in the obtaining state interface 705, and when the user clicks the cancel setting control 706, the corresponding terminal receives a cancel setting operation for the chess piece character a, and cancels the automatic obtaining for the chess piece character a.
In the embodiment, the target control corresponding to the target chess role is triggered and displayed, and the target control is dragged, so that the acquisition mode of the target chess role is set to be an automatic acquisition mode, and the method can be distinguished from other operation processes for purchasing the target chess role; in addition, the prompt information is displayed so that the user can further confirm whether the target chess role needs to be automatically purchased, and the setting accuracy of the acquisition mode can be improved; in addition, the acquisition state interface is triggered and displayed, a plurality of chess piece roles supporting automatic acquisition can be checked, so that a user can know the setting condition of the acquisition mode, automatic purchase of a target chess piece role can be cancelled through the acquisition state interface, and waste of virtual resources caused by acquisition of redundant target chess piece roles is avoided.
Since the target chess character needs to use virtual currency to purchase, in the automatic acquisition process, in order to avoid automatic acquisition failure or invalid automatic acquisition operation, the remaining resource amount of the target virtual resource needs to be judged before acquisition so as to determine whether the remaining resource amount is enough to purchase the target chess character.
On the basis of fig. 3, as shown in fig. 8, step 303 may include step 801 and step 802.
Step 801, in response to the candidate chess piece role update in the chess piece role update area, and the updated candidate chess piece role includes the target chess piece role, obtaining the amount of the remaining resources corresponding to the target virtual resources.
Wherein the target virtual resource is a virtual resource required for adding the candidate chessman role to the fighting area. Illustratively, the target virtual resource may be a virtual currency, such as game gold, or a voucher.
In order to avoid that automatic purchasing fails due to insufficient target virtual resources or automatic purchasing operation is invalid in the process of automatically purchasing the target chess piece role, in a possible implementation manner, when the terminal detects that the updated candidate chess piece role comprises the target chess piece role, the terminal firstly acquires the residual resource quantity corresponding to the target virtual resources so as to determine whether the residual resource quantity can purchase the target chess piece role or not in the following process.
Illustratively, the target virtual resource is a game gold, and the remaining resource amount may be a game gold amount corresponding to the game gold.
As shown in fig. 9, a schematic diagram illustrating a process for automatically purchasing a target pawn character according to an exemplary embodiment of the application is shown. At least one candidate pawn character 902 is displayed in a pawn character refresh area 901. Optionally, the remaining resource amount 903 corresponding to the target virtual resource is also displayed in the pawn role refresh area 901. Optionally, each candidate pawn role 902 corresponds to a target resource amount 904 for purchasing the desired target virtual resource.
And step 802, responding to the condition that the quantity of the residual resources is more than or equal to the quantity of the target resources, and automatically adding the target chess role to the fighting area.
And the target resource quantity is the quantity of the target virtual resources required for adding the target chessman characters to the fighting region. Illustratively, 2 coins are needed for purchasing the chess role A, and the target resource quantity is 2 coins.
In a possible implementation manner, when the terminal determines that the number of the remaining resources is greater than or equal to the target number of resources, it indicates that the target chess role can be purchased by the number of the remaining resources, and correspondingly, after the terminal deducts the target number of resources from the number of the remaining resources, the target chess role can be added to the fighting area; otherwise, if the quantity of the residual resources is smaller than the quantity of the target resources, the situation that the quantity of the residual resources is insufficient and the target chess role cannot be purchased is represented, and the target chess role is stopped to be added to the fighting area.
As shown in fig. 9, if the target chess piece character 902 needs to be purchased automatically, the target resource amount corresponding to the target chess piece character 902 is 4 virtual currencies, the remaining resource amount is 5 virtual currencies, and since the remaining resource amount is greater than the target resource amount, 4 virtual currencies are deducted from the target virtual resource, and the target chess piece character 902 is added to the fighting area 905.
In the embodiment, when the target chess piece role is automatically purchased, whether the quantity of the residual resources corresponding to the target virtual resources is enough to purchase the target chess piece role is judged in real time, so that the automatic purchasing operation failure caused by the insufficient target virtual resources is avoided, and further the invalid purchasing operation is avoided.
After the target chess is automatically purchased, the target chess is preferably added to a standby area (the chess in the fighting area is generally added manually by a user), and the positions of the chess corresponding to the standby area are limited, namely whether the target chess is automatically purchased depends on whether the positions of the spare chess are available in the standby area.
On the basis of fig. 2, as shown in fig. 10, step 303 may further include steps 1001 to 1004.
Step 1001, in response to the update of the candidate chess piece roles in the chess piece role updating area, wherein the updated candidate chess piece roles include the target chess piece role, obtaining the number of positions of the vacant chess piece positions in the standby combat area, and the vacant chess piece positions are used for adding the candidate chess piece roles.
Wherein, contain the piece position of fixed quantity in the area of preparing for war, every piece position can hold single piece role only. Optionally, the chessman roles in the fighting area are fighting chessman roles, and the user can drag the fighting chessman roles to the fighting area in the preparation stage, or drag the fighting chessman roles in the fighting area to the fighting area.
Optionally, the positions of the chessmen in the fighting area can be a fixed number, and can also be increased along with the virtual object level of the user in the fighting process. Illustratively, the fighting area may contain 6 chess positions when the virtual object level is level 2, or 9 chess positions when the virtual object level is level 4.
In a possible implementation mode, when the terminal detects that the updated candidate chess pieces contain the target chess piece characters, the position number of the positions of the vacant chess pieces in the current arming area is firstly obtained so as to determine whether the arming area can contain the target chess piece characters or not.
In response to the number of positions being greater than the first number threshold, automatically adding the target pawn role to the preparation area, step 1002.
Illustratively, the first quantity threshold may be 0.
In a possible implementation mode, after the terminal determines the number of positions corresponding to the positions of the vacant chessmen, the relationship between the number of the positions and a first number threshold is compared, if the number of the positions is larger than the first number threshold, the vacant chessmen positions exist in a standby fighting area, target chessman roles can be continuously added, and the target chessman roles are correspondingly and automatically purchased and added to the standby fighting area; otherwise, if the number of the positions is smaller than the first number threshold, it indicates that there are no vacant chessman positions in the standby area, and the target chessman role may not be added continuously, and it needs to be determined whether the target chessman role can be automatically purchased further based on the existing chessman roles in the standby area.
In some embodiments, a plurality of target chess pieces with the same level may be combined into a single higher target chess piece role, illustratively, 3 one-star chess piece roles a may be combined into a two-star chess piece role a, and a role level promotion operation is performed by repeatedly obtaining the same chess piece role, while the chess piece role generally has the highest role level, and when the target chess piece role reaches the highest role level, the level promotion operation cannot be performed on the target chess piece role, that is, if the target chess piece role reaches the highest role level, a user generally does not need to repeatedly obtain the target chess piece role, so in a possible implementation manner, in order to avoid waste of virtual resources by obtaining more of the same chess piece role, it is determined whether to continue to automatically purchase the target chess piece role by detecting whether the existing role level of the target chess piece role reaches the highest role level.
In an exemplary example, step 1002 may further include the steps of:
1. and responding to the situation that the number of the positions is larger than a first number threshold value, and obtaining the current role grade of the target chess role in the fighting chessboard, wherein the current role grade is the maximum role grade of the target chess role in the fighting chessboard.
In order to avoid the waste of virtual resources caused by continuously and automatically purchasing the target chess piece role under the condition that the target chess piece role with the highest role grade is obtained, in a possible implementation mode, when the terminal detects that the spare chess piece position exists in the fighting area, the maximum role grade of the current target chess piece role in the fighting chessboard is obtained firstly, so that whether the target chess piece role needs to be automatically purchased or not is determined based on the relation between the maximum role grade and the target role grade.
Illustratively, the terminal acquires that the current role grade corresponding to the chessman role A in the battle chessboard is second grade (two stars).
2. And automatically adding the target chess piece role to the fighting area in response to the current role grade being lower than the target role grade.
Wherein, the target role grade can be the highest role grade corresponding to the target chess role (i.e. the target chess role can not be upgraded continuously after the highest role grade is reached); optionally, the target character level may also be the highest character level that the user wants the target chess character to reach (i.e., after the target chess character reaches the target level, the upgrade may be continued).
In one possible implementation, when it is determined that the current character level is lower than the target character level, indicating that the target chess character does not reach the highest character level, the target chess character is repeatedly acquired to raise the character level, and the target chess character can be automatically purchased and added to the combat readiness area.
Illustratively, if the current role grade corresponding to the target chess piece role is two stars, the target role grade corresponding to the target chess piece role is three stars, and the current role grade is lower than the target role grade, the target chess piece role is automatically purchased.
Optionally, in other possible embodiments, when the current role level corresponding to the target chess character reaches the target role level, it indicates that the target chess character has reached the highest role level, and repeatedly acquiring the target chess character cannot acquire the gain effect, so as to avoid waste of virtual resources due to automatic purchase of the target chess character, stop purchasing the target chess character, and cancel automatic acquisition of the target chess character.
Optionally, after it is determined that the target chess role reaches the target role level, in order to avoid the need of repeatedly performing detection and judgment on the role level in each subsequent round or each refreshing, automatic acquisition of the target chess role can be directly cancelled, and automatic purchasing operation cannot be performed even if the target chess role is refreshed correspondingly.
Step 1003, in response to the position number being smaller than the first number threshold, obtaining the chess piece number of the target chess piece role with the same role grade as the target chess piece role in the war preparedness area.
For the situation that no vacant chess piece positions exist in the fighting area, if 2 one-star target chess piece roles A are included in the fighting area, if one-star target chess piece role A is added, 3 one-star target chess piece roles can be combined into one two-star target chess piece role, and therefore when the vacant chess piece positions do not exist in the fighting area, if the combined condition is met, the target chess piece roles can still be added into the fighting area.
Because the synthesis conditions corresponding to the chess pieces and the characters need to satisfy the condition that the character grades are consistent and the synthesis conditions are fixed, in a possible implementation mode, when the position quantity of the positions of the vacant chess pieces in the standby combat area is determined to be smaller than a first quantity threshold value, the chess piece quantity of the target chess piece and the character grades corresponding to the target chess piece and the characters in the standby combat area can be obtained, and whether the chess piece quantity satisfies the synthesis conditions or not is judged.
Illustratively, if the chess piece character refreshing area includes a star chess piece character a, it is correspondingly detected whether the arming area includes the star chess piece character a, and the number of chess pieces corresponding to the star chess piece character a is included.
And 1004, in response to the number of the chess pieces reaching the second number threshold, automatically adding the target chess piece role to the standby combat area, wherein the number of the chess pieces of the target chess piece role in the standby combat area meets the synthesis condition.
The second number threshold is determined by a composition condition corresponding to the pawn role, for example, if the composition condition indicates: it may take 3 same-level chessman characters to combine, and correspondingly, the second quantity threshold may be 2.
In a possible implementation manner, when it is determined that the arming area contains the target chess piece roles corresponding to the second quantity threshold, since a synthesis condition can be satisfied when one target chess piece role is added, that is, the added target chess piece role does not need to occupy the chess piece position in the arming area, the target chess piece roles can be automatically purchased, and the target chess piece roles are added to the arming area. Illustratively, after the chess pieces are added to the fighting area, a plurality of target chess piece characters with the same character grade can be automatically synthesized into a single target chess piece character.
Optionally, when the terminal detects that there is no vacant chess piece position in the standby combat area, and there is no target chess piece role with the same role grade as the target chess piece role, or the number of the target chess piece roles with the same role grade is insufficient, the synthesis condition cannot be reached, and the target chess piece roles cannot be continuously added to the standby combat area correspondingly, at this moment, second prompt information can be displayed for prompting that the vacant chess piece position of the user is insufficient.
It should be noted that, in other possible embodiments, when the target chess character is automatically obtained, it is necessary to determine whether the number of the remaining resources corresponding to the target virtual resource is greater than or equal to the number of the target resource, that is, whether the target chess character is sufficiently purchased.
In the embodiment, the number of positions of the vacant chessmen in the fighting area is determined, whether the vacant chessmen exist or not is determined to accommodate the target chessman role, and whether the target chessman role is automatically purchased or not is further determined, so that the automatic purchase invalidation or failure caused by the fact that the vacant chessmen do not exist is avoided; in addition, on the basis of judging the positions of the vacant chess pieces, whether the target chess pieces need to be purchased repeatedly or not can be judged by detecting the role grades of the target chess pieces in the fighting chessboard, so that the waste of the target virtual resources caused by repeated purchasing is avoided.
In a possible application scenario, an acquisition attribute configuration interface is provided, and a user can configure the target acquisition number of each target chess piece role supporting automatic acquisition by himself, so that the target chess piece role can be automatically purchased based on the target acquisition number in the subsequent automatic acquisition process.
As shown in fig. 11, which shows a flowchart of a method for obtaining a pawn role according to another exemplary embodiment of the present application, the method may be applied to the first terminal 120 or the second terminal 160 in the computer system shown in fig. 2 or other terminals in the computer system. The method comprises the following steps:
step 1101, displaying a battle chessboard and a chess character refreshing area, wherein the battle chessboard comprises a battle area and a standby area, and the chess character refreshing area comprises at least one candidate chess character.
Step 1102, setting the obtaining mode of the target chess role to be automatically obtained in response to the setting operation of the target chess role in the chess role refreshing area.
The implementation of step 1101 and step 1102 may refer to the above embodiments, and this implementation is not described herein again.
Step 1103, in response to the configuration operation in the attribute configuration interface, obtaining a target obtaining number corresponding to the target chess role, and obtaining an attribute configuration interface for configuring automatic obtaining parameters corresponding to the target chess role.
In order to enable a user to self-define the automatic acquisition number of each target chess piece role, in a possible implementation manner, an acquisition attribute configuration interface is provided, and the user can configure the target acquisition number of each target chess piece role supporting automatic acquisition through configuration operation on the acquisition attribute configuration interface, so that in the subsequent automatic acquisition process, the target chess piece roles can be acquired based on the preset target acquisition number, and the waste of target virtual resources caused by the excessive acquisition number of the target chess piece roles is avoided.
Optionally, because the target chess roles have different role grades, correspondingly, the user can configure the target acquisition number required to be automatically acquired by the different role grades based on the self demand. Illustratively, for the target chess piece a, the target acquisition number corresponding to the role of the one-star target chess piece is set to be 9, the target acquisition number corresponding to the role of the two-star target chess piece is set to be 3, and the target acquisition number corresponding to the role of the three-star target chess piece is set to be 1.
And 1104, in response to the candidate chess piece role in the chess piece role refreshing area being updated and the updated candidate chess piece role comprising the target chess piece role, obtaining the number of positions of the vacant chess piece positions in the standby combat area, wherein the vacant chess piece positions are used for adding the candidate chess piece role.
The implementation manner of step 1104 may refer to the above embodiments, which are not described herein.
Step 1105, in response to the number of positions being greater than the first number threshold, obtaining an obtained number corresponding to the target chess piece role.
In a possible implementation manner, when it is determined that the number of positions of the vacant chess pieces in the standby warfare area is greater than a first number threshold, that is, the vacant chess pieces exist in the standby warfare area, the vacant chess pieces can be used for adding any chess piece roles.
Step 1106, automatically adding the target pawn role to the armed area in response to the acquired number being lower than the target acquired number.
In a possible implementation manner, when the terminal determines that the acquired number of the target chess pieces is smaller than the target acquisition number, which indicates that the number of the target chess pieces is insufficient, the terminal needs to continuously and automatically purchase the target chess pieces, add the target chess pieces to the standby area, and add 1 to the acquired number corresponding to the target chess pieces.
Optionally, if the terminal determines that the acquired number reaches the target acquisition number, it indicates that it is not necessary to continuously and automatically purchase the target chess piece role, and in order to avoid the need of repeatedly performing number acquisition and judgment when the target chess piece role is subsequently refreshed, automatic acquisition of the target chess piece role can be directly cancelled.
In the embodiment, the target acquisition quantity of each chessman role supporting automatic acquisition is configured in advance, so that the user is supported to define the acquisition quantity of each chessman role by self, and the influence of automatically purchasing too many target chessman roles on the game of the user is avoided; meanwhile, whether the target chess role needs to be automatically purchased or not can be determined based on the target acquisition quantity and the acquired quantity, so that the waste of target virtual resources caused by purchasing too many target chess roles can be avoided.
Fig. 12 shows a flowchart of a method for obtaining a pawn character according to another exemplary embodiment of the application. The method comprises the following steps:
step 1201, pawn a appears in the preview area.
Wherein, the preview area is the chess piece character refreshing area in the above embodiment, when the chess piece A appears in the preview area, the user judges whether to buy the chess piece A or not, and whether to buy the chess piece A automatically or not.
Step 1202, determine whether the chess piece must be bought.
Judging whether the chess piece A is a necessary chess piece by a user, if so, entering a step 1203 to judge whether the chess piece A needs to be set as the necessary chess piece; if the chess piece A is determined to be a non-necessary chess piece, step 1207 may be entered to determine whether the current turn is to buy the chess piece A.
Step 1203, determine whether the player must be purchased.
The user judges whether the chess piece A needs to be set as a necessary chess piece or not, if the chess piece A needs to be set as the necessary chess piece, the step 1204 is carried out, otherwise, the step 1208 is carried out, and the user manually purchases the chess piece A.
Step 1204, set to buy the chess pieces.
If the chess piece A is set as a necessary chess piece, the chess piece A is automatically purchased when the chess piece A is refreshed subsequently.
Step 1205, whether to cancel the purchase.
If the user does not want to continue to automatically purchase the chess piece A, the automatic purchasing function of the chess piece A can be cancelled.
Step 1206, remove the chess pieces for storage.
If the function of buying the chess piece A is cancelled, correspondingly, the chess piece A is removed and collected.
Step 1207, purchase.
If the user chooses to purchase the chess piece A, the chess piece A is acquired to the fighting area through the purchasing operation.
Step 1208, purchase manually.
The manual purchasing action may be effected by a triggering action on pawn a.
The following are embodiments of the apparatus of the present application, and for details that are not described in detail in the embodiments of the apparatus, reference may be made to corresponding descriptions in the above method embodiments, and details are not described herein again.
Fig. 13 is a schematic structural diagram of an obtaining apparatus for a chess character according to an exemplary embodiment of the present application. The apparatus, which may be implemented as all or part of a terminal by software, hardware or a combination of both, includes:
a first display module 1301, configured to display a battle chessboard and a chess piece role refresh area, where the battle chessboard includes the battle area and a standby area, the chess piece role refresh area includes at least one candidate chess piece role, the candidate chess piece role in the chess piece role refresh area supports refresh, and the candidate chess piece role is added to the standby area to become a standby chess piece role;
a first setting module 1302, configured to set, in response to a setting operation on a target chess character in the chess character refreshing area, an obtaining manner of the target chess character to be automatically obtained;
a first adding module 1303, configured to, in response to that the candidate chess piece roles in the chess piece role updating area are updated and the updated candidate chess piece roles include the target chess piece role, automatically add the target chess piece role to the standby area.
Optionally, the first setting module 1302 includes:
the display unit is used for responding to the triggering operation of the target chess piece role in the chess piece role refreshing area and displaying a target control corresponding to the target chess piece role;
and the setting unit is used for responding to the dragging operation of the target control, setting the acquisition mode of the target chess role as automatic acquisition when the dragging operation meets the preset condition.
Optionally, the setting unit is further configured to:
responding to the dragging operation of the target control, and acquiring a touch control end position indicated by the dragging operation;
and setting the acquisition mode of the target chess role to be automatic acquisition in response to the touch end position being in a target setting area, wherein the target setting area is used for triggering the setting of the acquisition mode corresponding to the chess role.
Optionally, the setting unit is further configured to:
responding to the touch control ending position located in the target setting area, and displaying first prompt information;
and setting the acquisition mode of the target chess piece role to be automatically acquired in response to the confirmation operation of the first prompt message.
Optionally, the apparatus further comprises:
the second display module is used for responding to the triggering operation of the target setting area and displaying an acquisition state interface, and at least one chess role supporting automatic acquisition is displayed in the acquisition state interface;
and the second setting module is used for responding to the canceling setting operation of the target chess piece role in the acquisition state interface and canceling the automatic acquisition of the target chess piece role.
Optionally, the first adding module 1303 includes:
a first obtaining unit, configured to obtain a remaining resource amount corresponding to a target virtual resource, where the target virtual resource is a virtual resource required for adding the candidate chess role to the combat preparation area;
a first adding unit, configured to automatically add the target chess piece role to the fighting area in response to that the number of remaining resources is greater than or equal to a target resource number, where the target resource number is a number of target virtual resources required to add the target chess piece role to the fighting area.
Optionally, the first adding module 1303 includes:
a second obtaining unit, configured to obtain the number of positions of empty chess pieces in the reserve area, where the empty chess pieces are used to add the candidate chess piece roles;
and the second adding unit is used for responding to the situation that the number of the positions is larger than a first number threshold value, and automatically adding the target chess piece role to the fighting area.
Optionally, the second adding unit is further configured to:
in response to the number of positions being greater than the first number threshold, obtaining a current role level of the target chess piece role in the battle chessboard, the current role level being a maximum role level of the target chess piece role in the battle chessboard;
automatically adding the target pawn character to the war preparation area in response to the current character level being lower than a target character level.
Optionally, the apparatus further comprises:
and the third setting module is used for responding to the situation that the current role grade corresponding to the target chess role reaches the target role grade and canceling the automatic acquisition of the target chess role.
Optionally, the apparatus further comprises:
a first obtaining module, configured to obtain, in response to that the number of positions is smaller than the first number threshold, a number of pieces of a target piece character in the war preparedness area, where the target piece character has a same character level as a corresponding character level of the target piece character;
and the second adding module is used for responding to the fact that the number of the chess pieces reaches a second number threshold value, and automatically adding the target chess piece roles to the standby combat area, wherein after the adding, the number of the chess pieces of the target chess piece roles in the standby combat area meets the synthesis condition.
Optionally, the apparatus further comprises:
and the third display module is used for responding to the situation that the number of the chessmen is smaller than the second number threshold value, and displaying second prompt information, wherein the second prompt information is used for prompting that the positions of the vacant chessmen are insufficient.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain, in response to a configuration operation in an obtained attribute configuration interface, a target obtaining number corresponding to the target chess role, where the obtained attribute configuration interface is used to configure an automatic obtaining parameter corresponding to the target chess role;
the second adding unit is further configured to:
in response to the number of positions being greater than the first number threshold, obtaining an obtained number corresponding to the target chess piece role;
automatically adding the target pawn character to the staging area in response to the acquired quantity being less than the target acquired quantity.
In summary, in the embodiment of the present application, an automatic chess piece purchasing function is provided in the process of obtaining the chess piece role, that is, the user can set the obtaining mode corresponding to the target chess piece role as automatic obtaining, so that the target chess piece role is automatically added to the fighting area when the target chess piece role is subsequently refreshed; the method has the advantages that the method for acquiring the chessman roles to be bought (or other chessman roles to be bought repeatedly) is set to be automatic acquisition, so that on one hand, a user does not need to repeatedly judge whether the chessman roles are bought or not when refreshing the target chessman roles each time, and correspondingly does not need to repeatedly perform the acquisition operation on the chessman roles, and the efficiency of the user for acquiring the target chessman roles is improved; meanwhile, in the limited game preparation stage, the user can not need to pay attention to the chess role set to be automatically acquired, so that more time is saved for thinking whether to acquire the unnecessary chess role or not, and the operation burden of the user in the game preparation stage is further reduced; on the other hand, the terminal does not need to sequentially judge whether the role of each candidate chess piece meets the requirement of recommending chess pieces every time the terminal detects refreshing, unnecessary repeated recommending logic is reduced, and the processing power consumption of the terminal can be effectively reduced.
Fig. 14 shows a block diagram of a terminal 1400 according to an exemplary embodiment of the present application. The terminal 1400 may be a portable mobile terminal such as: smart phones, tablet computers, MP3 players (Moving Picture Experts Group Audio Layer III, moving Picture Experts Group Audio Layer IV, moving Picture Experts Group Audio Layer 4) players. Terminal 1400 can also be referred to by other names such as user equipment, portable terminal, and the like.
In general, terminal 1400 includes: a processor 1401, and a memory 1402.
Processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1401 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 1401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1402 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1402 is used to store at least one instruction for execution by processor 1401 to implement the method of displaying a virtual character provided in embodiments of the present application.
In some embodiments, terminal 1400 may further optionally include: a peripheral device interface 1403 and at least one peripheral device. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1404, a touch display 1405, a camera assembly 1406, audio circuitry 1407, a positioning assembly 1408, and a power supply 1409.
The peripheral device interface 1403 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, memory 1402, and peripheral interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 1401, the memory 1402, and the peripheral device interface 1403 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, etc. The radio frequency circuit 1404 may communicate with other terminals via at least one wireless communication protocol. The 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 radio frequency circuit 1404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The touch display 1405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. The touch display 1405 also has the ability to capture touch signals at or above the surface of the touch display 1405. The touch signal may be input to the processor 1401 for processing as a control signal. The touch display 1405 is used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the touch display 1405 may be one, providing the front panel of the terminal 1400; in other embodiments, the touch display 1405 can be at least two, respectively disposed on different surfaces of the terminal 1400 or in a folded design; in other embodiments, touch display 1405 may be a flexible display disposed on a curved surface or on a folded surface of terminal 1400. Even the touch display 1405 can be arranged in a non-rectangular irregular figure, i.e., a shaped screen. The touch Display 1405 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
Camera assembly 1406 is used to capture images or video. Optionally, camera assembly 1406 includes a front camera and a rear camera. Generally, a front camera is used for realizing video call or self-shooting, and a rear camera is used for realizing shooting of pictures or videos. In some embodiments, the number of the rear cameras is at least two, and each of the rear cameras is any one of a main camera, a depth-of-field camera and a wide-angle camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting function and a VR (Virtual Reality) shooting function. In some embodiments, camera assembly 1406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuit 1407 is operative to provide an audio interface between the user and terminal 1400. The audio circuit 1407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1401 for processing or inputting the electric signals to the radio frequency circuit 1404 to realize voice communication. For stereo capture or noise reduction purposes, multiple microphones may be provided, each at a different location of terminal 1400. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is then used to convert electrical signals from the processor 1401 or the radio frequency circuit 1404 into sound waves. The loudspeaker can be a traditional film loudspeaker and can also be a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1407 may also include a headphone jack.
The positioning component 1408 serves to locate the current geographic position of the terminal 1400 for navigation or LBS (Location Based Service). The Positioning component 1408 may be based on the Positioning component of the GPS (Global Positioning System) in the united states, the beidou System in china, or the galileo System in russia.
Power supply 1409 is used to power the various components of terminal 1400. The power source 1409 may be alternating current, direct current, disposable or rechargeable. When the power source 1409 comprises a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1400 also includes one or more sensors 1410. The one or more sensors 1410 include, but are not limited to: acceleration sensor 1411, gyroscope sensor 1412, pressure sensor 1413, fingerprint sensor 1414, optical sensor 1415, and proximity sensor 1416.
The acceleration sensor 1411 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal 1400. For example, the acceleration sensor 1411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1401 can control the touch display 1405 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1411. The acceleration sensor 1411 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1412 may detect a body direction and a rotation angle of the terminal 1400, and the gyro sensor 1412 and the acceleration sensor 1411 may cooperate to collect a 3D motion of the user on the terminal 1400. The processor 1401 can implement the following functions according to the data collected by the gyroscope sensor 1412: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1413 may be disposed on the side bezel of terminal 1400 and/or underlying touch display 1405. When the pressure sensor 1413 is disposed at the side frame of the terminal 1400, a user's holding signal of the terminal 1400 can be detected, and left-right hand recognition or shortcut operation can be performed according to the holding signal. When the pressure sensor 1413 is disposed at the lower layer of the touch display screen 1405, it is possible to control an operability control on the UI interface according to a pressure operation of the user on the touch display screen 1405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1414 is used for collecting a fingerprint of a user to identify the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 1401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for, and changing settings, etc. Fingerprint sensor 1414 may be disposed on the front, back, or side of terminal 1400. When a physical button or vendor Logo is provided on terminal 1400, fingerprint sensor 1414 may be integrated with the physical button or vendor Logo.
The optical sensor 1415 is used to collect ambient light intensity. In one embodiment, processor 1401 can control the display brightness of touch display 1405 based on the ambient light intensity collected by optical sensor 1415. Specifically, when the ambient light intensity is high, the display luminance of the touch display 1405 is increased; when the ambient light intensity is low, the display brightness of the touch display 1405 is turned down. In another embodiment, the processor 1401 can also dynamically adjust the shooting parameters of the camera assembly 1406 according to the intensity of the ambient light collected by the optical sensor 1415.
Proximity sensors 1416, also known as distance sensors, are typically disposed on the front face of terminal 1400. The proximity sensor 1416 is used to collect the distance between the user and the front surface of the terminal 1400. In one embodiment, when proximity sensor 1416 detects that the distance between the user and the front face of terminal 1400 is gradually decreased, processor 1401 controls touch display 1405 to switch from a bright screen state to a dark screen state; when the proximity sensor 1416 detects that the distance between the user and the front surface of the terminal 1400 is gradually increased, the processor 1401 controls the touch display 1405 to switch from the rest state to the bright state.
Those skilled in the art will appreciate that the configuration shown in fig. 14 is not intended to be limiting with respect to terminal 1400 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
The present application further provides a computer device, comprising: a processor and a memory, wherein the storage medium has at least one instruction, at least one program, a set of codes or a set of instructions stored therein, and the at least one instruction, at least one program, a set of codes or a set of instructions is loaded and executed by the processor to implement the method for acquiring a pawn role provided by the above-mentioned method embodiments.
The present application further provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or an instruction set is stored, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the method for acquiring a chessman role provided by the above method embodiments.
The present application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the terminal executes the method for acquiring the chessman character provided by the above method embodiments.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for obtaining a chessman role, the method comprising:
displaying a battle chessboard and a chess piece character refreshing area, wherein the battle chessboard comprises a battle area and a standby area, the chess piece character refreshing area comprises at least one candidate chess piece character, the candidate chess piece character in the chess piece character refreshing area supports refreshing, and the candidate chess piece character is added to the standby area to become a standby chess piece character;
responding to a trigger operation of a target chess piece role in the chess piece role refreshing area, and displaying a target control corresponding to the target chess piece role, wherein a chess piece name of the target chess piece role is displayed on the target control;
responding to the dragging operation of the target control, and acquiring a touch control end position indicated by the dragging operation;
setting the acquisition mode of the target chess role to be automatic acquisition in response to the fact that the touch control end position is located in a target setting area, wherein the target setting area is used for triggering the setting of the acquisition mode corresponding to the chess role;
in response to the candidate chess piece role in the chess piece role refreshing area being updated and the updated candidate chess piece role comprising the target chess piece role, acquiring the position number of the vacant chess piece positions in the standby combat area, wherein the vacant chess piece positions are used for adding the candidate chess piece role;
responding to the situation that the number of the positions is larger than a first number threshold value, and obtaining the current role grade of the target chess piece role in the battle chessboard, wherein the current role grade is the maximum role grade of the target chess piece role in the battle chessboard;
in response to the current character level being below a target character level, automatically adding the target chess piece character to the armed zone;
canceling the automatic acquisition of the target chess piece role in response to the current role level corresponding to the target chess piece role reaching the target role level;
in response to the position number being smaller than the first number threshold, acquiring the chess piece number of target chess piece roles with the same role grades as the target chess piece roles in the war preparedness area;
and in response to the number of the chess pieces reaching a second number threshold, automatically adding the target chess piece role to the fighting area, wherein the number of the added chess pieces of the target chess piece role in the fighting area meets a synthesis condition.
2. The method of claim 1, wherein setting the target chess piece character to be automatically obtained in response to the touch end position being in a target setting area comprises:
responding to the touch control ending position located in the target setting area, and displaying first prompt information;
and setting the acquisition mode of the target chess piece role to be automatically acquired in response to the confirmation operation of the first prompt message.
3. The method of claim 1, wherein after setting the target chess piece character's acquisition mode to automatic acquisition in response to a setting operation on the target chess piece character in the chess piece character refresh area, the method further comprises:
responding to the triggering operation of the target setting area, and displaying an acquisition state interface, wherein at least one chessman role supporting automatic acquisition is displayed in the acquisition state interface;
canceling the automatic acquisition of the target chess piece role in response to the canceling of the setting operation of the target chess piece role in the acquisition state interface.
4. The method of any of claims 1-3, wherein automatically adding the target pawn role to the staging area comprises:
obtaining the residual resource quantity corresponding to a target virtual resource, wherein the target virtual resource is a virtual resource required for adding the candidate chess role to the fighting area;
and in response to the number of the remaining resources being greater than or equal to a target resource number, automatically adding the target chess piece role to the war preparation area, wherein the target resource number is the number of target virtual resources required for adding the target chess piece role to the war preparation area.
5. The method of claim 1, wherein after obtaining a number of chess pieces of a target chess piece character having a same character rank as a corresponding character of the target chess piece character in the battle preparation area in response to the number of positions being less than the first number threshold, the method further comprises:
and responding to the fact that the number of the chessmen is smaller than the second number threshold value, and displaying second prompt information, wherein the second prompt information is used for prompting that the positions of the vacant chessmen are insufficient.
6. The method of claim 1, wherein after setting the target chess piece character's acquisition mode to automatic acquisition in response to a setting operation on the target chess piece character in the chess piece character refresh area, the method further comprises:
responding to configuration operation in an acquisition attribute configuration interface, acquiring a target acquisition quantity corresponding to the target chess piece role, wherein the acquisition attribute configuration interface is used for configuring automatic acquisition parameters corresponding to the target chess piece role;
the automatically adding the target pawn role to the staging area in response to the number of positions being greater than a first number threshold, further comprising:
in response to the number of positions being greater than the first number threshold, obtaining an obtained number corresponding to the target chess piece role;
automatically adding the target pawn character to the staging area in response to the acquired quantity being less than the target acquired quantity.
7. An apparatus for obtaining a chessman character, the apparatus comprising:
the system comprises a first display module, a second display module and a third display module, wherein the first display module is used for displaying a fighting chessboard and a chess role refreshing area, the fighting chessboard comprises a fighting area and a standby area, the chess role refreshing area comprises at least one candidate chess role, the candidate chess role in the chess role refreshing area supports refreshing, and the candidate chess role is added to the standby area to become a standby chess role;
the first setting module is used for responding to triggering operation of a target chess piece role in the chess piece role refreshing area, displaying a target control corresponding to the target chess piece role, and displaying a chess piece name of the target chess piece role on the target control;
the first setting module is further configured to respond to a dragging operation on the target control and acquire a touch end position indicated by the dragging operation;
the first setting module is further configured to set, in response to that the touch end position is located in a target setting area, an acquisition mode of the target chess character to be automatically acquired, where the target setting area is an area for triggering setting of an acquisition mode corresponding to the chess character;
a first adding module, configured to, in response to an update of the candidate chess piece roles in the chess piece role updating area and the updated candidate chess piece roles include the target chess piece role, obtain a number of positions of vacant chess pieces in the arming area, where the vacant chess pieces are used to add the candidate chess piece roles;
the first adding module is further configured to, in response to that the number of positions is greater than a first number threshold, obtain a current role level of the target chess character in the battle chessboard, where the current role level is a maximum role level of the target chess character in the battle chessboard;
the first adding module is further used for responding to the condition that the current role grade is lower than the target role grade, and automatically adding the target chess role to the fighting area;
a third setting module, configured to cancel automatic acquisition of the target chess role in response to the current role level corresponding to the target chess role reaching the target role level;
a first obtaining module, configured to obtain, in response to that the number of positions is smaller than the first number threshold, a number of pieces of a target piece character in the war preparedness area, where the target piece character has a same character level as a corresponding character level of the target piece character;
and the second adding module is used for responding to the fact that the number of the chess pieces reaches a second number threshold value, and automatically adding the target chess piece roles to the fighting area, wherein the number of the added chess pieces of the target chess piece roles in the fighting area meets the synthesis condition.
8. A terminal, characterized in that the terminal comprises a processor and a memory, in which at least one program is stored, which is loaded and executed by the processor to implement the method of obtaining a pawn character according to any one of the claims 1 to 6.
9. A computer-readable storage medium, in which at least one program is stored, which is loaded and executed by a processor for implementing the method for retrieving a pawn character according to any one of the claims 1 to 6.
10. A computer program product, characterized in that the computer program product comprises computer instructions stored in a computer readable storage medium, from which a processor reads and executes the computer instructions for implementing the pawn character acquisition method as claimed in any one of the claims 1 to 6.
CN202110357761.2A 2021-04-01 2021-04-01 Method, device, terminal and storage medium for acquiring chessman role Active CN112915529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110357761.2A CN112915529B (en) 2021-04-01 2021-04-01 Method, device, terminal and storage medium for acquiring chessman role

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110357761.2A CN112915529B (en) 2021-04-01 2021-04-01 Method, device, terminal and storage medium for acquiring chessman role

Publications (2)

Publication Number Publication Date
CN112915529A CN112915529A (en) 2021-06-08
CN112915529B true CN112915529B (en) 2023-03-21

Family

ID=76173841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110357761.2A Active CN112915529B (en) 2021-04-01 2021-04-01 Method, device, terminal and storage medium for acquiring chessman role

Country Status (1)

Country Link
CN (1) CN112915529B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113663330B (en) * 2021-09-06 2024-03-15 网易(杭州)网络有限公司 Game role control method, game role control device, storage medium and electronic equipment
CN113730906B (en) * 2021-09-14 2023-06-20 腾讯科技(深圳)有限公司 Virtual game control method, device, equipment, medium and computer product
CN118045362A (en) * 2022-11-15 2024-05-17 腾讯科技(深圳)有限公司 Shop upgrading method, device, equipment and medium for making chess games in round
CN118045346A (en) * 2022-11-15 2024-05-17 腾讯科技(深圳)有限公司 Information display method, information display device, terminal device, storage medium, and program product

Also Published As

Publication number Publication date
CN112915529A (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN111282274B (en) Virtual object layout method, device, terminal and storage medium
CN112915529B (en) Method, device, terminal and storage medium for acquiring chessman role
CN111249730B (en) Virtual object control method, device, equipment and readable storage medium
CN109529319B (en) Display method and device of interface control and storage medium
CN110141859B (en) Virtual object control method, device, terminal and storage medium
CN110694261A (en) Method, terminal and storage medium for controlling virtual object to attack
CN108671543A (en) Labelled element display methods, computer equipment and storage medium in virtual scene
CN112891944B (en) Interaction method and device based on virtual scene, computer equipment and storage medium
CN110694273A (en) Method, device, terminal and storage medium for controlling virtual object to use prop
CN111672126B (en) Information display method, device, equipment and storage medium
CN112755527A (en) Virtual character display method, device, equipment and storage medium
CN111589136B (en) Virtual object control method and device, computer equipment and storage medium
CN113289331B (en) Display method and device of virtual prop, electronic equipment and storage medium
CN111589140A (en) Virtual object control method, device, terminal and storage medium
CN111921197A (en) Method, device, terminal and storage medium for displaying game playback picture
TWI802978B (en) Method and apparatus for adjusting position of widget in application, device, and storage medium
CN113509714B (en) Virtual prop synthesis preview method, device, terminal and storage medium
CN111596838B (en) Service processing method and device, computer equipment and computer readable storage medium
CN111672106B (en) Virtual scene display method and device, computer equipment and storage medium
CN113577765A (en) User interface display method, device, equipment and storage medium
CN112915538A (en) Method and device for displaying game information, terminal and storage medium
CN112704876A (en) Method, device and equipment for selecting virtual object interaction mode and storage medium
CN110180176B (en) Display method, device and equipment of war newspaper display interface and readable storage medium
WO2022237076A1 (en) Method and apparatus for controlling avatar, and device and computer-readable storage medium
CN114100133A (en) Virtual chessboard display method, terminal, storage medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40046025

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant