Summary of the invention
The embodiment of the present invention is designed to provide a kind of Random Factor Mahjong display methods, device, to improve the aobvious of mah-jong pieces
Show effect, improves the attention rate of user.Specific technical solution is as follows:
To solve the above-mentioned problems, the embodiment of the invention provides a kind of Random Factor Mahjong display methods, which comprises
Determine current abandoning board;
Determine the public display area of the graphical interfaces of the Random Factor Mahjong;
Amplification shows the current abandoning board in the public display area.
Optionally, described the step of amplification shows the current abandoning board in the public display area, comprising:
Amplification shows the current abandoning board in the public display area;
After preset duration, the current abandoning board is reduced.
Optionally, the method also includes:
When the abandoning board that the current abandoning board is other players, judge that the current abandoning board can be grasped with whether current hands are constituted
Make relationship, wherein it is described can operative relationship be to eat board, touch board, thick stick board and/or the relationship won the game;
If so, can operative relationship described in amplification display in the public display area.
It optionally, can be before operative relationship described in amplification display in the public display area, further includes:
Creation painting canvas identical with the public display area size;
The painting canvas is filled into the public display area.
Optionally, it is described in the public display area amplification display described in can operative relationship the step of, comprising:
From pre-stored mah-jong pieces picture library, obtain with it is described can operative relationship and the corresponding fiber crops of the current abandoning board
By board picture;
The mah-jong pieces picture that will acquire, which amplifies, to be shown in the public display area.
The embodiment of the invention also provides a kind of Random Factor Mahjong display device, described device includes:
First determining module, for determining current abandoning board;
Second determining module, the public display area of the graphical interfaces for determining the Random Factor Mahjong;
Display module, for the amplification display current abandoning board in the public display area.
Optionally, the display module, is specifically used for:
Amplification shows the current abandoning board in the public display area;
After preset duration, the current abandoning board is reduced.
Optionally, described device further include:
Judgment module, for judging the current abandoning board and working as remote holder when the abandoning board that the current abandoning board is other players
Whether board is constituted can operative relationship, wherein it is described can operative relationship be to eat board, touch board, thick stick board and/or the relationship won the game;
The display module, if be also used to the current abandoning board and current hands constitute can operative relationship, described public
It can operative relationship described in amplification display in display area.
Optionally, described device further include:
Creation module, for creating painting canvas identical with the public display area size;
Module is filled, for filling the painting canvas into the public display area.
Optionally, the display module, is specifically used for:
From pre-stored mah-jong pieces picture library, obtain with it is described can operative relationship and the corresponding fiber crops of the current abandoning board
By board picture;
The mah-jong pieces picture that will acquire, which amplifies, to be shown in the public display area.
The embodiment of the invention also provides a kind of electronic equipment, including processor, communication interface, memory and communication are total
Line, wherein processor, communication interface, memory complete mutual communication by communication bus;Memory, based on storing
Calculation machine program;Processor when for executing the program stored on memory, realizes any of the above-described method and step.
The embodiment of the invention also provides a kind of computer readable storage medium, the computer readable storage medium memory
Computer program is contained, the computer program realizes any of the above-described method and step when being executed by processor.
Random Factor Mahjong display methods provided in an embodiment of the present invention, device, determine it is current abandon board, determine the figure of Random Factor Mahjong
The public display area at shape interface, amplification display is current in public display area abandons board.As it can be seen that in the embodiment of the present invention, it will
It is current to abandon board amplification display, it enables to display effect to become apparent from, improves user to the current attention rate for abandoning board.
Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach all the above excellent
Point.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to improve the display effect of mah-jong pieces, the attention rate of user is improved, the embodiment of the invention provides a kind of mahjong
Game display methods, this method can be applied to the client of mahjong game system, can be used for the clothes of mahjong game system
Business device.Referring to Fig. 1, which can be applied to include the following steps.
S101: current abandoning board is determined.
In embodiments of the present invention, it currently abandons board and refers to the board that player currently gets, all players are it can be seen that the abandoning
Board.
For example, there is four players of first, second, third and fourth, play a card if currently taking turns to player's second, and player's second currently play a card for
" three ", then currently abandoning board is " three ", which can also be seen except that can be seen by second by first, Bing Heding.
S102: the public display area of the graphical interfaces of Random Factor Mahjong is determined.
In embodiments of the present invention, the graphical interfaces of Random Factor Mahjong can be divided into public display area and hands viewing area
Domain, wherein public display area is the common region of all players, i.e., all players of board in this region can see.
Public display area can show the abandoning board of all players and eating board, touching board, thick stick board and win the game for other players.Hands are aobvious
Show that region is the region that current player uses.Hands display area can show the hands and current player of current player
Board is eaten, board, thick stick board is touched and wins the game.
In embodiments of the present invention, for the graphical interfaces of current player, the top half of graphical interfaces can be determined
For public display area, lower half portion is determined as hands display area, as shown in Figure 2.
S103: amplification display is current in public display area abandons board.
In embodiments of the present invention, the abandoning board that player gets every time can be amplified into display in public display area.
For example, there is four players of first, second, third and fourth, graphical interfaces shown in Fig. 2 is a kind of graphical interfaces of player's first,
I.e. current player is player's first.If currently taking turns to player's second to play a card, and player's second is currently played a card as " three ", i.e., currently abandoning board is
" three ", then amplification shows the current abandoning board in the public display area of the graphical interfaces of player's first, as shown in Figure 2.In addition,
Player's second, third and fourth graphical interfaces public display area in can also amplify show the current abandoning board, be not shown in the figure.
As it can be seen that Random Factor Mahjong display methods provided in an embodiment of the present invention, can amplify the current abandoning board of display player, from
And improve the display effect of mah-jong pieces, improve the attention rate of user.
It in one embodiment of the invention, can be in public display in order to become apparent from the display effect for currently abandoning board
Board is currently abandoned in the central location amplification display in region, and maintains preset duration, i.e., after amplification shows current abandoning board preset duration,
Reduce the current abandoning board.
It is illustrated now in conjunction with Fig. 3 and Fig. 4, graphical interfaces shown in Fig. 3 is a kind of graphical interfaces of player's first, Fig. 4 institute
The graphical interfaces shown is a kind of graphical interfaces of player's second.Assuming that preset duration is 1 second, if currently taking turns to player's second gets " three
" three " board, then can be moved to the central location of public display area, and amplify by cylinder " from the head portrait near zone of player's second
Display reduces " three " board after maintaining 1 second, and " three " board after diminution is moved back to the head portrait near zone of player's second, can be with
Effect diagram shown in Figure 3.
Wherein, Wan Jiajia, second, third and the head portrait position of fourth can be selected according to the actual situation, the embodiment of the present invention
It does not limit this.
As it can be seen that will currently abandon board first amplifies display, the display mode of display is reduced after continuing for some time, and can make to work as
The preceding display effect for abandoning board becomes apparent from.
In one embodiment of the invention, if currently abandoning the abandoning board that board is other players, it can be determined that it is current abandon board with
Whether current hands are constituted can operative relationship, wherein can operative relationship be to eat board, touch board, thick stick board and/or the relationship won the game.If
It is that then amplification display can operative relationship in public display area.
It in one embodiment of the invention, in advance can operative relationship and mah-jong pieces picture for better display effect
The corresponding relationship in face is stored in mah-jong pieces picture library.Mah-jong pieces picture library is used to storing can operative relationship and mah-jong pieces picture
Corresponding relationship.When determine it is current abandon board and current hands are constituted can operative relationship after, from pre-stored mah-jong pieces picture library
It is middle obtain it is determining can the corresponding mah-jong pieces picture of operative relationship.It can operative relationship and its corresponding mah-jong pieces picture by determining
Face, which is amplified, to be shown in public display area.
For example, referring to fig. 2, existing player's first, second, Bing Heding, graphical interfaces shown in Fig. 2 are the figure of player's first
Interface.It currently takes turns to player's second to play a card, and player's second gets " three ", if in the hands of player's first including " one " and " two
" one " and " two " of cylinder ", then player's second is got " three " and player's first hands constitute eat board can operative relationship;If
It include two " three " in the hands of player's first, then two " three " compositions of player's second is got " three " and player's first hands
That touches board can operative relationship;If in the hands of player's first including three " three ", " three " and player that player's second is got
What three " three " of first hands constituted thick stick board can operative relationship;If the hands of player's first are constituted plus one " three "
Board type, then player's second is got " three " and player's first hands constitute win the game can operative relationship.It above-mentioned eat board constituting, touch
Board, thick stick board and/or win the game can operative relationship when, can by constituted can operative relationship, and can operative relationship it is corresponding
Mah-jong pieces picture, which amplifies, is shown in public display area, as shown in Figure 2.
In one embodiment of the invention, in order to more highlight can operative relationship and corresponding mah-jong pieces picture, can
First to create painting canvas identical with public display area size, painting canvas is filled into public display area, then pass can be operated
System and corresponding mah-jong pieces picture, which amplify, to be shown in public display area.
Since painting canvas is filled to public display area, then can operative relationship and the amplification of mah-jong pieces picture be shown in public affairs
With in display area, as by can be in the painting canvas that is shown in public display area of operative relationship and the amplification of mah-jong pieces picture.
In the embodiment of the present invention, above-mentioned painting canvas is nontransparent color.Pass can be operated in the abandoning board of player and itself hands composition
After system, in painting canvas amplification display abandon board, can operative relationship and corresponding mah-jong pieces picture, may refer to shown in fig. 5 aobvious
Show effect diagram.Nontransparent color painting canvas can cover except above-mentioned abandoning board, can operative relationship and corresponding mah-jong pieces picture it
Other outer display contents, thus improve player to abandon board, can operative relationship and corresponding mah-jong pieces picture attention rate.
It is briefly described below with reference to process of the Fig. 6 to Random Factor Mahjong display methods.Mahjong game system includes service
Device and client.
In Random Factor Mahjong progress, for current player, server can read each abandoning board of other players, and judge it
His abandoning board of player and the hands of current player whether constitute can operative relationship, if constitute can operative relationship, can will constitute
Can operative relationship be sent to client.If constituting inoperable relationship, server is directly by the current abandoning of other players
Board is sent to client.Client can amplify display reception in the graphical interfaces of current player can operative relationship or current abandoning
Board, for current player operation.
After the completion of current player operation, client can send operation information to server, wherein include in operation information
The operation that current player is completed.Server can first judge whether the operation information is correct after receiving operation information, if just
Really, then it can be based on feedback data to client feedback data, client shows the corresponding behaviour of operation that current player is completed
Make picture.To return to the abandoning board step that server reads other players.
Process shown in Fig. 6 can also be completed by client.The embodiment of the present invention is to this without limiting.
Based on identical inventive concept, according to above-mentioned Random Factor Mahjong display methods embodiment, the embodiment of the present invention is also provided
A kind of Random Factor Mahjong display device may include with lower module referring to Fig. 7:
First determining module 701, for determining current abandoning board.
Second determining module 702, the public display area of the graphical interfaces for determining Random Factor Mahjong.
Display module 703, for the current abandoning board of amplification display in public display area.
As it can be seen that Random Factor Mahjong display device provided in an embodiment of the present invention, determines current abandoning board, determines the figure of Random Factor Mahjong
The public display area at shape interface, amplification display is current in public display area abandons board.As it can be seen that in the embodiment of the present invention, it will
It is current to abandon board amplification display, it enables to display effect to become apparent from, improves user to the current attention rate for abandoning board.
In embodiments of the present invention, display module specifically can be used for: amplification display is current in public display area abandons
Board reduces current abandoning board after preset duration.
In embodiments of the present invention, on the basis of Random Factor Mahjong display device shown in Fig. 7, can also include;
Judgment module, for ought currently abandon the abandoning board that board is other players, judge it is current abandon board and current hands whether structure
At can operative relationship, wherein can operative relationship be to eat board, touch board, thick stick board and/or the relationship won the game;
Wherein, display module 703, if can be also used for currently abandoning board and current hands constitute can operative relationship, public
Amplification display can operative relationship in display area.
In embodiments of the present invention, on the basis of Random Factor Mahjong display device shown in Fig. 7, can also include;Create mould
Block, for creating painting canvas identical with public display area size.Module is filled, for filling painting canvas to public display area
In.
In embodiments of the present invention, display module 703 specifically can be used for: from pre-stored mah-jong pieces picture library,
Obtain with can operative relationship and the current corresponding mah-jong pieces picture of abandoning board.The mah-jong pieces picture that will acquire amplify be shown in it is public
In display area.
Based on identical inventive concept, according to above-mentioned Random Factor Mahjong display methods embodiment, the embodiment of the present invention is also provided
A kind of electronic equipment, as shown in figure 8, include processor 801, communication interface 802, memory 803 and communication bus 804,
In, processor 801, communication interface 802, memory 803 completes mutual communication by communication bus 804,
Memory 803, for storing computer program;
Processor 801 when for executing the program stored on memory 803, realizes that mahjong shown in above-mentioned Fig. 1-6 is swum
Play display methods embodiment.Wherein Random Factor Mahjong display methods includes:
Determine current abandoning board;Determine the public display area of the graphical interfaces of Random Factor Mahjong;It is put in public display area
Big display is current to abandon board.
Communication bus 804 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect,
PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus
Deng.The communication bus 804 can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, only with one in Fig. 8
Thick line indicates, it is not intended that an only bus or a type of bus.
Communication interface 802 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 803 may include random access memory (Random Access Memory, RAM), also may include
Nonvolatile memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory
803 can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor 801 can be general processor, including central processing unit (Central Processing
Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital
Signal Processing, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components.
Based on identical inventive concept, according to above-mentioned Random Factor Mahjong display methods embodiment, provided by the invention another
In embodiment, a kind of computer readable storage medium is additionally provided, computer journey is stored in the computer readable storage medium
Sequence, the computer program realize any Random Factor Mahjong display methods step shown in above-mentioned Fig. 1-6 when being executed by processor.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.It is swum especially for mahjong
For display device embodiment, electronic equipment embodiment and the computer readable storage medium embodiment of playing, due to its basic phase
It is similar to embodiment of the method, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.