CN1308302A - Compositive mahjong timer - Google Patents
Compositive mahjong timer Download PDFInfo
- Publication number
- CN1308302A CN1308302A CN 00137109 CN00137109A CN1308302A CN 1308302 A CN1308302 A CN 1308302A CN 00137109 CN00137109 CN 00137109 CN 00137109 A CN00137109 A CN 00137109A CN 1308302 A CN1308302 A CN 1308302A
- Authority
- CN
- China
- Prior art keywords
- timing
- board
- timer
- mahjong
- compositive
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Measurement Of Predetermined Time Intervals (AREA)
Abstract
A timer for sports mahjong incudes outer shell 1, circuit board 2 mounted in the outer shell, a monochip computer 4 on the circuit board, driving circuit connected to the I/O interface of the computer 4, computer 4 connected with press key switch circuit, display circuit and display apparatus 3. The computer will control the sequence timing and the sereial program control of non-sequencing timing on the impacting state of mahjong tiles.
Description
The present invention relates to a kind of apparatus that utilizes microprocessor the athletic competition of 4 people's mahjong to be carried out timing.
Board games such as existing Chinese chess, go are two people match, so timer is provided with at two people's sequential operation, can not carry out 4 people's the timing that contains non-order status.
The object of the present invention is to provide a kind of compositive mahjong timer, can finish the person of playing a card at the characteristics of 4 people's mahjong and in the process of playing a card, bumping board, thick stick board, carry out timing control and demonstration.
The object of the present invention is achieved like this:
Compositive mahjong timer, its composition comprises: shell, be installed in the circuit board in the described shell, one-chip computer, the driving circuit that links to each other with the I/O mouth of this computing machine, the keyswitch circuit that links to each other with described computing machine and display circuit and display are housed, by the timing of computer realization order, bump the sequencer program control of the non-order timing of board state on the described circuit board.
Above-mentioned compositive mahjong timer, the timing of described realization order, the sequencer program that bumps the non-order timing of board state comprise:
A. the energized program begins;
B. just making makes it to make zero, and waits for button operation, and current window is set;
C. according to current window, send operation to allow sign;
D. the processing of order timing, the interruption timing processing of bumping the non-order timing processing of board state, fork board or thick stick board,
E. be provided with or revise display unit;
F. judge whether overtimely,, directly show if not overtime;
If g. overtime, then carry out overtime warning and demonstration.
The invention has the advantages that:
1. can carry out timing to the mahjong contest that 4 people carry out, by the program setting, not only can carry out the common timing of bridge etc., i.e. four order timing that the people plays a card by turns in order can also be carried out the timing of bumping operations such as board, thick stick board of sequential operation timing and non-order according to the distinctive rules of contest of mahjong.Can adapt to the requirement of the various special timing of 4 people's mahjong.
2. single-chip microcomputer is applied in the sports timing of mahjong, can utilize the basic function of computing machine not increasing under the preceding topic of hardware by popular software or programming, finish warning, shovel stops and return functions such as last time status, system reset, can be more complete carry out the management of computing machine to timing.
3. this product has the distinctive board function of bumping, promptly after the seller timing finishes, starting the player whose turn comes next picks up counting, in official hour, allow to bump the board operation, two families that can bump board, the operation push-button of in time pressing is effective, just begin to bump the board timing, bump the play a card timing of family of former regulation that the board timing recovers to have begun, and beginning deducts this timing bumping in the board timing, pick up counting then.Utilize the program step of this product, can accurately finish clocking capability.
4. be provided with interrupt function, promptly starting the clock or during the games, can cancel the timing of any family, promptly connect with the I/O mouth of computing machine (for example 89C51), reach the effect of bypass, realize interrupt function by operation ON/OFF key.
Accompanying drawing 1 is a main program flow chart of the present invention.Accompanying drawing 2 is process flow diagrams of interrupt routine.
Accompanying drawing 3 is the process flow diagrams that bump the board program.Accompanying drawing 4 is the program flow diagrams that are provided with or revise current window.
Accompanying drawing 5 is circuit diagrams (not containing display) of this product.Accompanying drawing 6 is circuit diagrams of the display of this product
Accompanying drawing 7 is hardware configuration synoptic diagram of timer.
Embodiment 1:
Compositive mahjong timer, its composition comprises: shell 1, be installed in the circuit board 2 in the described shell 1, on the described circuit board 2 one-chip computer 4 is housed, the driving circuit that links to each other with the I/O mouth of this computing machine 4, have timing key 31 on keyswitch circuit that links to each other with described computing machine and display circuit and display 3. displays 3, options button 32, reset key 33, Pause key 34, backspace key 35, each key links to each other with computing machine respectively by diatom, also has elapsed time clock window 36 on the display 3, driving circuit can use for example 2803 chip for driving of chip controls, this chip links to each other with acousto-optical devices such as hummer or luminotrons by current-limiting resistance, the serial port of described computing machine 4 connects above-mentioned on-off circuit and for example adopts the 74LS139 analog switching circuit, by connection in series-parallel change-over circuit and display circuit and display device for example charactron link to each other, the input of single switch amount links to each other with the I/O interface of computing machine by the button on computing machine or the telepilot 3, by the timing of computer realization order, bump the sequencer program control and the warning function of the non-order timing of board state, and can be by I/O interface of reset key and computing machine and connecting of computer monitor control circuit, enforcement is to monitoring and reset function to CPU, and can realize time out and the requirement of returning laststate by time-out and backspace switch, the mode that its circuit connects is for example shown in the accompanying drawing.
Embodiment 2:
Embodiment 1 described compositive mahjong timer, the timing of described realization order, the sequencer program that bumps the non-order timing of board state comprise:
A. the energized program begins;
B. just making makes it to make zero, and waits for button operation, and current window is set;
C. according to current window, send operation to allow sign;
D. the processing of order timing, the interruption timing processing of bumping the non-order timing processing of board state, fork board or thick stick board;
E. be provided with or revise display unit;
F. judge whether overtimely,, directly show if not overtime;
If g. overtime, then carry out overtime warning and demonstration.
Embodiment 3:
Embodiment 1 or 2 described compositive mahjong timers, described program of bumping the non-order timing of board state comprises:
A. button start-up routine;
B. judge whether to allow to bump board, if do not allow then finish;
If c. allow then judge to allow to bump board, if invalid then termination routine by strong whether effective;
If d. button effectively sign is set and recover before during family livehood
When subtracting, board person's the timing of e. crashing handles
F. revise the current window sign.
Embodiment 4:
The described compositive mahjong timer of the above embodiments, the interrupt service routine in the described sequencer program comprises:
A. button starts;
B. timer enters initial value and starts timing;
C. extract key-press status;
D. first the making in display buffer;
E. reaching the setting value warning handles;
F. bumping board in setting-up time allows to handle;
G. Timing Processing.
Embodiment 5:
Above-mentioned compositive mahjong timer, described modification or the display unit program is set comprises:
A. judge whether current family is cancelled, if Y termination routine then;
B. if N then judges the current timing that whether starts;
If c. starting the judged result of timing is N, then EOP (end of program);
If d. starting the judged result of timing is Y, then being provided with or revising current family is current window.
Adopt circuit of the present invention and program, can carry out the timing operation like this:
1. reset
When every dish begins, use specific purpose tool to press " reset key " by the professional, timer can show the time " 2:00 " of inserting, promptly 2 minutes automatically.
2. startup timing
When every dish begins, click Ben Men " timing key " by first participants in a bridge game that plays a card and start timer, and after playing a card, click " timing key " again and stop this timing and start the player whose turn comes next.
Behind the timer initiation, in official hour (5 seconds), the demonstration of clock can be glimmered.Allow nonsequential operation (bumping or the non-seller board of thick stick) this moment.Need to click this " timing key " when newspaper " bumping " or " thick stick ", the timer that the front can have been started restores, and its used time deducted from this timer and continues timing.
Each timer is pressed " timing key " as effectively, can send about 1 second left and right sides prompt tone, stops this timing and starts the player whose turn comes next.
3. system halt
Press " Pause key " timer and suspend, press the button once to suspend again and remove, timer continues timing.This key is generally used by the professional when on-the-spot dispute occurring.
4. timing is returned
Under halted state, press " backspace key ", can make the state before the present timing clock recovery starts to this, and after suspending releasing, from then on state begins to continue timing.
5. select and striking out
Penalized these personnel and to stop or use by the professional when lacking these personnel, in order to skip this timer." options button " of timer pushes " ON " retaining, shows selected participation timing; " options button " of timer pushes " OFF " retaining, then is out or absent.
6. system alarm
This timer when preset time is reduced to certain value, can provide prompting or warning for subtracting a timer.
If certain timer clock is less than or equal to 30 seconds excess time, this timer is started at every turn all can send a prompting long.
Timer is kept at 0 o'clock and sends interrupted alarm sound, and the timer locking.Need " options button " of this timer to be pushed " OFF " retaining, alarm release by the professional.Need click Ben Men " timing key " this moment, starts the timing of the next position timer.Three. the application notice of timer
1. the timer working voltage is: DC 5V.
2. Pause key ", " backspace key ", " reset key " only be placed in the timer of " east " locating and have, and could be operated with specific purpose tool by the professional.
Claims (5)
1. compositive mahjong timer, its composition comprises: shell, be installed in the circuit board in the described shell, it is characterized in that: one-chip computer, the driving circuit that links to each other with the I/O mouth of this computing machine, the keyswitch circuit that links to each other with described computing machine and display circuit and display are housed, by the timing of computer realization order, bump the sequencer program control of the non-order timing of board state on the described circuit board.
2. compositive mahjong timer according to claim 1 is characterized in that: the timing of described realization order, the sequencer program that bumps the non-order timing of board state comprise:
A. the energized program begins;
B. just making makes it to make zero, and waits for button operation, and current window is set;
C. according to current window, send operation to allow sign;
D. the processing of order timing, the interruption timing processing of bumping the non-order timing processing of board state, fork board or thick stick board;
E. be provided with or revise display unit;
F. judge whether overtimely,, directly show if not overtime;
If g. overtime, then carry out overtime warning and demonstration.
3. compositive mahjong timer according to claim 1 and 2 is characterized in that: described program of bumping the non-order timing of board state comprises:
A. button start-up routine;
B. judge whether to allow to bump board, if do not allow then finish;
If c. allow then judge to allow to bump board, if invalid then termination routine by strong whether effective;
If d. button effectively sign is set and recover before during family livehood;
When subtracting, board person's the timing of e. crashing handles;
F. revise the current window sign.
4. compositive mahjong timer according to claim 1 and 2 is characterized in that: the interrupt service routine in the described sequencer program comprises:
A. button starts;
B. timer enters initial value and starts timing;
C. extract key-press status;
D. first the making in display buffer;
E. reaching the setting value warning handles;
F. bumping board in setting-up time allows to handle;
G. Timing Processing.
5. compositive mahjong timer according to claim 2 is characterized in that: described modification or the display unit program is set comprises:
A. judge whether current family is cancelled, if Y termination routine then;
B. if N then judges the current timing that whether starts;
If c. starting the judged result of timing is N, then EOP (end of program);
If d. starting the judged result of timing is Y, then being provided with or revising current family is current window.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 00137109 CN1308302A (en) | 2000-12-23 | 2000-12-23 | Compositive mahjong timer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 00137109 CN1308302A (en) | 2000-12-23 | 2000-12-23 | Compositive mahjong timer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1308302A true CN1308302A (en) | 2001-08-15 |
Family
ID=4597666
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 00137109 Pending CN1308302A (en) | 2000-12-23 | 2000-12-23 | Compositive mahjong timer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1308302A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100171A (en) * | 2014-05-22 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Method and device for synchronizing time |
-
2000
- 2000-12-23 CN CN 00137109 patent/CN1308302A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105100171A (en) * | 2014-05-22 | 2015-11-25 | 腾讯科技(深圳)有限公司 | Method and device for synchronizing time |
US10178221B2 (en) | 2014-05-22 | 2019-01-08 | Tencent Technology (Shenzhen) Company Limited | Time synchronization method and apparatus |
CN105100171B (en) * | 2014-05-22 | 2019-02-12 | 腾讯科技(深圳)有限公司 | The method and device of synchronization time |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7371164B2 (en) | Boxing game system | |
US20090303830A1 (en) | Hand blender switch | |
JP2009119125A (en) | Game system and game controller | |
RU2630762C1 (en) | Robot dealer device | |
CN1308302A (en) | Compositive mahjong timer | |
CN2889401Y (en) | Table tennis bat with memory function | |
JP2001300018A (en) | Shoot operating apparatus for game machine | |
CN110604902A (en) | Hand wrestling trainer and training method | |
CN108553884B (en) | Game control device, game machine and game control method thereof | |
WO1991003292A1 (en) | Game controller | |
JP4319856B2 (en) | Game machine | |
JP2004187715A (en) | Game machine | |
JP2002090477A (en) | Sports timer and its control method, and electronic timepiece with sports timer | |
CN2782177Y (en) | Electronic game vest | |
CN207493108U (en) | A kind of treadmill | |
JP3532900B2 (en) | Video game toys | |
JPH05161761A (en) | Adapter for television game machine | |
CN215781443U (en) | Israeli mahjong playing card counting device | |
WO1994004995A1 (en) | Time registering and scoring apparatus for billiards table games | |
CN110075512A (en) | A method of grabbing doll machine and board light and player interaction game | |
CN2413766Y (en) | Pin Setting machine specially for exercising second hit | |
CN201143370Y (en) | Counter check machine of table tennis net-touching of serve | |
CN206965104U (en) | A kind of FPS gun shaped combined operation device | |
CN2916758Y (en) | Input device with multi-keystroke function | |
CN2817934Y (en) | Electronic game device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |