TW201434516A - Method for performing chess/card by electronic device and electronic device thereof - Google Patents
Method for performing chess/card by electronic device and electronic device thereof Download PDFInfo
- Publication number
- TW201434516A TW201434516A TW102108205A TW102108205A TW201434516A TW 201434516 A TW201434516 A TW 201434516A TW 102108205 A TW102108205 A TW 102108205A TW 102108205 A TW102108205 A TW 102108205A TW 201434516 A TW201434516 A TW 201434516A
- Authority
- TW
- Taiwan
- Prior art keywords
- card
- chess
- cards
- game
- missing
- Prior art date
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本發明係關於一種以電子裝置執行棋牌之方法及其電子裝置,尤指一種以電子裝置執行棋牌之方法及其電子裝置,使現今尚未能於電子裝置上執行的棋牌遊戲得以於電子裝置上執行,提供現有棋牌遊戲軟體無法滿足使用者需求之缺陷。 The present invention relates to a method for executing a chess card by an electronic device and an electronic device thereof, and more particularly to a method for executing a chess card by an electronic device and an electronic device thereof, so that a board game that is not yet executable on the electronic device can be used on the electronic device. Execution, providing the defect that the existing board game software cannot meet the user's needs.
近幾年來各種電子產品的發展及普及化,帶動了軟體技術及型態的改變,使用者對於軟體的需求性也有不小的轉變,而電子遊戲的設計面向也因此隨之改變。 In recent years, the development and popularization of various electronic products have led to changes in software technology and types. The demand for software has also changed, and the design of video games has changed.
現有以電子裝置執行棋牌之方法,主要分成兩種,一種是於處理器中預先建立各種胡牌規則,於遊戲進行過程中,一旦判斷有遊戲角色獲得符合胡牌規則的牌組,則判定該遊戲角色獲勝,如傳統的麻將,其進行的時間長,但較具有執行上具有打牌、摸牌的樂趣,玩家須思考,可進行腦力激盪,早期相當受歡迎;另一種執行方法則是於處理器中預先建立牌組的大小規則,如21點、梭哈、比大小等,處理器一發完牌則結束,依據牌組的大小規則判斷各遊戲角色的手牌,最大者獲勝,此種遊戲進行速度快,但無須思考,容易玩膩。 The existing method for executing chess by electronic devices is mainly divided into two types. One is to pre-establish various rules of the card in the processor. In the course of the game, once it is determined that the game character obtains the card group that meets the rules of the card, it is determined. The game character wins, such as the traditional mahjong, which takes a long time, but has more fun to play cards and touch cards. The player has to think, can be brainstorming, and is very popular in the early stage; the other implementation method is to deal with The size rules of the deck are pre-established in the device, such as 21 points, stud, specific size, etc., and the processor ends when the card is finished, and the hand of each game character is judged according to the size rule of the deck, and the biggest one wins, such a game It's fast, but you don't have to think about it, it's easy to get tired.
然而,由於在早期社會的生活步調較慢,麻將 等較耗時間的遊戲軟體仍為受歡迎,但現代人的生活步調逐漸趨於繁忙,加上手持式電子裝置之普及,使得社會大眾對於遊戲軟體之需求轉變為用來消磨等車、搭車、排隊等零碎時間,不適合用來進行麻將等必須花費長時間湊足符合胡牌規則手牌之遊戲,使用者只能屈就於21點、梭哈、比大小等缺乏思考樂趣的遊戲軟體;為此,實有需提供電子裝置新的執行棋牌之方法,以使更多類型的棋牌遊戲能於電子裝置上執行,提供使用者耗時較短且具有遊戲樂趣性的棋牌遊戲,解決傳統電子遊戲無法滿足使用者需求之缺憾。 However, due to the slow pace of life in early society, mahjong Time-consuming game software is still popular, but the pace of life of modern people is becoming more and more busy, and the popularity of handheld electronic devices has turned the public's demand for game software into cars, rides, Queuing and other piecemeal time, it is not suitable for games such as mahjong, which must take a long time to make up the hand that meets the rules of the Hu card. Users can only succumb to the game software of 21 points, stud, size and other lack of fun; for this reason, There is a need to provide a new method for executing chess on an electronic device, so that more types of chess games can be executed on an electronic device, providing a chess game with a relatively short time and fun game, which can not satisfy the traditional video game. The shortcomings of user needs.
有鑑於現有棋牌類遊戲軟體所需的胡牌時間過長,不適合用來打發零碎時間,而其他類型的棋牌遊戲軟體又無法取代麻將帶來的刺激性及樂趣性之技術缺陷,本發明係提出一種以電子裝置執行棋牌之方法及其電子裝置,實現以電子裝置執行進行速度較快的棋牌類遊戲之目的。 In view of the fact that the existing chess game software requires too long a card time, it is not suitable for sending a piecemeal time, and other types of chess game software cannot replace the technical and irritating technical defects caused by mahjong, and the present invention proposes A method for executing a chess board by an electronic device and an electronic device thereof, the object of which is to execute a fast playing card game with an electronic device.
欲達上述目的係令該以電子裝置執行棋牌之方法於電子裝置的一處理器中預先儲存有一棋牌物件組及一胡牌規則資料,並設定一胡牌所需張數,該棋牌物件組中包含複數一般牌及複數特殊牌,且令該處理器於玩家人數足夠後,執行以下步驟:將對應玩家的複數遊戲角色及分別對應複數遊戲角色的複數手牌區顯示於一顯示器上,自棋牌物件組中隨機發配複數棋牌物件至各遊戲角色的手牌區,使各遊戲角色的 手牌區中有張數少於胡牌所需張數一張的棋牌物件;決定各遊戲角色是否繼續進行遊戲,係自一輸入單元接收玩家輸入的一操作指令,並檢知是否已有玩家輸入的操作指令包含設定繼續遊戲及下注額度之指令,若有,則設定對應的遊戲角色繼續進行遊戲,並將所有設定繼續遊戲的遊戲角色之下注額度加總後顯示於該顯示器;執行發牌步驟,係由該處理器依據設定繼續進行遊戲的遊戲角色數量,自該組棋牌物件組中分別取出對應張數的棋牌物件,並分別發配至繼續進行遊戲的遊戲角色之手牌區,補足胡牌所需張數;判斷胡牌步驟,係由處理器依序檢查複數手牌區,並於檢查有任一手牌區包含有特殊牌時,則依據處理器中的胡牌規則資料判斷該手牌區中一般牌對應的胡牌所缺張數,再判斷胡牌所缺張數是否少於或等於特殊牌數量,若是,則判斷為胡牌,若否,則判斷為未胡牌,並於所有遊戲角色皆判斷為未胡牌後,令各遊戲角色選擇拋棄手牌區中一棋牌物件後,再返回到決定各遊戲角色是否繼續進行遊戲之步驟。 In order to achieve the above purpose, the electronic device executes a chess card method, and a chess object group and a card rule data are pre-stored in a processor of the electronic device, and a required number of cards is set, and the card object group is set. The utility model comprises a plurality of general cards and a plurality of special cards, and after the number of players is sufficient, the following steps are performed: displaying a plurality of game characters corresponding to the player and a plurality of hand cards corresponding to the plurality of game characters respectively on a display, from the chess card A plurality of chess objects are randomly distributed in the object group to the hand area of each game character, so that each game character In the hand card area, there are a number of chess pieces that are less than the required number of cards. If it is determined whether each game character continues to play the game, an operation command input by the player is received from an input unit, and it is detected whether there is an existing player. The input operation command includes an instruction to set the game to continue and the bet amount, and if so, the corresponding game character is set to continue the game, and all the game characters below the set game play are added to the display and displayed on the display; The licensing step is the number of game characters that the processor continues to play according to the setting, and the corresponding number of chess objects are respectively taken out from the group of chess objects, and respectively distributed to the hand area of the game character that continues the game. The number of sheets required to make up the Hu card; the step of judging the Hu card is performed by the processor to check the plurality of hand cards in sequence, and when checking whether any hand card area contains a special card, it is judged according to the rules of the card in the processor. The number of cards in the hand card area corresponding to the general card is missing, and then it is judged whether the number of cards missing by the card is less than or equal to the number of special cards, and if so, it is judged to be a card. If not, it is judged that there is no card, and after all the game characters are judged as not playing cards, the game characters are selected to discard a chess object in the hand card area, and then return to determine whether each game character continues the game. step.
又,欲達上述目的係令該電子裝置包含有:一顯示器;一輸入單元,係供玩家操作,以輸入一操作指令;一處理器,係與該顯示器及該輸入單元連接,且儲存有一棋牌物件組及一胡牌規則資料,並設定一胡牌所需張數,該棋牌物件組中包含複數一般牌及複數特殊牌,該處理器內建有一棋牌執行程序,並透過輸入單元判斷玩家人 數已足夠後,始執行該棋牌執行程序;其中該棋牌執行程序包含:初始步驟,係將對應玩家人數的複數遊戲角色及分別對應複數遊戲角色的複數手牌區顯示至該顯示器,再隨機發配複數棋牌物件組至各遊戲角色的手牌區,使各遊戲角色的手牌區中顯示張數少於胡牌所需張數一張的棋牌物件;決定各遊戲角色繼續進行遊戲步驟,係接收該輸入單元的操作指令,檢知是否已有玩家輸入的操作指令包含設定繼續遊戲及下注額度之指令;若有,則設定對應的遊戲角色繼續進行遊戲,並將所有設定繼續遊戲的遊戲角色之下注額度加總後顯示於顯示器;執行發牌步驟,係由該處理器依據設定繼續進行遊戲的遊戲角色數量,自該組棋牌物件組中分別取出對應張數的棋牌物件,並分別發配至繼續進行遊戲的遊戲角色之手牌區,補足胡牌所需張數;判斷胡牌步驟,係由處理器依序檢查複數手牌區,並於檢查有任一手牌區包含有特殊牌時,則依據處理器中的胡牌規則資料判斷該手牌區中一般牌對應的胡牌所缺張數,再判斷胡牌所缺張數是否小於或等於特殊牌數量;若是,則判斷為胡牌,並將加總後的下注額度計入此一手牌區所對應遊戲角色中;若否,判斷均未有任一手牌區胡牌,則限時等待已設定繼續遊戲的各遊戲角色拋棄手牌區中一棋牌物件後,再返回到決定決定各遊戲角色是否繼續進行遊戲之步驟。 Moreover, the electronic device includes: a display; an input unit for the player to input an operation command; a processor connected to the display and the input unit, and storing a chess card An object group and a Hu card rule data, and set a required number of cards, the card object group includes a plurality of general cards and a plurality of special cards, the processor has a card execution program built therein, and the player unit is judged through the input unit After the number is sufficient, the chess execution program is executed; wherein the chess execution program includes: an initial step of displaying a plurality of game characters corresponding to the number of players and a plurality of hand cards corresponding to the plurality of game characters to the display, and then randomly distributing the game. The plurality of chess object groups are sent to the hand card area of each game character, so that the number of cards required for the number of cards required by the number of cards is less than one of the cards in the hand area of each game character; the game characters are determined to continue the game step, and the game is received. The operation instruction of the input unit detects whether the operation command input by the player includes an instruction to set the game to continue and the bet amount; if so, the corresponding game character is set to continue the game, and all the game characters that continue to play the game are set. The lower limit is displayed on the display; the execution of the licensing step is performed by the processor according to the number of game characters that continue to play according to the setting, and the corresponding number of chess objects are respectively taken out from the group of chess objects, and respectively distributed and distributed To the hand of the game character in the game to continue, the number of cards required to make up the card is determined; The processor sequentially checks the plurality of hand cards, and when it is checked that any of the hand cards includes a special card, the number of cards corresponding to the card in the hand card area is determined according to the rule data of the card in the processor. Then, it is judged whether the number of sheets missing by the Hu card is less than or equal to the number of special cards; if so, it is judged as a Hu card, and the summed bet amount is included in the game character corresponding to the hand area; if not, judging If there is no card in any hand zone, then the game characters who have set the game to continue to abandon a chess object in the hand zone, and then return to the step of deciding whether to decide whether each game character continues to play the game.
上述以電子裝置執行棋牌之方法,使電子裝置得以配合執只需反覆執行聽牌、摸牌、丟牌的棋牌遊戲,如象棋麻將,且其處理器在判斷胡牌時,不只判斷各遊戲角色手牌區的棋牌物件組是否符合胡牌規則,會更進一步對斷所缺張數,再判斷胡牌所缺張數是否小於特殊排張數,如此,在配合遊戲的執行上,即可達到讓複數特殊牌做為任意牌使用之效果,加速胡牌速度,而特殊排之數量越多,則每一局的平均胡牌速越快,遊戲軟體的設計者也可透過增減棋牌物件組中特殊牌的數量,較容易設計出貼近市場需求的遊戲軟體。 The above method for executing a chess card by an electronic device enables the electronic device to cooperate with a chess game that repeatedly performs a draw, a card, or a lost card, such as a chess mahjong, and the processor not only judges each game character when judging the card. Whether the chess object group in the hand card area meets the rules of the Hu card, will further reduce the number of sheets missing, and then determine whether the number of sheets missing by the card is less than the number of special sheets, so that in the execution of the game, it can be achieved. Let the plural special card be used as the effect of any card to accelerate the speed of the card. The more the number of special rows, the faster the average card speed of each game. The designer of the game software can also increase or decrease the chess object group. The number of special cards in the middle is easier to design game software that is close to the market demand.
9‧‧‧電子裝置 9‧‧‧Electronic devices
10‧‧‧顯示器 10‧‧‧ display
20‧‧‧輸入單元 20‧‧‧ input unit
30‧‧‧處理器 30‧‧‧ Processor
31‧‧‧棋牌物件組 31‧‧‧Chess object group
311‧‧‧一般牌 311‧‧‧General cards
312‧‧‧特殊牌 312‧‧‧Special cards
32‧‧‧胡牌規則資料 32‧‧‧Huai Rules Information
A01‧‧‧遊戲角色 A01‧‧‧ game characters
A02‧‧‧手牌區 A02‧‧‧Hand area
A03‧‧‧彩金池 A03‧‧‧Color Pool
圖1:為本發明電子裝置的電路方塊圖。 1 is a circuit block diagram of an electronic device of the present invention.
圖2:為本發明棋牌物件組中各棋牌物件之示意圖。 2 is a schematic view of each chess object in the chess object group of the present invention.
圖3:為本發明電子棋牌遊戲的執行方法之流程圖。 FIG. 3 is a flow chart of a method for executing an electronic board game according to the present invention.
圖4:為本發明電子裝置執行圖3流程時,其顯示器顯示之示意圖。 FIG. 4 is a schematic diagram showing the display of the electronic device of the present invention when the flow of FIG. 3 is performed.
圖5:為圖3中胡牌判斷步驟之詳細流程圖。 Figure 5 is a detailed flow chart of the step of judging the card in Figure 3.
圖6:為圖5中分析一般牌之花色組合步驟的詳細流程圖。 Fig. 6 is a detailed flow chart showing the steps of analyzing the color combinations of the general cards in Fig. 5.
圖7:為其中一種棋牌物件之組合進行圖5胡牌判斷步驟之示意圖。 Figure 7: Schematic diagram of the step of judging the card in Figure 5 for a combination of one of the chess objects.
圖8:為另一種棋牌物件之組合進行圖5胡牌判斷步驟之示意圖。 Figure 8: Schematic diagram of the step of judging the card in Figure 5 for another combination of chess objects.
圖9:為又一種棋牌物件之組合進行圖5胡牌判斷步驟 之示意圖。 Figure 9: Figure 5 is a combination of chess and card objects. Schematic diagram.
請參閱圖1,本發明以電子裝置執行棋牌之方法中,其電子裝置9包含有:一顯示器10;一輸入單元20,係供使用者操作,以輸入一操作指令;一處理器30,係與該顯示器10及該輸入單元20連接,且儲存有一棋牌物件組31及一胡牌規則資料32,並設定一胡牌所需張數,該棋牌物件組31係如圖2所示,包含複數一般牌311及複數特殊牌312,而該處理器30又內建有一棋牌執行程序,以下為配合以象棋麻將說明,故圖式採用象棋之字樣,並設定胡牌所需張數為5張,但不限定為圖式所舉例的棋牌遊戲,凡可配合以下執行方法的棋牌遊戲皆可適用本發明的執行方法,實現於電子裝置上執行之目的。 Referring to FIG. 1 , in the method for executing chess in an electronic device, the electronic device 9 includes: a display 10; an input unit 20 for the user to input an operation command; and a processor 30. Connected to the display 10 and the input unit 20, and stored with a chess object group 31 and a Hu card rule data 32, and set a required number of cards, the chess object group 31 is as shown in FIG. 2, including plural The general card 311 and the plurality of special cards 312, and the processor 30 has a built-in chess execution program. The following is a description of the chess mahjong, so the drawing adopts the word "Chess" and sets the required number of cards to be 5 cards. However, it is not limited to the chess game exemplified by the drawings. Any card game that can cooperate with the following execution method can be applied to the execution method of the present invention, and is implemented on an electronic device.
上述處理器於玩家人數足夠後即進行棋牌遊戲,並始執行該棋牌執行程序。 The above processor performs the board game after the number of players is sufficient, and executes the card execution program.
請進一步參閱圖3及圖4,執行該棋牌執行程序時,首先係將對應玩家人數的複數遊戲角色A01及分別對應複數遊戲角色的複數手牌區A02顯示至該顯示器10上,隨後,該處理器30即隨機發配複數棋牌物件組31至各遊戲角色A01的手牌區A02,使各遊戲角色A01的手牌區A02中有張數少於胡牌所需張數一張的棋牌物件,於本實施例中,將玩家對應遊戲角色A01及手牌區A02顯示至顯示器10時,亦可進一步顯示一彩金池A03,該彩金池A03 係以籌碼圖像顯示,亦可以數字顯示彩金池A03中累計的下注額度,且該處理器30可進一步預設一基本下注額度,並於處理器30顯示彩金池A03時,依據遊戲角色A01之數量,計數對應遊戲角色A01數量的基本下注額度並顯示於顯示器10的彩金池A03中,而該複數遊戲角色A01可為使用者操作、連線由遠端使用者操作或為電腦操作之非玩家操作角色(NPC,non-player character),並於開始時發給每個遊戲角色4張棋牌物件;決定各遊戲角色A01是否繼續進行遊戲之步驟S20,係判斷該輸入單元20輸入之操作指令,檢知是否已有玩家輸入的操作指令包含設定繼續遊戲及下注額度之指令;若有,則設定對應的遊戲角色A01繼續進行遊戲,並將其下注額度加總後顯示於該彩金池A03中;此執行步驟可供遊戲設計者設計成各種不同的遊戲方式,例如於每一局中設定其一遊戲角色A01為莊家,並由莊家設定下注額度,各玩家可依據自己取得的棋牌物件組31之花色決定是否跟牌,決定跟牌後,便需付出與莊家決定下注額度相同之籌碼,並計入彩金池A03後繼續進行遊戲,使各玩家必須思考、權衡手牌與下注額度;執行發牌步驟S30,係由該處理器依據設定繼續進行遊戲的遊戲角色A01數量,自該組棋牌物件組中分別取出對應張數的棋牌物件,並分別發配至繼續進行遊戲的遊戲角色A01之手牌區A02,補足胡牌所需張數;判斷胡牌步驟S40,係由處理器30依序檢查複數手牌區A02,並於檢查有任一手牌區包含有特殊牌312時,則 依據處理器中的胡牌規則資料32判斷該手牌區A02中一般牌311對應的胡牌所缺張數,再判斷其胡牌所缺張數是否少於或等於特殊牌312數量;若是,則判斷為胡牌,並將該彩金池A03中累計的下注額度計入此一手牌區所對應遊戲角色A01中S50(若有複數遊戲角色A01同時胡牌,則平分),若均未有任一手牌區A02胡牌,則限時等待已設定繼續遊戲的各遊戲角色A01拋棄手牌區A02中一棋牌物件後S60,再返回到決定各遊戲角色A01是否繼續進行遊戲之步驟S20。 Please refer to FIG. 3 and FIG. 4 . When executing the chess card execution program, firstly, a plurality of game characters A01 corresponding to the number of players and a plurality of hand cards A02 corresponding to the plurality of game characters are displayed on the display 10, and then the process is performed. The device 30 randomly distributes the plurality of chess object groups 31 to the hand card area A02 of each game character A01, so that the card area A02 of each game character A01 has a number of cards less than the required number of cards. In this embodiment, when the player corresponding game character A01 and the hand card area A02 are displayed on the display 10, a color gold pool A03, which can also be further displayed, can be further displayed. The chip image is displayed, and the accumulated bet amount in the golden pool A03 can also be digitally displayed, and the processor 30 can further preset a basic bet amount, and when the processor 30 displays the winning pool A03, according to the game character. The number of A01, the basic bet amount corresponding to the number of game characters A01 is counted and displayed in the prize pool A03 of the display 10, and the plural game character A01 can be operated by the user, connected by the remote user or operated by the computer. The non-player character (NPC) is sent to each game character at the beginning, and the game object is determined to be the step S20 of determining whether each game character A01 continues the game. The operation command detects whether the operation command input by the player includes an instruction to set the game to continue and the bet amount; if so, the corresponding game character A01 is set to continue the game, and the bet amount is added and displayed on the game. In the golden pool A03; this execution step can be designed by the game designer into various game modes, for example, setting one game character A01 as a dealer in each game, and The banker sets the bet amount, and each player can decide whether to follow the card according to the suit color of the chess object group 31 obtained by himself. After deciding to follow the card, he/she needs to pay the same amount of chips as the banker decides to place the bet, and counts it into the prize pool A03. Continue to play the game, so that each player must think about, weigh the hand and bet amount; perform the licensing step S30, the number of game characters A01 that the processor continues to play according to the setting, and respectively take out corresponding correspondences from the group of chess objects The number of chess pieces are respectively distributed to the hand area A02 of the game character A01 to continue the game, and the number of sheets required for the card is complemented; the step S40 of determining the card is performed by the processor 30 to sequentially check the plurality of hand areas A02. And when checking that any hand zone contains a special card 312, then According to the Hu card rule data 32 in the processor, the number of cards of the Hu card corresponding to the general card 311 in the hand card area A02 is determined, and then it is determined whether the number of cards missing by the Hu card is less than or equal to the number of the special card 312; if so, Then, it is judged as a Hu card, and the accumulated bet amount in the lottery pool A03 is counted in the S50 of the game character A01 corresponding to the one hand card area (if there is a plural game character A01 and a Hu card, it is equally divided), if none In any of the hand cards A02, the game characters A01, which have been set to continue the game, are allowed to abandon a chess object in the hand card area A02, and then return to the step S20 of determining whether each game character A01 continues the game.
以下再以象棋麻將作為本創作棋牌遊戲,具體說明上述判斷胡牌步驟S40詳細內容,其所需的棋牌物件31中包含有如圖2所示的32張一般牌311,再加上2張特殊牌312(寶牌);該胡牌規則資料32中則包含有複數組合規則,例如設定兩張相同花色之一般牌311為一對(對子),三張花色連續的一般牌311為一組(順子),而設定5張牌中有二張成對且三張成組或四張相同(四張兵或四張卒)則判斷為胡牌。 In the following, the chess mahjong is used as the game board game, and the details of the above-mentioned judgment card step S40 are specifically described. The required chess object 31 includes 32 general cards 311 as shown in FIG. 2, plus two special cards. 312 (宝牌); the Hu card rule data 32 includes a plurality of combination rules, for example, a set of two common suits of the same suit 311 is a pair (pair), and three sets of regular cards 311 are a group ( Straight), and two of the five cards are paired and three or four are the same (four or four) and the card is judged to be a card.
請參閱圖5,上述判斷胡牌步驟S40於檢查目前手牌區時,係包含以下子步驟:計數一般牌311及特殊牌312的數量S41:將一般牌311依花色排序S42,係將一般牌311依其花色進行排序,於本實施例中,由於係採用象棋的花色,故於此步驟中係依顏色分成紅子與黑子,並依按照象棋規則中棋字順序排序,即將、士、象、車、馬、包、卒(以及帥、仕、相、俥、傌、炮、兵); 依據一般牌311的數量分析其花色組合S43,係判斷一般牌311排列出的花色組合對照胡牌規則資料32的複數種排列組合,並計算對應排列組合所缺少的張數,即為所缺胡牌張數,計算所缺少張數之詳細內容於後說明;判斷胡牌所缺張數是否少於或等於特殊牌312數量S44,若是,則判斷為胡牌,並於顯示器10上顯示胡牌的遊戲角色A01,並結束遊戲,若否,則判斷為未胡牌,並於判斷所有遊戲角色A01未胡牌時,回到等待各遊戲角色A01拋棄手牌區A02中一棋牌物件之步驟S60,繼續遊戲之進行。 Referring to FIG. 5, the above-mentioned judging card step S40 includes the following sub-steps when checking the current hand card area: counting the number of the general card 311 and the special card 312 S41: sorting the general card 311 by the color S42, the general card 311 is sorted according to its color. In this embodiment, since the color of the chess is used, the color is divided into red and black in this step, and is sorted according to the chess order in the chess rule, ie, the gentleman, the elephant, Car, horse, bag, pawn (and handsome, official, phase, 俥, 傌, gun, soldier); According to the number of the general cards 311, the flower color combination S43 is analyzed, and the flower color combination arranged by the general card 311 is compared with the plurality of arrangement combinations of the Hu card rule data 32, and the number of sheets missing from the corresponding arrangement combination is calculated, that is, the missing number is The number of cards, the details of the number of sheets missing are calculated later; whether the number of cards missing by the card is less than or equal to the number of special cards 312 S44, and if so, it is judged to be a card, and the card is displayed on the display 10 Game character A01, and end the game, if not, it is judged that there is no credit card, and when it is judged that all game characters A01 are not smashed, return to step S60 of waiting for each game character A01 to discard a chess object in the hand card area A02. , continue the game.
上述依據一般牌的數量分析其花色組合之步驟S43將隨棋牌遊戲的胡牌規則資料及胡牌所需張數不同,以下謹進一步以象棋麻將且棋牌物件中包含2張特殊牌為例說明之,請進一步參閱圖6,一般象棋麻將中,胡牌所需張數為5張,且胡牌規則係設定兩張相同花色之一般牌311為一對(對子),三張花色連續的一般牌311為順子,而5張牌中有二張成對且三張成組則為胡牌,或者5張牌中有四張相同(四張兵或四張卒)則判斷為胡牌;因此,若要配合執行象棋麻將或類似之棋牌遊戲時,該處理器30於依據一般牌311的數量分析其花色組合S43時,係判斷判斷一般牌之張數S431,且:以若按左至右排列5張棋牌物件均為一般牌,則包含(1+4)、(2+3)、(3+2)、(4+1)四種花色組合分析所缺胡牌張數S432:其中,第一種(1+4)表示判斷後四張棋牌物件湊為四張相同所缺張數,第二種(2+3)表示判斷前二張棋牌物件湊成對、後三張棋牌物 件湊成順所缺張數,第三種(3+2)表示前三張棋牌物件湊成順、後二張棋牌物件湊成對所缺張數,第四種(4+1)表示前四張棋牌物件湊成四張相同所缺張數;若按左至右排列後一般牌為4張,則包含(4+0)、(1+3)、(3+1)三種花色組合分析其所缺胡牌張數S433:其中,第一種(4+0)表示判斷四張棋牌物件湊成全部相同所缺張數,第二種(1+3)表示先設定第1張棋牌物件所缺張數為1,且判斷後三張棋牌物件湊成順所缺張數,兩者加總後為胡牌所缺張數,第三種(3+1)表示先設定最後1張棋牌物件所缺張數為1,且判斷前三張棋牌物件湊成順所缺張數,兩者加總後為胡牌所缺張數;若按左至右排列後一般牌為3張,則包含(3+0)、(1+2)、(2+1)三種花色組合分析其所缺胡牌張數S434,其中,第一種(3+0)表示判斷三張棋牌物件湊成順所缺張數,第二種(1+2)表示先設定第1張棋牌物件所缺張數為1,再判斷後二張棋牌物件湊成對所缺張數,兩者加總後為胡牌所缺張數,第三種(2+1)表示先設定最後1張棋牌物件所缺張數為1,且判斷前二張湊成對所缺張數,兩者加總後為胡牌所缺張數。 The above step S43 of analyzing the color combination according to the number of the general cards will be different according to the rules of the card rules of the board game and the number of cards required by the card. The following is a further example of the chess mahjong and the inclusion of two special cards in the chess object. Please refer to Figure 6. In the general chess mahjong, the number of cards required for the Hu card is 5, and the rule of the Hu card is to set two common cards of the same suit 311 as a pair (pair), and the three colors are continuous. The card 311 is a straight, and two of the five cards are paired and the three cards are the cards, or four of the five cards are the same (four soldiers or four pawns) are judged as the card; therefore If the game player 30 analyzes the suit color combination S43 according to the number of the general cards 311, the processor 30 judges and determines the number of cards of the general card S431, and: if left, right Arranging 5 chess objects are all general cards, including (1+4), (2+3), (3+2), and (4+1) four combinations of flower colors to analyze the number of cards that are missing S432: The first type (1+4) indicates that the four chess pieces are divided into four identical missing sheets, and the second (2+3) is judged. Chess objects make up the front two pairs, after three chess matter The third piece (3+2) indicates that the first three pieces of chess pieces are made into a smooth, the last two pieces of chess pieces make up the number of sheets missing, and the fourth type (4+1) means before Four chess pieces are made into four identical numbers; if they are arranged from left to right, the general cards are 4, including (4+0), (1+3), (3+1) The number of cards that are lacking is S433: Among them, the first type (4+0) means that four pieces of chess objects are determined to make all the same number of missing sheets, and the second type (1+3) means that the first piece of chess objects is set first. The number of sheets missing is 1, and the three cards are judged to be the number of sheets missing. The sum of the two is the number of sheets missing from the card, and the third (3+1) means that the last card is set first. The number of sheets missing from the object is 1, and it is judged that the first three chess pieces are made into the number of sheets missing, and the total number of sheets is the number of sheets missing by the Hu card; if the card is arranged from left to right, the number of cards is 3, then Contains (3+0), (1+2), (2+1) three color combinations to analyze the number of cards they have missing S434, where the first (3+0) means that three chess objects are determined to be compliant. The number of sheets missing, the second (1+2) means that the number of sheets missing from the first chess object is set to 1 After judging, the two chess pieces are made up to the number of sheets missing. The sum of the two cards is the number of sheets missing from the card. The third (2+1) means that the number of sheets missing from the last piece of chess is set to 1. And judge the first two sheets to make up the number of sheets missing, and the sum of the two is the number of sheets missing from the card.
由於不同花色組合會分析出不同的胡牌所缺張數,故於決定胡牌所缺張數時,須採用數量最少的胡牌所缺張數。 Since different combinations of colors will analyze the number of sheets missing from different cards, it is necessary to use the number of cards that are the least number of cards when determining the number of cards that are missing.
如此若有一手牌區如圖7所示,其後4張一般牌311缺了兩張卒才能構成四張相同,缺2張相同花色,故其胡牌所缺張數為2;而進行完(1+4)花色組合之分析 後,將接續進行(2+3)花色組合之分析,將判斷為前二張一般牌11不成對,為缺1,且後三張不成順,缺3,胡牌所缺張數為4;接著,續行(3+2)花色組合之分析,期前三張成順,且後二張成對,胡牌所缺張數為0,採用最少的胡牌所缺張數為0,判定為胡牌。 So if there is a hand card area as shown in Figure 7, the last four cards 311 are missing two strokes to form four identical, missing two identical colors, so the number of sheets missing from the card is 2; (1+4) analysis of flower color combination After that, the analysis of the (2+3) flower color combination will be carried out, and it will be judged that the first two general cards 11 are unpaired, and the first three sheets are not in the first row, and the last three sheets are not in the right direction, and the number of sheets missing from the card is 4; Then, the analysis of the continuation (3+2) suit combination, the first three sheets are completed, and the last two sheets are paired. The number of sheets missing from the Hu card is 0, and the number of sheets missing from the lowest card is 0. For the Hu card.
再請進一步參閱圖8,假若有一手牌區A02中包含有一張特殊牌312,則其分析一般牌311時,處理器30僅分析四張,將以(4+0)、(1+3)、(3+1)三種花色組合進行分析,如圖8舉例;依(4,0)的排列組合將判斷胡牌所缺張數為2(前四張缺2);依(1+3)花色組合將判斷胡牌所缺張數為1(車為缺1張,車馬包為順);依(3+1)的花色組合將判斷胡牌所缺張數為2(車車馬缺1,包缺1);而採用最小值1進行與特殊牌之數量比較時,便將判斷為胡牌,此時特殊牌312當作車或卒,而與馬及包構成順子。 Referring to FIG. 8 again, if a hand card area A02 includes a special card 312, when analyzing the general card 311, the processor 30 analyzes only four cards, and will be (4+0), (1+3). And (3+1) three flower color combinations for analysis, as shown in Figure 8; according to the arrangement of (4,0), it will be judged that the number of sheets missing from the card is 2 (the first four sheets are missing 2); according to (1+3) The color combination will judge the number of sheets missing from the Hu card is 1 (the car is missing 1 piece, the car and the horse bag are shun); according to the (3+1) color combination, it will be judged that the number of sheets missing by the card is 2 (the car is missing) 1, the package is missing 1); and when the minimum value of 1 is compared with the number of special cards, it will be judged as a Hu card. At this time, the special card 312 is regarded as a car or a paw, and the horse and the bag constitute a straight.
再請進一步參閱圖9,若抽到二張特殊牌者,分析一般牌311時,處理器僅分析三張,並以(3+0)、(1+2)、(2+1)三種花色組合進行分析,如圖9之舉例,依(3+0)的排列組合將判斷胡牌所缺張數為2;依(1+2)的排列組合將判斷胡牌所缺張數為缺2;依(2+1)的排列組合將判斷胡牌所缺張數為缺2(將象缺士可能順,卒缺卒可成對);而上述分析出的胡牌所缺張數為2,等於特殊牌12之數量,故可被判斷為胡牌,此時一張特殊牌做為士,另一張特殊牌作為卒。 Please refer to Figure 9 further. If two special cards are drawn and the general card 311 is analyzed, the processor analyzes only three cards and uses three colors (3+0), (1+2), and (2+1). Combine the analysis, as shown in the example in Figure 9, according to the arrangement of (3+0), the number of sheets missing from the Hu card will be 2; the combination of (1+2) will judge the number of sheets missing from the card is 2 According to the arrangement of (2+1), it will be judged that the number of sheets missing from the Hu card is 2 (will be like a missing person, the defect may be paired); and the number of sheets missing from the above analysis is 2 Is equal to the number of special cards 12, so it can be judged as a Hu card. At this time, one special card is used as a pawn and the other special card is used as a pawn.
上述進行各種組合判斷時,係將紅色旗字與黑 色棋字分開,即紅色棋字與黑色棋字不可成對或成組。 When the above various combinations are judged, the red flag is black and black. The color chess characters are separated, that is, the red chess characters and the black chess characters cannot be paired or grouped.
上述棋牌執行程序可實現以電子裝置執行類似象棋麻將等類的遊戲,由於此類遊戲僅需反覆執行聽牌、摸牌、丟牌,不需重新湊足符合胡牌規則的棋牌物件,且保留思考是否跟牌及如何丟牌的遊戲樂趣,遊戲的進行步調較快,加上本發明的電子裝置9於胡判斷時,其處理器30不只判斷各遊戲角色手牌區的棋牌物件組是否符合胡牌規則,會進一步判斷其所缺張數,再判斷胡牌所缺張數是否小於特殊排張數,其判斷流程使得特殊牌312可做為任意牌使用,增加可胡牌的機率,得以加速遊戲之進行,且對於遊戲軟體的設計者而言,特殊排之數量越多,則每一局的平均胡牌速越快,固可供各種遊戲設計業者依據上述執行方法,調整其特殊牌312的數量,設計出符合各種遊戲軟體市場需求的棋牌遊戲軟體,具有方便遊戲開發者依市場需求調整遊戲進行步調的功能。 The above-mentioned chess card execution program can implement a game like chess mahjong and the like by using an electronic device. Since such games only need to repeatedly perform draw, draw, and lose cards, there is no need to re-engage the chess object that meets the rules of the Hu card, and retains Thinking about whether or not to play cards and how to lose the game, the game is performed faster, and when the electronic device 9 of the present invention judges Hu, the processor 30 not only judges whether the chess object group of each game character hand area meets The rules of the Hu card will further judge the number of sheets that are missing, and then judge whether the number of sheets missing by the Hu card is less than the number of special sheets. The judgment process makes the special card 312 be used as any card, increasing the probability of the card. Accelerate the progress of the game, and for the designer of the game software, the more the number of special rows, the faster the average Hu card speed of each game, which is suitable for various game design operators to adjust their special cards according to the above execution method. The number of 312 is designed to meet the needs of various game software market, and it has the function of facilitating game developers to adjust the game according to market demand.
綜上所述,本發明以電子裝置執行棋牌之方法實現了以電子裝置執行步調較快速的棋牌遊戲之目的,並以配合特殊牌判斷流程,得以加速遊戲之進行,讓玩家可在零碎時間中享受進行較具思考性的棋牌類遊戲之樂趣。 In summary, the present invention implements a chess game with an electronic device to achieve a goal of performing a faster paced chess game with an electronic device, and with the special card judgment process, the game can be accelerated, so that the player can be in the piecemeal time. Enjoy the fun of thinking more chess games.
9‧‧‧電子裝置 9‧‧‧Electronic devices
10‧‧‧顯示器 10‧‧‧ display
20‧‧‧輸入單元 20‧‧‧ input unit
30‧‧‧處理器 30‧‧‧ Processor
31‧‧‧棋牌物件組 31‧‧‧Chess object group
32‧‧‧胡牌規則資料 32‧‧‧Huai Rules Information
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102108205A TW201434516A (en) | 2013-03-08 | 2013-03-08 | Method for performing chess/card by electronic device and electronic device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102108205A TW201434516A (en) | 2013-03-08 | 2013-03-08 | Method for performing chess/card by electronic device and electronic device thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201434516A true TW201434516A (en) | 2014-09-16 |
Family
ID=51943122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102108205A TW201434516A (en) | 2013-03-08 | 2013-03-08 | Method for performing chess/card by electronic device and electronic device thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201434516A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108187345A (en) * | 2017-12-28 | 2018-06-22 | 天脉聚源(北京)科技有限公司 | A kind of hands data processing method and device |
TWI793171B (en) * | 2018-09-14 | 2023-02-21 | 大陸商麗水市合瑞電子科技有限公司 | Cloud chess room charging management system based on wireless Internet of Things technology |
-
2013
- 2013-03-08 TW TW102108205A patent/TW201434516A/en unknown
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108187345A (en) * | 2017-12-28 | 2018-06-22 | 天脉聚源(北京)科技有限公司 | A kind of hands data processing method and device |
TWI793171B (en) * | 2018-09-14 | 2023-02-21 | 大陸商麗水市合瑞電子科技有限公司 | Cloud chess room charging management system based on wireless Internet of Things technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100613803B1 (en) | Game procedure control program, game procedure control method and video game device | |
AU2006306616B2 (en) | Creating notable nonrandom patterns in games to encourage play | |
JP2012040059A (en) | Battle game system and battle game machine | |
US8672746B2 (en) | Horse-racing simulation wagering game | |
CN107614074B (en) | Card game device and game image generation method | |
TW201434516A (en) | Method for performing chess/card by electronic device and electronic device thereof | |
JP6679031B2 (en) | Gambling dependence verification method, gambling dependence verification server, user terminal, information processing device, gambling dependence verification program, and gambling dependence verification system | |
US20080272547A1 (en) | "Gotcha" card game system & method | |
JP7440307B2 (en) | computer systems and gaming systems | |
US20120104696A1 (en) | Entertainment method involving playing cards and point award system | |
TWI417123B (en) | Electronic game methods and systems, computer program products | |
TWI399234B (en) | Game System with Colorful Pool and Multi - color Racing Game and Its | |
US20140131949A1 (en) | Tile game and method of game play | |
US8500531B1 (en) | Single player card game | |
US11495094B1 (en) | Entertainment system | |
US20070093283A1 (en) | Creating notable nonrandom patterns in games to encourage play | |
US8187069B2 (en) | Online gaming system for simulating a soccer game using an electronic deck of playing cards | |
JP4988052B1 (en) | Playground equipment | |
US9987564B1 (en) | Method, system, and device for conducting a wagering game | |
US10080953B1 (en) | Method and device for playing a sports-related card fill game | |
JP4874424B1 (en) | Electronic game machine and its program | |
US8317583B2 (en) | Card game | |
JP2024008645A (en) | Computer device for interaction between different kinds, control method and program | |
TWI331930B (en) | ||
CN117122932A (en) | Method and device for multi-person team formation, electronic equipment and storage medium |