CN202876328U - Three-dimensional labyrinth electronic game - Google Patents

Three-dimensional labyrinth electronic game Download PDF

Info

Publication number
CN202876328U
CN202876328U CN 201220233991 CN201220233991U CN202876328U CN 202876328 U CN202876328 U CN 202876328U CN 201220233991 CN201220233991 CN 201220233991 CN 201220233991 U CN201220233991 U CN 201220233991U CN 202876328 U CN202876328 U CN 202876328U
Authority
CN
China
Prior art keywords
pin
circuit
capacitor
resistance
chip microcomputer
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.)
Expired - Fee Related
Application number
CN 201220233991
Other languages
Chinese (zh)
Inventor
朱培逸
毛丽民
许巍
王建喜
丰敏佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changshu Institute of Technology
Original Assignee
Changshu Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changshu Institute of Technology filed Critical Changshu Institute of Technology
Priority to CN 201220233991 priority Critical patent/CN202876328U/en
Application granted granted Critical
Publication of CN202876328U publication Critical patent/CN202876328U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model discloses a three-dimensional labyrinth electronic game. The three-dimensional labyrinth electronic game is composed of a single chip circuit, a keyboard input circuit, a display circuit, a power source circuit, a storage circuit and a serial communication circuit, wherein the single chip circuit is respectively connected with an output end of the power source circuit, the keyboard input circuit, the display circuit, the serial communication circuit and an external storage. A two-dimensional labyrinth can be generated randomly by adopting a recursion partition method, all the situations that two-dimensional is changed with three-dimensional are listed by adopting an enumeration method, and the effect that the two-dimensional labyrinth is changed with a three-dimensional labyrinth is achieved through a traversing method. The effect that labyrinth generated each time is different from others is ensured by the generating algorithm of the random labyrinths, interestingness of games is enhanced, and the three-dimensional labyrinth electronic game is beneficial for intellectual development and recreation and entertainment.

Description

