This application claims the benefit of JP Pat. App. No. 2021-113447 filed Jul. 8, 2021, the contents of which are incorporated herein by reference.
The present invention relates to a card game matchup system used for a card game in which multiple players respectively place game cards on a field and operate on the placed game cards.
Conventionally, in a card game, each player places cards on a player's own field and perform various operations on the cards, thereby performing a matchup. When the players are not in the same place and play the game remotely, for example, it is expected that they possess their own cards electronically, connect to a game server through Internet, and play an online matchup (see, e.g., JP2014-226564A).
However, in the online matchup played while possessing the electronic cards, each player cannot use real (actual) game cards which each player possesses, and must use a different set of cards from that used when playing face-to-face.
One of the purposes of the present invention is to realize an online matchup of a card game using real game cards.
In one aspect of the present invention, a card game matchup system used for a card game in which a first player and a second player each places a game card on a field and operates the placed game card, has a configuration which includes: a first image acquiring portion configured to acquire a first image obtained by imaging a first field where the first player places a first player's own game card to play the card game; a second image acquiring portion configured to acquire a second image obtained by imaging a second field where the second player places a second player's own game card to play the card game; a first game state recognizing portion configured to recognize a first game state including a state of the game card placed in the first field, by performing image recognition on the first image using artificial intelligence; a second game state recognizing portion configured to recognize a second game state including a state of the game card placed in the second field, by performing image recognition on the second image using artificial intelligence; and a judging portion configured to judge a state of the card game in accordance with a rule of the card game based on the first game state and the second game state.
In the above card game matchup system, the first game state may further include an operation on the game card in the first field by the first player, and the second game state may further include an operation on the game card in the second field by the second player.
In the above card game matchup system, the first image acquiring portion may be configured to acquire the first image by receiving the first image through a communication network, and the second image acquiring portion may be configured to acquire the second image by receiving the second image through a communication network.
In the above card game matchup system, the first image acquiring portion may be configured to acquire a plurality of first images imaged continuously while the card game is being played, as the first image, and the second image acquiring portion may be configured to acquire a plurality of second images imaged continuously while the card game is being played, as the second image.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize an operation on the game card in the first field by the first player, as the first game state, based on a change of the game card in the first field, by performing the image recognition on each of the plurality of first images, and the second game state recognizing portion may be configured to recognize an operation on the game card in the second field by the second player, as the second game state, based on a change of the game card in the second field, by performing the image recognition on each of the plurality of second images.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize the first game state by performing motion recognition on the plurality of first images, and the second game state recognizing portion may be configured to recognize the second game state by performing motion recognition on the plurality of second images.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize the first game state in accordance with the rule of the card game based on the game card placed in the first field and/or the operation on the game card by the first player in the first field, and the second game state recognizing portion may be configured to recognize the second game state in accordance with the rule of the card game based on the game card placed in the second field and/or the operation on the game card by the second player in the second field.
In the above card game matchup system, the judging portion may be configured to judge a violation of the rule of the card game as the state of the card game in accordance with the rule of the card game based on the first game state and the second game state.
In the above card game matchup system, the judging portion may be configured to judge a matchup situation of the card game as the state of the card game in accordance with the rule of the card game based on the first game state and the second game state.
In the above card game matchup system, the judging portion may be configured to calculate scores of the first player and the second player as the state of the card game in accordance with the rule of the card game based on the first game state and the second game state.
In the above card game matchup system, the judging portion may be configured to judge a win and a loss of the card game as the state of the card game in accordance with the rule of the card game based on the first game state and the second game state.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize the game card operated by the first player and a type of operation on the game card by the first player, as the first game state, and the second game state recognizing portion may be configured to recognize the game card operated by the second player and a type of operation on the game card by the second player, as the second game state.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize a touching operation by the first player on the game card operated by the first player, and the second game state recognizing portion may be configured to recognize a touching operation by the second player on the game card operated by the second player.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize an operation by the first player to change an orientation of the game card operated by the first player, and the second game state recognizing portion may be configured to recognize an operation by the second player to change an orientation of the game card operated by the second player.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize an operation by the first player to overlap the game card operated by the first player, and the second game state recognizing portion may be configured to recognize an operation by the second player to overlap the game card operated by the second player.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize an operation by the first player to turn the game card operated by the first player, and the second game state recognizing portion may be configured to recognize an operation by the second player to turn the game card operated by the second player.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize an operation by the first player to move the game card operated by the first player to a predetermined area, and the second game state recognizing portion may be configured to recognize an operation by the second player to move the game card operated by the second player to a predetermined area.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize a type of operation by the first player based on a hand of the first player and/or states of the game card before and after the operation.
In the above card game matchup system, the card game may be a turn-based game, and the judging portion may be configured to recognize an end of a turn of the first player in accordance with the rule of the card game based on the first game state, and recognize an end of a turn of the second player in accordance with the rule of the card game based on the second game state.
In the above card game matchup system, the card game may be a turn-based game, and the card game matchup system may further include: a first turn switching instructing portion configured such that the first player instructs a switch of a turn; and a second turn switching instructing portion configured such that the second player instructs a switch of a turn, and the judging portion is configured to switch the turn in response to an instruction to the first turn switching instructing portion and the second turn switching instructing portion.
In the above card game matchup system, the card game may be a turn-based game, the first game state recognizing portion may be configured to recognize a content of the game card placed in the first field as a state of the game card placed in the first field, the second game state recognizing portion may be configured to recognize a content of the game card placed in the second field as a state of the game card placed in the second field, and the judging portion may be configured to switch a turn based on the content of the game card placed in the first field, the content of the game card placed in the second field, and an operation to draw the game card.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize a type of area on which the game card of is located, for each of a plurality of game cards, based on a relative positional relation of the plurality of game cards in the first field and/or a content of the game card in the first field, and the second game state recognizing portion may be configured to recognize a type of area on which the game card is located, for each of a plurality of game cards, based on a relative positional relation of the plurality of game cards in the second field and/or a content of the game card in the second field.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize a content of the game card placed in the first field, as a state of the game card placed in the first field, the second game state recognizing portion may be configured to recognize a content of the game card placed in the second field, as a state of the game card placed in the second field, and the judging portion may be configured to recognize a target to which the game card placed in the first field affects and a target to which the game card placed in the second field affects, as the state of the card game, based on the content of the game card placed in the first field and the content of the game card placed in the second field.
In the above card game matchup system, the first game state recognizing portion may be configured to recognize a content of the game card placed in the first field, as a state of the game card placed in the first field, the second game state recognizing portion may be configured to recognize a content of the game card placed in the second field, as a state of the game card placed in the second field, and the judging portion may be configured to provide the first player and the second player with an option in the card game based on the content of the game card placed in the first field and the content of the game card placed in the second field.
In the above card game matchup system, the judging portion may be configured to further generate guide information based on the state of the card game.
The above card game matchup system may further include: the first player image acquiring portion is configured to acquire a first player image obtained by imaging the first player; and the second player image acquiring portion is configured to acquire a second player image obtained by imaging the second player, the first game state recognizing portion is configured to recognize a motion of the first player by performing image recognition on the first player image using artificial intelligence, the second game state recognizing portion may be configured to recognize a motion of the second player by performing image recognition on the second player image using artificial intelligence, and the judging portion may be configured to judge the state of the card game based on the motion of the first player and the second player.
The above card game matchup system may further include an image information generating portion configured to generate judgment screen information to indicate a judging result by the judging portion.
The above card game matchup system may further include: a third image acquiring portion configured to acquire a third image obtained by imaging a third field where the third player places a third player's own game card to play the card game; and a third game state recognizing portion configured to recognize a third game state including a state of the game card placed in the third field, by performing image recognition on the third image using artificial intelligence, and the judging portion may be configured to further judge the state of the card game based on the third game state as well.
The above card game matchup system may further include a recording device configured to record a log of the card game.
In another aspect of the present invention, a card game matchup system used for a card game in which a first player and a second player each places a game card on a field and operates the placed game card, has a configuration which includes: an image acquiring portion configured to acquire an image obtained by imaging a first field where the first player places a first player's own game card to play the card game and a second field where the second player places a second player's own game card to play the card game; a game state recognizing portion configured to recognize a game state including a state of the game cards placed in the first field and the second field, by performing image recognition on the image using artificial intelligence; and a judging portion configured to judge a state of the card game in accordance with a rule of the card game based on the game state.
In another aspect of the present invention, a card game matchup system used for a card game in which a first player and a second player each places a game card on a field and operates the placed game card, has a configuration which includes: a first image acquiring portion configured to acquire a first image obtained by imaging a first field where the first player places a first player's own game card to play the card game; a first game state recognizing portion configured to recognize a first game state including a state of the game card placed in the first field, by performing image recognition on the first image using artificial intelligence; a second game state determining portion configured to a second game state including a state of the game card of the second player, based on a random number and/or by inputting the first game state into artificial intelligence; and a judging portion configured to judge a state of the card game in accordance with a rule of the card game based on the first game state and the second game state.
In another aspect of the present invention, a card game matchup system used in a card game played by placing a game card on a field and operating on the placed game card, has a configuration which includes: a first game state determining portion configured to determine a first game state including a state of a game card of a first player; a second game state determining portion configured to determine a second game state including a state of a game card of a second player; and a judging portion configured to judge a state of the card game in accordance with a rule of the card game based on the first game state and the second game state, and in which the first game state determining portion is configured to determine the first game state to be taken next by inputting the first game state and the second game state to artificial intelligence, and the second game state determining portion is configured to determine the second game state to be taken next by inputting the first game state and the second game state to the artificial intelligence, and which further includes a learning portion configured to perform learning to the artificial intelligence based on the state of the card game.
In another aspect of the present invention, a card game matchup system used for a card game in which a first player and a second player each places a game card on a field and operates the placed game card, has a configuration in which the game card includes a built-in RFID tag configured to store a content of the game card, and which includes: a first reading portion configured to read the RFID tag within the game card in a first field where the first player places a first player's own game card to play the card game; a second reading portion configured to read the RFID tag within the game card in a second field where the second player places a second player's own game card to play the card game; and a judging portion configured to judge a matchup situation of the card game in accordance with a rule of the card game based on a reading result by the first reading portion and a reading result by the second reading portion.
The first player device 10 includes an imaging portion 11, a meeting processing portion 12, and a display portion 13. The second player device 20 includes an imaging portion 21, a meeting processing portion 22, and a display portion 23. Since the first player device 10 and the second player device 20 have the same configuration, the first player device 10 will be described below.
The imaging portion 11 is a digital camera, and continuously images a game field of the first player to generate continuous images while the card game is being played. The meeting processing portion 12 executes a web meeting whose members are the first player device 10, the second player device 20, and the host device 50. The display portion 13 is a display which displays a screen in the Web meeting, that is, a screen provided by the second player device 20 and a screen provided by the host device 50, and a screen imaged by its own imaging portion 11.
The first player device 10 is formed of a personal computer (PC), for example. In this case, the imaging portion 11 is provided in a notebook PC, and the meeting processing portion 12 is a Web meeting service, for example, zoom (registered trademark) by Zoom Communications Inc., skype (registered trademark) by Microsoft Inc., Teams (registered trademark) by Microsoft Inc., and Meet by Google Inc., etc., and the meeting processing portion 12 is realized by executing these software on the PC. The display portion 13 is a monitor of the PC. The first player device 10 may be realized by a smartphone, a tablet terminal, or other digital device. A part of the imaging portion 11, the meeting processing portion 12, and the display portion 13 may be provided in the other device. For example, the first player device 10 is formed by connecting a web camera as the imaging portion 11 to the PC provided with the meeting processing portion 12 and the display portion 13.
The imaging portion 11 images a field on which the first player places first player's own game cards to play the card game (hereinafter referred to as the “first field”) to generate a first image. The meeting processing portion 12 transmits this first image to the host device 50 and the second player device 20 through the communication network, as a screen of the first player device 10. Although omitted in
The web camera images the first field in front of the monitor. The player plays the game by operating the game cards in the first field in front of oneself while viewing the monitor to check a second image imaging a second field of an opponent and a host image (describe below).
The meeting processing portion 12 acquires the first image generated by the imaging portion 11, and also the second image sent from the second player device 20, and the image generated by an image information generating portion 58 (described below) of the host device 50 and sent from the host device 50, and displays them together on the display portion 13.
The host device 50 is formed of a personal computer. The host device 50 includes a meeting processing portion 51 and a game processing portion 52. The meeting processing portion 51 is the Web meeting service described above. The game processing portion 52 is realized by executing a game processing program according to the present embodiment by an arithmetic unit of the personal computer.
The game processing portion 52 includes a first image acquiring portion 53, a second image acquiring portion 54, a first game state recognizing portion 55, a second game state recognizing portion 56, Judging portion 57, and an image information generating portion 58. The meeting processing portion 51 acquires the images from the first player device 10 and the second player device 20, respectively, by means of the Web meeting service, and sent them to the first image acquiring portion 53 and the second image acquiring portion 54 of the game processing portion 52, respectively.
The first image acquiring portion 53 acquires the first image obtained by imaging the first field of the first player from the meeting processing portion 51. The second image acquiring portion 54 acquires the second image obtained by imaging the second field of the second player from the meeting processing portion 51. The first game state recognizing portion 55 recognizes a first game state by performing image recognition on the first image using artificial intelligence. The second game state recognizing portion 56 recognizes the second game state by performing image recognition on the second image using artificial intelligence.
Since the processing for recognition of the first game state by the first game state recognizing portion 55 and the processing for recognition of the second game state by the second game state recognizing portion 56 are the same, the recognition of the first game state by the first game state recognizing portion 55 is described below. The first game state recognized by the first game state recognizing portion 55 includes a state of the game cards (the deck 81 and the card hand 82) in the first field and an operation by the first player on the game cards (the deck 81 and the card hand 82) in the first field.
The first game state recognizing portion 55 first recognizes the game cards in the first image by performing image recognition on the first image. In this image recognition, the first game state recognizing portion 55 recognizes each game card using the artificial intelligence. Specifically, the first game state recognizing portion 55 extracts each game card from the first image based on machine learning in which the back side surface and the front side surface of the game card are learned. The same pattern is provided on the back side surface of each game card, and one of multiple types of characters and a character characteristic thereof are drawn on the front side surface of the game card.
For this machine learning, a neural network such as a convolutional neural network (CNN), for example, may be used. In this case, this neural network has learned the front side surfaces of multiple types of game cards, and when the front side surface of the game card is shown in the first image, it is possible to identify the type (the character) of the game card. The first game state recognizing portion 55 includes a database for each game card, and when the game card in the first image is identified, it is possible to identify the characteristic of this game card in the first image referring to the database.
Next, the first game state recognizing portion 55 recognizes each area 83-85 in the first image from relative positional relationships of each recognized game card. The areas 83-85 may be fixed in the first image. In this case, the first player adjusts position and orientation of the imaging portion 11 so that the corresponding game cards are positioned in the areas 83-85 fixed in the first image, and images the first field.
As shown in
The first game state recognizing portion 55 (1) recognizes the game state by performing image recognition on a single first image (a still image), (2) recognizes the game state by performing image recognition on multiple first images (still images) and detecting changes therebetween, or (3) recognizes the game state by performing motion recognition on multiple first images.
(1) Recognition of Game State by Image Recognition on Single First Image:
When the first game state recognizing portion 55 recognizes the back side surface of the game card in image recognition, it recognizes that the game card is placed face-down. Moreover, when the first game state recognizing portion 55 recognizes the specific type (character) of the game card in image recognition, it recognizes that the game card is placed face-up.
The first game state recognizing portion 55 compares the lateral length and the longitudinal length of the game card recognized by image recognition in the first image and recognizes whether the game card is oriented longitudinally or laterally. That is, the first game state recognizing portion 55 recognizes that the game card is oriented longitudinally when the longitudinal length is longer than the lateral length of the recognized game card, and recognizes that the game card is oriented laterally when the lateral length is longer than the longitudinal length of the recognized game card.
The first game state recognizing portion 55 determines whether or not multiple game cards are overlapped based on the distance between specified points (for example, the upper left corner) of the game cards recognized in image recognition. When the distance between the upper left corners of the two game cards is shorter than the longitudinal and lateral length of the cards, the first game state recognizing portion 55 recognizes that the two game cards are overlapped. Then, the first game state recognizing portion 55 recognizes that the entirely visible game card is placed on the upper side and the partially hidden game card is placed on the lower side.
In machine learning used for image recognition, the partially hidden game card can be learned, or only the part on the upper side or the part on the lower side of the game cards can be learned, such that the lower game card can be recognized even when the game cards are overlapped. In the case where an area of each game card is segmented in image recognition, for example, by semantic segmentation, the overlap can be recognized directly in image recognition.
(2) Recognition of Game State by Detecting Changes in Multiple First Images (Still Images):
The operation by the first player on the game card, such as a touch, a move, and a turn, can be recognized by detecting change between two first images. That is, content, orientation, area, etc. of the game card in the first field is recognized at a certain time t, and then the contents, orientation, area, etc. of the game card in the same first field is recognized at a later time t+1, it is recognized that a turning operation is performed with respect to the game card whose face of up and down is changed, a moving operation is performed with respect to the game card whose position is changed, and a touching operation is performed with respect to the game card on which the hand is not recognized at the time t but the hand touches at the time t+1.
(3) Recognition of Game State by Motion Recognition:
The first game state recognizing portion 55 recognizes a motion by the hand of the first player in the first image using a neural network for motion recognition such as, for example, a recurrent neural network (RNN), a long short term memory (LSTM), a 3D-CNN. The first game state recognizing portion 55 can recognize not only an operation by the first player on the game card, such as a touch, a move, and a turn, but also the state of the game cards, such as the face of up and down, an orientation of longitudinal and lateral, and an overlap.
As described above, the first game state recognizing portion 55 recognizes the first game state including the state of the game card in the first field and the operation on the game card by the first player, by means of the image recognition, the comparison between the image recognition results, and the motion recognition. The first game state recognizing portion 55 outputs the recognized first game state to the judging portion 57. The second game state recognizing portion 55 also recognizes a second game state including states of the game cards in the second field and operations on the game cards by the second player, by means of image recognition, a comparison between image recognition results, and a motion recognition, and outputs the recognized second game state to the judging portion 57.
The judging portion 57 judges a state of the card game based on the first game state and the second game state in accordance with rules of the card game. Specifically, the judging portion 57 judges a violation of the rules of the card game as the state of the card game in accordance with the rules of the card game based on the first game state and the second game state. In this case, the judging portion 57 determines operations which the first player and the second player can and cannot perform in each scene of the game, and judges the rule violation when the operation which they cannot perform is performed in the first game state or the second game state.
The judging section 57 also judges a win and a loss of the card game as the card game state in accordance with the rules of the card game based on the first game state and the second game state. In this case, the rules stored in the judging portion 57 include criteria for judging the win and the loss, and the judging portion 57 judges which of the players wins or losses in the first game state and the second game state in light of the criteria for judging the win and the loss. In the case where the card game is a form of game in which points are got or points (life points) are spent, the judging portion 57 calculates an increase and a decrease of the points of each player in accordance with the rules based on the first game state and the second game state. Then, the win and the loss are judged in accordance with the points which the first player and the second player have respectively.
In the case where the card game is turn-based, the judging portion 57 also judges which turn of the first player and the second player it is based on the first game state and the second game state. The rules stored in the judging portion 57 includes criteria for changing the turn, and the judging portion 57 judges whether or not to transfer the turn to the other player in light of this criteria for changing the turn based on the card state of the player whom the turn is given to.
The image information generating portion 58 generates screen information reflecting the judgment result by the judging portion 57 and outputs it to the meeting processing portion 51. The meeting processing portion 51 sends this screen information to the first player device 10 and second player device 20 as the host image of the host device 50. Thereby, as shown in
As shown in
As described above, the card game matchup system according to the present embodiment allows to play the card game matchup using the real (actual) game cards even when the players are separated from each other. Moreover, there is no need to prepare a special card game matchup server for such online card game matchup, and it is possible to use a general Web meeting system. That is, the first player device 10, the second player device 20, and the host device 50 may connect to the general Web meeting system as normal meeting participants, and the card game matchup system 101 described above can be realized simply by operating the host device 50 using a program according to the embodiment of the present invention
In the case where the card game is a form of game played by three or more players, the card game matchup system can be realized as is similar to described above by adding the similar player devices to the first player device 10 and the second player device 2.
The card game matchup system 102 includes a first player device 10′, a second player device 20′, and a host device 50′. Since the first player device 10′ and the second player device 20′ have the same configuration, the first player device 10′ is described. The first player device 10′ incudes an imaging portion 11, a first game state recognizing portion 55, a display portion 13, and a communicating portion 14. In the first embodiment, the general web meeting system is used, but in the present embodiment, the first player device 10′, the second player device 20′, and the host device 50′ perform various processing and communication with each other by each executing a program according to the present embodiment.
The first game state recognizing portion 55 recognizes the first game state by performing image recognition on the first image generated by the imaging portion 11, as is similar to in the first embodiment. The communicating portion 14 transmits the first game state recognized by the first game state recognizing portion 55 along with the first image obtained by the imaging portion 11 to the host device 50
In the host device 50′, a communicating portion 59 receives the first image and the first game state transmitted from the first player device 10′, a second image and a second game state transmitted from the second player device 20′. A judging portion 57 judges a state of a card game based on the first game state and the second game state. An image information generating portion 58 generates a host image based on the judgment result by the judging portion 57. The communicating portion 59 transmits the second image and the host image to the first player device 10′ and transmits the first image and the host image to the second player device 20′.
The card game matchup system 102 according to the present embodiment also allows that the first player and the second player who are located separately from each other play an online matchup of a card game using non-electrical real game cards.
The first player device 10″ includes an imaging portion 11, a first game state recognizing portion 55, a first judging portion 571, a communicating portion 14, a first image information generating portion 581, and a display portion 13. The second player device 20″ includes an imaging portion 21, a second game state recognizing portion 56, a second judging portion 572, a communicating portion 24, a second image information generating portion 582, and a display portion 23. The first game state recognizing portion 55 recognizes a first game state by performing image recognition on a first image generated by the imaging portion 11. The second game state recognizing portion 56 recognizes a second game state by performing image recognition on a second image generated by the imaging portion 21.
The first player device 10″ and the second player device 20″ is realized by executing a card game matchup program according to the present embodiment on a note PC.
The communicating portion 14 transmits the first image and the first game state to the second player device 20″ through a communication network NW, and the communicating portion 24 transmits the second image and the second game state to the first player device 10″ through the communication network NW. The first judging portion 571 judges a state of a card game base on the first game state recognized by the first game state recognizing portion 55 and the second game state received by the communicating portion 14 from the second player device 20″. This judging process is the similar to the process of the judging portion 57 according to the first and second embodiments. The second judging portion 572 similarly judges the state of the card game based on the second game state recognized by the second game state recognizing portion 56 and the first game state received by the communicating portion 24 from the first player device 10″. This judging process is also similar to the process of the judging portion 57 according to the first and second embodiments.
The first image information generating portion 581 generates a host image based on the judging result by the first judging portion 571. The display portion 13 displays a screen including the host image generated by the first image information generating portion 581, the second image received by the communicating portion 14 from the second player device 20″, and the first image generated by the imaging portion 11. The second image information generating portion 582 similarly generates the host image based on the judging result by the second judging portion 572. The display portion 23 displays a screen including the host image generated by the second image information generating portion 582, the first image received by the communicating portion 24 from the first player device 10″, and the second image generated by the imaging portion 21.
The card game matchup system 103 according to the present embodiment does not need the host device, and can be formed of the first player device 10″ and the second player device 20″.
In the above embodiments, the card game matchup system is a system used when the first player and the second player play against each other, but instead of this or in addition to this, a card game matchup system may be a system in which a first player can play against a computer player. That is, the card game matchup system may be a card game matchup system used for a card game in which the first player places game cards on the field and operates on the placed game cards.
The card game matchup system 104 includes a first image acquiring portion 53 which acquires a first image obtained by imaging a first field in which the first player places first player's own game cards to play a card game, for the first player, and a first game state recognizing portion 55 which recognizes the first game state including a state of the game cards placed in the first field, by performing image recognition on the first image using the artificial intelligence.
That is, in the above embodiments, the second game state is determined based on the game cards placed in the second field by the second player and the operations by the second player on them, but in the present variant example, the second game state is determined by the calculation by the second game state determining portion 62.
The judging portion 57 judges a state of the card game in accordance with rules of the card game based on the first game state recognized by the first game state recognizing portion 55 and the second game state determined by the second game state determining portion 62. The card game matchup system 104 according to the present embodiment allows that a player with real game cards plays against a computer player using those real game cards.
In the fourth embodiment, the computer player plays against the real player, but these computer players may play against each other to perform learning of a game state determining portion which determines a game state by computer operation.
The card game matchup system 105 further includes a judging portion 57 which judges a state of the card game in accordance with rules of the card game based on the first game state and the second game state, and a learning portion 64 which performs learning of the artificial intelligence based on the card game state judged by the judging portion 57. The artificial intelligence learned in the learning section 64 is used in the first game state determining portion 63 and the second game state determining portion 62.
In the above embodiments, the first game state and the second game state are recognized by imaging the real game cards placed in the first field and the second field to generate the images, and analyzing the images. Alternatively, a game state with the real game cards may be recognized using RFID. In this case, each game card includes a built-in RFID tag which stores its content.
The card game matchup system 106 includes a first player device 10, a second player device 20, and a host device 50. The first player device 10 includes a RFID reading device 15 which reads RFID tags of game cards of the first field in which the first player places first player's own game cards to play the card game, a display portion 13, and a communicating portion 14. The second player device 20 includes a RFID reading device 25 which reads RFID tags of game cards of the second field in which the second player places second player's own game cards to play the card game, a display portion 23, and a communicating portion 24.
The host device 50 includes a communicating portion 59 and a game processing portion 52. The game processing portion 52 includes a first RFID acquiring portion 65 which acquires the reading results by the RFID reading portion 15, a second RFID acquiring portion 66 which acquires the reading results by the RFID reading portion 25. The judging portion 57 judges the matchup situation in accordance with rules of the card game based on the reading result of the RFID reading portion 15 and the reading result of the RFID reading portion 25.
The present embodiment allows to grasp the first game state of the first field and the second game state of the second field by using the RFID tag embedded in the game card and the RFID reading device, instead of using the camera and the image recognition.
In the first to third embodiments described above, one imaging portion (camera) is used for one player to image the field of the player, but in addition to this, the first and second player device may include an imaging portion (camera) for imaging the player. This imaging portion images a movement of the player. A first and second game state recognizing portion 55 and the second game state recognizing portion 56 performs image recognition on the player image obtained by imaging by using artificial intelligence, and recognize the movement of the player, and a judging portion 57 judges a game state by using the recognition result as well.
In the first to third embodiments described above, an example in which the multiple players located separately play the online card game matchup is described, but the multiple players may be in the same location to play the card game. In this case, one imaging portion may image the first field and the second field to judge a game state by using it. In this case, one game state recognizing portion performs image recognition on the imaged image to recognize the game state of the first player and the game state of the second player. A judging portion judges a card game state by using each recognized game state of the first player and the second player, and an image information generating portion generates a host image which reflects the judgment result of the judging portion.
In this case, only one display may also be provided in a position where both the first player and the second player can see it, or the display portion may be provided so that spectators watching the game played by the first player and the second player can see it. The host image may be displayed in the display portion along with the images imaging the first field and the second field, or only the host image may be displayed.
The judging portion 57 may also judge a matchup situation of the card game as the card game state in accordance with rules of the card game based on the first game state and the second game state. The matchup situation of the card game may be, for example, information indicating whether and to what extent the first player or the second player have an advantage. The judging portion 57 may also calculate each score of the first player and the second player as the state of the card game in accordance with the rules of the card game based on the first game state and the second game state. The image information generating portion 58 may generate the host image 43 including these matchup situation and score.
Although the above embodiments recognize the end of the turn of each player based on the first game state and the second game state and switch the turn, the turn switching is not limited to this. For example, the card game matchup system may further include a first turn switching instructing device by which the first player instructs the turn switching and a second turn switching instructing device by which the second player instructs the turn switching. These first turn switching instructing device and the second turn switching instructing device may be provided as separate devices from the first player device 10 and the second player device 20, or the first turn switching instructing device may be provided as a function of the first player device 10 and configured in the first player device 10 by software, and the second turn switching instructing device may be provided as a function of the second player device 20 and configured in the second player device 20 by software. In this case, a judging portion 57 may switch the turn in response to instructions to the first switching instructing devices and the second turn switching instructing devices.
In the case where the card game is a turn-based game, a first game state recognizing portion 55 may recognize contents of game cards placed in a first field as a state of the game cards placed in the first field, a second game state recognizing portion 56 may recognize contents of game cards placed in a second field as a state of the game cards placed in the second field. In this case, a judging portion 57 may switch a turn based on the contents of the game cards placed in the first field, the contents of the game cards placed in the second field, and operations to draw the game cards.
In the case where the first game state recognizing portion 55 recognizes the contents of the game cards placed in the first field and the second game state recognizing portion 56 recognizes the contents of the game cards placed in the second field, a judging portion 57 recognize a target to which a game card placed in the first field affects and a target to which a game card placed in the second field affects based on a content of the game card placed in the first field and a content of the game card placed in the second field. For example, in the case where a content of a game card of an opponent to which an attack affects is limited by the content of the game card, it may be recognized which game cards in the second field the attack affects by the game card placed in the first field. In this case, an image information generating portion 58 may also generate a host image 43 indicating the game card to affect and the game card recognized as the target to be affected by this game card.
In the case where the first game state recognizing portion 55 recognizes the content of the game card placed in the first field and the second game state recognizing portion 56 recognizes the content of the game card placed in the second field, a judging portion 57 may present a first player and a second player with an option in a card game based on the content of the game card placed in the first field and the content of the game card placed in the second field. In this case, the image information generating portion 58 may also generate a host image 43 which presents the option.
A judging portion 57 may further generate guide information based on a state of a card game. An image information generating portion 58 may generate a host image 43 including the guide information. Here, the guide information may be, for example, information guiding a first player or a second player on next action to be taken or which can be taken.
A card game matchup system may further include a recording device which records a log of the card game. The card game matchup system may further include a rating device which rates each player according to the log recorded in this recording device.
Moreover, each component in the first to sixth embodiments and the variant examples thereof described above can be combined appropriately as long as they do not contradict each other.
Number | Date | Country | Kind |
---|---|---|---|
2021-113447 | Jul 2021 | JP | national |