Three-dimensional labyrinth electronic game machine
Technical field
The utility model relates to a kind of three-dimensional labyrinth electronic game machine, belongs to the single-chip microcomputer applied technical field.
Background technology
Three-dimensional maze game is simple in rule, and is all-ages, a kind of for what use one's brains favored by the player.Traditional labyrinth all needs the one by one manual drawing of grid of designer, waste time and energy, and in a single day the player has understood the internal structure in labyrinth and reached terminal point that the general layout in labyrinth is just revealed so, and the labyrinth just can be sayed without secret.Therefore, outstanding maze game all can make the path dynamically generate, and can play different labyrinth at every turn, and such labyrinth could increase the enjoyment of game.Along with the development of embedded technology, using single-chip microcomputer to make a kind of portable and interesting higher three-dimensional labyrinth electronic game machine becomes a kind of possibility.Therefore, by prior art is improved, be necessary to provide a kind of game shows abundant, interesting high, three-dimensional labyrinth electronic game machine simple in structure, that cost is low.
The utility model content
The technical problem that the utility model solves provides a kind of three-dimensional labyrinth electronic game machine.
For solving the problems of the technologies described above, the utility model provides following technical scheme: a kind of three-dimensional labyrinth electronic game machine is comprised of following part: single chip circuit, keyboard input circuit, display circuit, power circuit, external memory storage and serial communication circuit.Wherein, single chip circuit is connected with external memory storage with output, keyboard input circuit, display circuit, the serial communication circuit of power circuit respectively.
Single chip circuit is mainly used in the generation of maze game and the processing of user input instruction, and is controlling the operation of whole circuit; The keyboard input circuit is finished the input of instruction in the maze game; The signal that display circuit is used for single-chip microcomputer is passed over is showing screen display; Power module is used for the power supply of system, can satisfy simultaneously the power reguirements of single chip circuit, keyboard input circuit, display circuit and memory circuit; Memory circuit is used for storage game state and instruction; Serial communication circuit is used for the upgrading of program.
Three-dimensional labyrinth electronic game machine adopts the recurrence split plot design can generate randomly two-dimentional labyrinth, adopts enumerative technique to enumerate two dimension and the three-dimensional all situations that transforms, and realizes the conversion in two-dimentional labyrinth by traversal.The generating algorithm in labyrinth can guarantee that each labyrinth that generates is different at random, strengthens the interest of game.In addition, the player can also select the help pattern, and three-dimensional labyrinth of the present utility model electronic game machine can be assisted the player.Therefore, three-dimensional labyrinth of the present utility model electronic game machine has cost characteristics low, simple in structure, is of value to tap intellectual resources and amusement and recreation.
Description of drawings
Fig. 1 theory diagram of the present utility model
Fig. 2 the utility model single chip circuit figure
Fig. 3 the utility model keyboard input circuit figure
Fig. 4 the utility model display circuit figure
Fig. 5 the utility model power circuit diagram
Fig. 6 the utility model memory circuitry figure
Fig. 7 the utility model serial communication circuit figure
Fig. 8 the utility model software flow pattern
The specific embodiment
Below in conjunction with Figure of description the utility model is further specified
Among Fig. 1, main structure by single chip circuit, keyboard input circuit, display circuit, power circuit, memory circuit and serial communication circuit construction system in the present embodiment.Three-dimensional labyrinth electronic game machine adopts the recurrence split plot design can generate randomly two-dimentional labyrinth, adopts enumerative technique to enumerate two dimension and the three-dimensional all situations that transforms, and realizes that by traversal two-dimentional labyrinth is to the conversion in three-dimensional labyrinth.The generating algorithm in labyrinth can guarantee that each labyrinth that generates is different at random, strengthens the interest of game.In addition, the player can also select the help pattern, and three-dimensional labyrinth of the present utility model electronic game machine can be assisted the player.
Among Fig. 2, a new generation's high speed, low-power consumption, superpower jamproof STC89C516RD+ single-chip microcomputer that single chip circuit selects macrocrystalline science and technology to produce are the core of this example, link to each other with other each circuit, are responsible for the generation of game, and the acceptance of signal is processed and transmitted.Described single chip circuit A1, comprise Chip Microcomputer A 1, crystal oscillator Y1, capacitor C 1-C3, resistance R 1, exclusion JP1,9 pin of the termination Chip Microcomputer A 1 that electrochemical capacitor C3 negative pole is connected with resistance R connect, the positive pole of electrochemical capacitor C3 meets power supply VCC, the other end ground connection of resistance R 1,18 pin of the termination Chip Microcomputer A 1 of one end of capacitor C 1 and crystal oscillator Y1, one end of capacitor C 2 and the other end of crystal oscillator Y1 connect 19 pin of single-chip microcomputer A1,20 pin common grounds of the other end of capacitor C 1, C2 and single-chip microcomputer, the 32-40 pin of Chip Microcomputer A 1 runs in and hinders JP1, and 31 pin, 40 pin meet VCC.
Among Fig. 3, the keyboard input circuit is by button S11-S13, S21-S23, S31-S33 amounts to 9 buttons and forms, button S11-S13 ranked first row, button S21-S23 alignment ranked second row, button S31-S33 alignment ranked third row, the left end of button S11-S13 is with 1 pin that meets single-chip microcomputer A1, the left end of button S21-S23 is with 2 pin that meet single-chip microcomputer A1, the left end of button S31-S33 is with 3 pin that meet single-chip microcomputer A1, button S11, S21, the right-hand member of S31 is with 4 pin that meet single-chip microcomputer A1, button S12, S22, the right-hand member of S32 is with 5 pin that meet single-chip microcomputer A1, button S13, S23, the right-hand member of S33 is with 6 pin that meet single-chip microcomputer A1.The button of keyboard input circuit is the high-quality touch key.
Among Fig. 4, the LCD MODULE A2 of display circuit is the LCD12864 LCD MODULE, by LCD MODULE A2, electrochemical capacitor C4, resistance R 3, potentiometer R2 forms, the 7-14 pin of LCD MODULE A2,15 pin, the 4-6 pin respectively with the 21-28 pin of Chip Microcomputer A 1,39 pin, the 36-38 pin joins, 3 pin of LCD MODULE A2,18 pin connect respectively adjustable end and any end of potentiometer R2, another termination VCC of potentiometer R2,17 pin of one termination LCD MODULE A2 of the positive pole of electrochemical capacitor and resistance R 3, the other end of resistance R 3,19 pin of LCD MODULE, 2 pin meet VCC, the negative pole of electrochemical capacitor, 20 pin of LCD MODULE, 1 pin ground connection.
Among Fig. 5, the voltage stabilizing chip U1 of power circuit is LM7805 three-terminal voltage-stabilizing chip, and amplifier U4 is LM358, from supply hub DC extract external small transformers plug then circuit automatically powered by battery BT1, plug jack then by AC-powered, external small transformers adopts general linear transformer to get final product.Described power circuit is by voltage stabilizing chip U1, triode Q1, amplifier U4, resistance R 6-R10, capacitor C 11-C14, diode D1, single lock switch S 1, jack JP2, DC, battery case BT1 forms, 1 pin of voltage stabilizing chip U1 connects the emitter stage of triode Q1, the end of the base stage connecting resistance R10 of triode Q1, the other end of resistance R 10,1 pin of one termination amplifier U4 of resistance R 9, the other end of resistance R 9, one end of resistance R 7,3 pin of one termination amplifier U4 of resistance R 8, one end of capacitor C 12,2 pin of one termination amplifier U4 of resistance R 6, the other end of resistance R 6, the other end of R7, one end of capacitor C 11, the colelctor electrode of one termination triode Q1 of single lock switch S 1, the backward end of diode D1, the other end of the 2 pin order lock switch S 1 of jack DC, the positive pole of the positive termination battery case BT1 of diode D1,1 pin of jack DC, the negative pole of battery case, the other end of capacitor C 12, the other end of capacitor C 11, the other end of resistance R 8,2 pin of voltage stabilizing chip U1, one end of capacitor C 13, one end of capacitor C 14, the 2 pin common grounds of jack JP2, the other end of capacitor C 13, capacitor C 14 other ends, 1 pin of jack JP2 connects 3 pin of voltage stabilizing chip U1.
Among Fig. 6, the chip U2 of memory circuit is 24LC64E 2PROM, described memory circuit is comprised of memory chip U2, capacitor C 10, resistance R 5, R4,15 pin of one termination Chip Microcomputer A 1 of 5 pin of storage chip, resistance R 4,14 pin of one termination Chip Microcomputer A 1 of 6 pin of storage chip, resistance R 5, one end of the other end of resistance R 5, R4, capacitor C 10,8 pin of storage chip U2,1 pin connect 13 pin of single-chip microcomputer A1,7 pin of the other end of capacitor C 10, storage chip U2,2-4 pin ground connection.
Among Fig. 7, the chip U3 of serial communication circuit is the MAX232 communication chip, communicates with ROMPaq by jack J1 and host computer.Described serial communication circuit is by electrical level transferring chip U3, electrochemical capacitor C5-C8, capacitor C 9, nine kinds of needles jack J1 forms, the two ends of capacitor C 5 connect respectively 1 pin of chip U3,3 pin, the two ends of capacitor C 6 connect respectively 4 pin of chip U3,5 pin, 6 pin of one chip termination U3 of capacitor C 8, the other end ground connection of capacitor C 8,2 pin of one chip termination U3 of capacitor C 7, the other end of capacitor C 7, one end of capacitor C 9,16 pin of chip U3 meet power supply VCC, the other end of capacitor C 9, the 15 pin ground connection of chip U3,14 pin of chip U3,2 pin of 13 pin jointing holes J1,3 pin, 12 pin of chip U3,11 pin connect 10 pin of single-chip microcomputer A1,11 pin, 5 pin ground connection of jack.
The utility model also provides a kind of flow chart that uses three-dimensional maze game machine, see Fig. 8, particularly, initialize after the game machine start, when button is pressed, will identify the instruction of game, the player is wished that the operation of carrying out conveys to single-chip microcomputer, identified by the single-chip microcomputer processing section, single-chip microcomputer operates accordingly according to the instruction that obtains, and after operation is finished the view data packing is transferred to the display part, and the display part shows according to program setting.And then the input instruction, processing instruction shows the continuous reciprocation cycle of image, until player's Exit Game.

Claims (5)

1. a three-dimensional labyrinth electronic game machine is characterized in that, is comprised of single chip circuit, keyboard input circuit, display circuit, power circuit, external memory storage and serial communication circuit; Wherein, single chip circuit is connected with external memory storage with output, keyboard input circuit, display circuit, the serial communication circuit of power circuit respectively.
2. described electronic game machine according to claim 1 is characterized in that single chip circuit is mainly used in the generation of maze game and the processing of user input instruction, and is controlling the operation of whole circuit; The keyboard input circuit is finished the input of instruction in the maze game; The signal that display circuit is used for single-chip microcomputer is passed over is showing screen display; Power module is used for the power supply of system, satisfies simultaneously the power reguirements of single chip circuit, keyboard input circuit, display circuit and memory circuit; Memory circuit is used for storage game state and instruction; Serial communication circuit is used for the upgrading of program.
3. described electronic game machine according to claim 1, it is characterized in that, described single chip circuit comprises Chip Microcomputer A 1, crystal oscillator Y1, capacitor C 1 to C3, resistance R 1 and exclusion JP1,9 pin of the termination Chip Microcomputer A 1 that electrochemical capacitor C3 negative pole is connected with resistance R connect, the positive pole of electrochemical capacitor C3 meets power supply VCC, the other end ground connection of resistance R 1,18 pin of the termination Chip Microcomputer A 1 of one end of capacitor C 1 and crystal oscillator Y1, one end of capacitor C 2 and the other end of crystal oscillator Y1 connect 19 pin of single-chip microcomputer A1, capacitor C 1,20 pin common grounds of the other end of C2 and single-chip microcomputer, the 32-40 pin of Chip Microcomputer A 1 runs in and hinders JP1,31 pin, 40 pin meet VCC; Described Chip Microcomputer A 1 is the STC89C516RD+ single-chip microcomputer.
4. described electronic game machine according to claim 1 is characterized in that, described keyboard input circuit is amounted to 9 buttons and formed by button S11-S13, S21-S23, S31-S33; Button S11-S13 ranked first row, button S21-S23 alignment ranked second row, button S31-S33 alignment ranked third row, the left end of button S11-S13 is with 1 pin that meets single-chip microcomputer A1, the left end of button S21-S23 is with 2 pin that meet single-chip microcomputer A1, and the left end of button S31-S33 is with 3 pin that meet single-chip microcomputer A1, and the right-hand member of button S11, S21, S31 is with 4 pin that meet single-chip microcomputer A1, the right-hand member of button S12, S22, S32 is with 5 pin that meet single-chip microcomputer A1, and the right-hand member of button S13, S23, S33 is with 6 pin that meet single-chip microcomputer A1.
5. described electronic game machine according to claim 1 is characterized in that described display circuit is comprised of LCD MODULE A2, electrochemical capacitor C4, resistance R 3 and potentiometer R2; The 7-14 pin of LCD MODULE A2,15 pin, 4-6 pin join with 21-28 pin, 39 pin, the 36-38 pin of Chip Microcomputer A 1 respectively, 3 pin of LCD MODULE A2,18 pin connect respectively adjustable end and any end of potentiometer R2, another termination VCC of potentiometer R2,17 pin of one termination LCD MODULE A2 of the positive pole of electrochemical capacitor and resistance R 3,19 pin, 2 pin of the other end of resistance R 3, LCD MODULE meet VCC, 20 pin of the negative pole of electrochemical capacitor, LCD MODULE, 1 pin ground connection; Described LCD MODULE A2 is the LCD12864 LCD MODULE; Described power circuit is comprised of voltage stabilizing chip U1, triode Q1, amplifier U4, resistance R 6-R10, capacitor C 11-C14, diode D1, single lock switch S 1, jack JP2, DC and battery case BT1; 1 pin of voltage stabilizing chip U1 connects the emitter stage of triode Q1, the end of the base stage connecting resistance R10 of triode Q1, the other end of resistance R 10,1 pin of one termination amplifier U4 of resistance R 9, the other end of resistance R 9, one end of resistance R 7,3 pin of one termination amplifier U4 of resistance R 8, one end of capacitor C 12,2 pin of one termination amplifier U4 of resistance R 6, the other end of resistance R 6, the other end of R7, one end of capacitor C 11, the colelctor electrode of one termination triode Q1 of single lock switch S 1, the backward end of diode D1, the other end of the 2 pin order lock switch S 1 of jack DC, the positive pole of the positive termination battery case BT1 of diode D1,1 pin of jack DC, the negative pole of battery case, the other end of capacitor C 12, the other end of capacitor C 11, the other end of resistance R 8,2 pin of voltage stabilizing chip U1, one end of capacitor C 13, one end of capacitor C 14, the 2 pin common grounds of jack JP2, the other end of capacitor C 13, capacitor C 14 other ends, 1 pin of jack JP2 connects 3 pin of voltage stabilizing chip U1; Described voltage stabilizing chip U1 is LM7805 three-terminal voltage-stabilizing chip; Described amplifier U4 is LM358.
CN 201220233991 2012-05-23 2012-05-23 Three-dimensional labyrinth electronic game Expired - Fee Related CN202876328U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220233991 CN202876328U (en) 2012-05-23 2012-05-23 Three-dimensional labyrinth electronic game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220233991 CN202876328U (en) 2012-05-23 2012-05-23 Three-dimensional labyrinth electronic game

Publications (1)

Publication Number Publication Date
CN202876328U true CN202876328U (en) 2013-04-17

Family

ID=48067797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220233991 Expired - Fee Related CN202876328U (en) 2012-05-23 2012-05-23 Three-dimensional labyrinth electronic game

Country Status (1)

Country Link
CN (1) CN202876328U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104771899A (en) * 2015-04-13 2015-07-15 福建工程学院 Game labyrinth automatic generating method
CN105492091A (en) * 2013-09-18 2016-04-13 喀普康有限公司 Game device, game device control method, and recording medium
CN106058681A (en) * 2013-06-25 2016-10-26 山东五洲电气股份有限公司 Switch cabinet smart wind cooling controller easy to maintain

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106058681A (en) * 2013-06-25 2016-10-26 山东五洲电气股份有限公司 Switch cabinet smart wind cooling controller easy to maintain
CN105492091A (en) * 2013-09-18 2016-04-13 喀普康有限公司 Game device, game device control method, and recording medium
CN105492091B (en) * 2013-09-18 2019-01-15 喀普康有限公司 The control method of game device and game device
CN104771899A (en) * 2015-04-13 2015-07-15 福建工程学院 Game labyrinth automatic generating method
CN104771899B (en) * 2015-04-13 2018-02-02 福建工程学院 A kind of automatic generation method in labyrinth of playing

Similar Documents

Publication Publication Date Title
CN202876328U (en) Three-dimensional labyrinth electronic game
Yang Application of artificial intelligence technology in virtual reality animation aided production
CN204087755U (en) A kind of LED dot matrix animate during editing machine
CN104461072A (en) Multifunctional wireless mouse
Li et al. 3D printing technology impact on development of industrial design
CN201303337Y (en) Computer network interface card timing and integrating time switching device
CN202210808U (en) Household intelligent router
CN204337723U (en) A kind of thing connection five-in-a-row chessboard system
CN203598469U (en) Card-insertion-type television and computer combined dancing blanket
Li The Success and Failure of “Legends of the Three Kingdoms” From the Perspective of Marketing
CN203026064U (en) Light-emitting diode (LED) display chest card
Zhang Notice of Retraction: A study on the joint development of the corporate brand and the city
CN107551550A (en) Change system and method in network Random Factor Mahjong interface
CN204380205U (en) Table tennis is served a ball controller automatically
CN203591587U (en) Multifunctional gamepad
CN207221265U (en) A kind of table suitable for entertaining canaster
Song et al. Exploration on the conversion path of the new and old kinetic energy of Chinese sports industry
Tan et al. Exploration of Business Model of Intangible Cultural Heritage Culture Based on Rural Revitalization Strategy: A Case Study of Fuyang Embroidery
CN207950600U (en) A kind of electronic mahjong machine
CN204480342U (en) A kind of chess game match timer clock
Liu et al. Research on the Current Situation and Existing Problems of the Implementation of Digitalization Policy in the Cultural Industries in Anhui Province
Wang et al. A cooperative game model for traffic engineering and overlay routing based on trustworthy and controllable network
CN203376898U (en) Embedded intelligent teaching toy
CN204178278U (en) Touch control type electric brain server
CN202838208U (en) Mouse with music playing function

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130417

Termination date: 20180523

CF01 Termination of patent right due to non-payment of annual fee