CN109091872A - Profession of teaching extension system based on game mode - Google Patents

Profession of teaching extension system based on game mode Download PDF

Info

Publication number
CN109091872A
CN109091872A CN201810615160.5A CN201810615160A CN109091872A CN 109091872 A CN109091872 A CN 109091872A CN 201810615160 A CN201810615160 A CN 201810615160A CN 109091872 A CN109091872 A CN 109091872A
Authority
CN
China
Prior art keywords
labyrinth
game
profession
module
precious deposits
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.)
Granted
Application number
CN201810615160.5A
Other languages
Chinese (zh)
Other versions
CN109091872B (en
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.)
Guangdong Light Industrial Advanced Technical School
Original Assignee
Guangdong Light Industrial Advanced Technical School
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 Guangdong Light Industrial Advanced Technical School filed Critical Guangdong Light Industrial Advanced Technical School
Priority to CN201810615160.5A priority Critical patent/CN109091872B/en
Publication of CN109091872A publication Critical patent/CN109091872A/en
Application granted granted Critical
Publication of CN109091872B publication Critical patent/CN109091872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/211Input arrangements for video game devices characterised by their sensors, purposes or types using inertial sensors, e.g. accelerometers or gyroscopes
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/105Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals using inertial sensors, e.g. accelerometers, gyroscopes

Abstract

The present invention discloses the profession of teaching extension system based on game mode, it is characterised in that: the profession of teaching extension system includes hand held terminal unit and special class database, wherein the hand held terminal unit can be with the special class Database data connection;The hand held terminal unit includes gravity sensing device and labyrinth game device;The labyrinth game device includes maze game main module, game mode selecting module, labyrinth generation module, mobile control module, content search display module and clearance determination module.The informative presentations for learning helpful specialized courses to professional knowledge are understood during the FREE EXTENT FRAGMENTATION IN time playing trivial games the beneficial effects of the present invention are guidance people, the people having intention can complete to teach through lively activities to the detailed understanding of enrollment profession in gaming.

Description

Profession of teaching extension system based on game mode
Technical field
The present invention relates to using inertial sensor, and --- such as accelerometer or free gyroscope --- video-game uses two The game (A63F 13/211) of dimension or multi-dimensional electronic display, more particularly to the profession of teaching extension system based on game mode.
Background technique
Vocational education is the actual combat training carried out for a certain vocational skills, refers to that educatee obtains certain occupation or production The education of vocational knowledge, technical ability and professional ethics required for working.As various vocational trainings and various vocational high schools, in Specially, professional colleges education such as technical school etc. belongs to vocational education.
Vocational education cost be higher than general education, due to regional disparity, considerable part professional colleges have no additional provision or It subsidizes, lacks of capital mainly by enrollment charge to make up.In current competitive fierceness, the environment of source of students reduction, enrollment is related to Universities and colleges run well or even existence;On the other hand, vocational education contacts the most close one with market economic development as a kind of Kind of the forms of education undoubtedly have become a kind of market behavior to raise the enrollment activity of operating expenses one of as the main purpose, and Arbitrariness is also big for enrollment activity at present, and systematicness is poor, and there is understanding and operational various mistaken ideas, and the following are vocational education universities and colleges Relatively common traditional enrollment form, efficiency of recruiting student and input-output ratio are all poor:
1. establish full-time team of enrollment office, in enrollment season landing to different enrollments ground, with local target enrollment group into Row docking using lecture and distributes and promotes itself profession in the form of leaflet, promotes enrollment.
2. carrying out agency's enrollment service to vocational education universities and colleges using local enrollment agency, but the agency that recruits student is because simultaneously The non-full-time office worker of universities and colleges, to enrollment profession, there are can not also put into the excessive time while Cognition Gaps to live to agency's enrollment In dynamic, output effect is poor.
3. in order to more preferably carry out enrollment explanation to intention student, vocational education universities and colleges can print a large amount of school admission brochure and Universities and colleges' pamphlet also results in a large amount of environmental pollutions while the effect of publicity is low.
4. land recruitmentscale by manpower, present mobile internet era development need and more preferable can not be better conformed to It with larger range of extension enrollment range and influence power, can not preferably attract intention student's eyeball, cause enrollment effect low.
Introduce two main computer technologies that the present invention uses:
H5 trivial games
H5 is a series of technology set of Web- Designing interaction effects, i.e. H5 is exactly the web page of mobile terminal.And H5 is swum Play, you can be regarded as the web game of mobile terminal, can experience without downloading software, the advantage that here it is H5 in propagation.It is right It plays for family in many hands, H5 may be a very strange noun, and H5 is exactly the Advanced Edition of HTML in fact, at present H5 skill Art is constantly improve.
When H5 game at home also in budding state when, be absorbed in moving game platform field company just have begun standard Standby Overall Transformation.
In technical aspect, the threshold for developing mobile trivial games using H5 is lower, and required time is less." you can be as writing net Page equally writes game, without too many additional studies, and has large volume document and plug-in unit available." snail digital technology share Co., Ltd Chen Fang once so described the technical characterstic of H5.The fact is also in this way, according to media report: " neural cat " fashionable for a time Only one design plus a programmer, have only used for one and half time.
H5 development of games engine --- egression engine:
1, it is based on TypeScript and JavaScript technology
2, Flash to Egret is supported efficiently to convert
3, complete job stream when engine, tool, operation
The H5 game ecosphere:
The game of each platform end just using cross-platform operation mode as the following direction of advance, is summarized integration by H5 gaming platform It concentrates, provides convenient and fast game channel for player, start gaming platform operation new era, and make great efforts to become comprehensive gaming platform neck Runner.Meanwhile the advantages such as existing big data technology and consumer finance mode are relied on, it is raw to build the maximum h5 game player in the whole world State circle, happy people's gaming platform are exactly one of them.
HTML5
The purpose of design of HTML5 is to support multimedia on the mobile apparatus.New grammar property is introduced into support This point, as video, audio and canvas are marked.HTML5 has also introduced new function, can really change user and document Interactive mode, comprising:
New resolution rules enhance flexibility
New attribute
Eliminate out-of-date or redundancy attribute
One HTML5 document is to the drag-and -drop function between another document
Off-line editing
The enhancing of information transmitting
Detailed resolution rules
Multipurpose internet mail extensions (MIME) and protocol handling program registration
The universal standard (Web SQL) of storing data in SQL database
HTML5 was used in 2007 by the new working group of World Wide Web Consortium (W3C).This working group is sent out in January, 2008 The first open draft of cloth HTML 5.Now, HTML5 is in " appealing to examine " state, and W3C is expected it will be the end of the year in 2014 Reach its end-state.
Html5 characteristic
The feature of semanteme (Class:Semantic)
HTML5 assigns the better meaning of webpage and structure.Label more abundant by with to RDFa, microdata with it is micro- The support of format etc. constructs the Web to program, the data-driven all more valuable to user.
Characteristic (Class:OFFLINE&STORAGE) is locally stored
Webpage APP based on HTML5 exploitation possesses the shorter starting time, and faster networking speeds, these have benefited from entirely HTML5 APP Cache and local storage function.Indexed DB (one of most important technology is locally stored in html5) and API illustrates document.
Hardware compatibility characteristic (Class:DEVICE ACCESS)
Since disclosing from the API document of Geolocation function, HTML5 is that web application developers provide more Optimum choice functionally brings the advantage of more experience functions.HTML5 provides unprecedented data and application accesses Open interface.Be connected directly applications directly with the data inside browser, for example, video it is audio-visual can directly with Microphones and camera are connected.
Connection performance (Class:CONNECTIVITY)
More effectively connection working efficiency, so that the live chat based on the page, faster web game experience is more excellent The online exchange of change is realized.HTML5 possesses more effective server push technology, Server-Sent Event and WebSockets is exactly two characteristics therein, the two characteristics can help to realize server by data " push " to client Function.
Web-page Multi-media characteristic (Class:MULTIMEDIA)
The multimedia functions such as Audio, the Video at supported web page end, the APPS carried with website, camera, video/audio function It brings out the best in each other.
Three-dimensional, figure and special efficacy characteristic (Class:3D, Graphics&Effects)
3D function based on SVG, Canvas, WebGL and CSS3, user can exclaim frightened in what is in a browser, presented People's visual effect.
Performance and Integrated Trait (Class:Performance&Integration)
There is no user your Loading of Beyond --- HTML5 can be solved by technologies such as XMLHttpRequest2 The problems such as certainly pervious cross-domain, helps your Web to apply and faster works in diversified environment with website.
CSS3 characteristic (Class:CSS3)
Under the premise of not sacrificing performance and semantic structure, more styles and stronger effect are provided in CSS3.This Outside, compared with pervious Web typesetting, the opening font format (WOFF) of Web also provides higher flexibility and controlling.
And to carry out preliminary patent retrieval as follows for creative work of the invention:
Patent document CN102664993A discloses a kind of method that mobile phone advertisement rocks switching picture, utilizes smart phone Acceleration induction, comprising steps of mobile phone is divided into one solid axes of x, y, z, by its point as unit of time shaft is by microsecond It is cut into several pieces;It is divided into one group of a for first n parts, n+1, n+2, n+3 and is divided into another group of b backward;It is taken by mobile phone acceleration induction Obtain a group acceleration value g1, b group acceleration g 2, g2-g1=m;Compared with the threshold values g of setting, if resulting value m >=g, judgement is shaken It shakes successfully;When there is space movable type, then a space vector value is obtained according to formula, then compared with the threshold values g of setting, if empty Between vector value >=g, then judgement rock success.Pass through the acceleration induction and hardware superiority of mobile phone itself.By quickly calculating To determine whether success, ensure that the stability and availability of program, thus realize in smart phone mobile application advertisement, The effect for rocking switching picture is rapidly completed.
Patent document CN105457271A discloses a kind of gravity sensing marine fishing based on Android handheld mobile device Class leisure game.User captures the fish for the reaction that will morph by control " bubble ", is sent to ecological bottle, is caught The classification for catching fish is different, and institute's score value is different.Entire treatment process includes the following steps: functional requirement matching step, passes through Bubble is dragged, full weight folded " collision " occurs with the fish moveing freely and acts to show whether it is captured, by that will wrap up There are the bubble of fish and ecological bottle bottleneck that " collision " occurs to act to show whether it can score value.Games process such as attached drawing 1. Present invention could apply to provide the entertainment way of completely new intention for user towards public recreational games, it is based on Android Gravity sensing, break traditional fishing's game man-machine interaction mode, and independently realize customized double infection, fish swarming, collision Scheduling algorithm has theoretical depth and practical application meaning, has very strong promotional value.
Patent document CN103581411A discloses a kind of mobile phone that menu function is selected with gravity sensing comprising base band core Piece, gravity sensor, comparator, driver, memory, baseband chip are connect with gravity sensor, driver, comparator also with Gravity sensor, driver connection, memory are connect with comparator.The present invention is selected easily by gravity sensing, as long as on Lower left-right rotation direction can easily select menu, facilitate operating handset.
Patent document CN102420905A discloses a kind of method and dress using gravity sensor control mobile phone to play music It sets, comprising: the corresponding play operation type of setting gravity sensor;The susceptibility M of gravity sensor is set;Gravity sensor obtains Take mobile phone velocity of displacement value N;Mobile phone velocity of displacement value N is sent to control module by gravity sensor;Whether control module judges N More than or equal to M;As N >=M, whether control module detection playing module is playing music;When playing module is playing sound Control module control playing module executes the play operation type when happy.It is proposed by the present invention to control hand using gravity sensor The method that machine sowing is put the music on is more efficient, judgement is more accurate, operation is more controllable.It is proposed by the present invention to utilize gravity sensor The method and apparatus for controlling mobile phone to play music, working efficiency is higher, and the user experience is improved.
Patent document CN103002132B discloses a kind of method and device using gravity sensing control mobile phone operation, including Following steps: the 1) value of state setting state instruction parameter (A) before being acted according to mobile phone: if the state before movement is preparatory State instruction parameter (A) is then set to true by the reference state of setting;Otherwise, maintain false constant;2) detection mobile phone movement State afterwards;3) whether the state after judging mobile phone movement is more than critical triggering state, if it is, entering step 4);If not, Then return step 2);4) judge whether state instruction parameter (A) is true, if it is, entering step 5);If it is not, then knot Beam;5) the corresponding operation of state after control mobile phone is acted, and updating state instruction parameter A is false.Benefit of the invention With the method for gravity sensing control mobile phone operation, the absent-mindedly malfunction during user action mobile phone can be identified, It avoids malfunctioning, operating handset is more stable when making to control mobile phone.
It is wide that technical solution disclosed in above patent document does not solve how to read during playing mobile phone games The technical issues of specialized courses of announcement information such as universities and colleges' advertisement for pupils introduces content.
Summary of the invention
The present invention be it is a kind of based on mobile Internet, innovation it is environmentally protective, have fast propagation ability and residence religion In happy enrollment promotion method, it uses H5 trivial games technology, for different vocational education universities and colleges or education and training organization, tool The different majors direction of different pasterns inside body to universities and colleges is established exclusive game labyrinth for specific major field, is passed through " gravity sensing " function of mobile phone experiences the variation of center of gravity when mobile phone alters one's posture all around, in mobile phone cursor change location Operation game charater all around moves to find out " the professional precious deposits " of this major field in labyrinth in the process --- profession The next specific course content of precious deposits i.e. this major field, can open precious case after game charater finds " professional precious deposits ", After all " professional precious deposits " to introduce the detailed description of this course, and below this major field all make uniform, as make a breakthrough Pass through, the time ranking of this game can be finally recorded by technological means, at the same provide profession be discussed in detail, channel of registering And I such as will share at the postpositions function, the intention student of allowing can complete the detailed understanding to enrollment profession in gaming, residence religion in It is happy, while game distribution can quickly be carried out by wechat sharing function, allow game player inadvertently to become the trick of universities and colleges Raw disseminator be also beneficial to establish the professional technique image of universities and colleges, be tasted to the innovation of vocational education universities and colleges tradition recruitmentscale Examination and strong supplement.
For overcome the deficiencies in the prior art, it is an object of the present invention to seek precious scene in hand in conjunction with maze game Hold the informative presentations for showing universities and colleges' advertisement for pupils information, specialized courses on formula terminal device in due course.
The second object of the present invention is to show that universities and colleges' advertisement for pupils is believed using HTML5 Technology design labyrinth treasure hunt game The informative presentations of breath, specialized courses.
The present invention proposes the profession of teaching extension system based on game mode thus, it is characterised in that: the profession of teaching Extension system includes hand held terminal unit and special class database, wherein the hand held terminal unit can be with the special class Database data connection;
The special class database includes at least lesson data table and precious deposits tables of data, and the lesson data table includes at least class Journey identification field, content introduction field and the first precious deposits identification field, also, the precious deposits tables of data includes at least the second treasured Identification field and second major identification field are hidden, places external key about in the first precious deposits identification field of the lesson data table Beam, in the second precious deposits identification field of the value and the precious deposits tables of data that ensure to input in the first precious deposits identification field Existing value matching;
The hand held terminal unit includes gravity sensing device and labyrinth game device;
The labyrinth game device includes:
Maze game main module comprising the main graphical interface of maze game, the main graphical interface include at least universities and colleges Title and/or universities and colleges' LOGO information;
Game mode selecting module comprising game mode graphical interfaces, the game mode graphical interfaces have a variety of Game mode option is selected for operator, wherein the corresponding profession of teaching for needing to promote of each game mode;
Labyrinth generation module, can generate labyrinth graphical interfaces, and the labyrinth graphical interfaces includes game charater, fan Palace and professional precious deposits are provided with the M professional precious deposits, wherein M is greater than or equal to 1 positive integer in the labyrinth;
Mobile control module controls the game people by means of the gravity sensing device in the hand held terminal unit Object moves in the labyrinth, finds out the professional precious deposits in the labyrinth, wherein the mobile mode of the control are as follows: will be described The screen of hand held terminal unit is horizontally arranged upward, and the hand held terminal unit top has a down dip, and the game charater is to top Portion is mobile, inclines under the hand held terminal unit, the game charater bottom, the hand held terminal unit lower-left is inclined, institute It is mobile to left part to state game charater, the hand held terminal unit bottom right is inclined, and the game charater is mobile to right part;It is described hand-held The downdip direction of formula terminal device and the corresponding relationship of the game charater moving direction can be arbitrary;
Content search display module is capable of the numerical value of the mark of the second precious deposits according to provided by the professional precious deposits found out, By searching for the lesson data table of the special class database, the numerical value for finding the second precious deposits mark is equal to the lesson data The data recording of the numerical value of the first precious deposits mark of table, the data that the content introduction field of the data recording saves are exactly described The content introduction of specialized courses, also, the content search display module can show the content introduction of the specialized courses, supply The operator reads;With
Clearance determination module, if the game charater finds all professional precious deposits on maze path, determine clearance at Function;
Profession of teaching extension system promotes specialized courses as follows:
By means of the maze game main module, into the main graphical interface of the maze game;
By means of the game mode selecting module, into the game mode graphical interfaces;
By means of the game mode selecting module, the first game mode is selected on the game mode graphical interfaces;
By means of the labyrinth generation module, the first labyrinth is generated, wherein the first game charater can be in first fan It is moved in palace;
By means of the mobile control module, the operator controls first game charater in first labyrinth It is mobile, find out first first professional precious deposits in first labyrinth;
By means of the content search display module, searches for and show described first first professional precious deposits corresponding first The content introduction of specialized courses is read for the operator;
By means of the mobile control module, the professional precious deposits of l-th first in first labyrinth are found out, wherein L is Positive integer less than or equal to M;
It is by means of the content search display module, the professional precious deposits of l-th first in first labyrinth are corresponding The content introduction of specialized courses is shown, is read for the operator;
By means of the clearance determination module, judge whether L is equal to M, if L is equal to M, shows that the operator shows simultaneously The content introduction of whole M specialized courses of the profession of teaching can be read, successfully makes a breakthrough and passes through first labyrinth.
Compared with prior art, the beneficial effects of the present invention are: guidance people the FREE EXTENT FRAGMENTATION IN time play trivial games process It is middle understand learn the informative presentations of helpful specialized courses to professional knowledge, the people having intention can complete in gaming pair The detailed understanding for profession of recruiting student, teaches through lively activities.
Detailed description of the invention
Fig. 1 is the concise process of the preferred embodiment of the profession of teaching extension system of the invention based on game mode Figure;
Fig. 2 is the detail flowchart of the profession of teaching extension system of the invention of Fig. 1;
Fig. 3 is the tables of data relation schematic diagram of the special class database of the profession of teaching extension system of the invention of Fig. 1;
Fig. 4 is the graphical interfaces of the loading module of the labyrinth game device of the profession of teaching extension system of the invention of Fig. 1 Schematic diagram;
Fig. 5 is the schematic diagram of the main graphical interface of the maze game main module of the labyrinth game device of Fig. 4;
Fig. 6 is the schematic diagram of the graphical interfaces of the game mode selecting module of the labyrinth game device of Fig. 4;
Fig. 7 is the schematic diagram of the labyrinth graphical interfaces of the labyrinth generation module of the labyrinth game device of Fig. 4;
Fig. 8 is showing for the content introduction for the specialized courses that the content search display module of the labyrinth game device of Fig. 4 is shown It is intended to;
Fig. 9 is the schematic diagram of the sharing graphical interfaces of the clearance sharing module of the labyrinth game device of Fig. 4;
Figure 10 is the data recording example of universities and colleges' information table of special class database shown in Fig. 3;
Figure 11 is the data recording example of the pastern information table of special class database shown in Fig. 3;
Figure 12 is the data recording example of the specialized information table of special class database shown in Fig. 3;
Figure 13 is the data recording example of the precious deposits tables of data of special class database shown in Fig. 3;
Figure 14 is the data recording example of the lesson data table of special class database shown in Fig. 3;
Figure 15 is the archetypical example of the labyrinth generation module of labyrinth game device shown in Fig. 4;
Figure 16 is the flow diagram of the initialization unit grid module of labyrinth generation module shown in figure 15;
Figure 17 is the flow diagram of the Traversal Unit grid module of labyrinth generation module shown in figure 15;
Figure 18 is the flow diagram of the connected unit grid module of labyrinth generation module shown in figure 15;
Figure 19 is the flow diagram of the drawing unit grid module of labyrinth generation module shown in figure 15;
Figure 20 is the flow diagram of the mobile control module of labyrinth game device shown in figure 15;
Wherein, the four direction in the screen plane of hand held terminal unit is defined in Fig. 4: left and right, top, bottom, it is such Definition has relativity, does not influence above-mentioned definition using the orientation for holding the hand held terminal unit.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
The specific embodiment for the three big computer technologies that the present invention uses is introduced first.
One, database schema designs
As shown in figure 3, establishing special class database in MySQL server, each tables of data, phase are then established wherein It is as follows to close tables of data Action Specification:
(1) Yqb_school: universities and colleges' information table;
(2) Yqb_dept: pastern information table is associated with universities and colleges' information table as from table;
(3) Yqb_major: specialized information table is associated with pastern information table as from table;
(4) Yqb_treasure: precious deposits tables of data is associated with specialized information table as from table;
(5) Yqb_course: lesson data table is associated with precious deposits tables of data as from table;
It is related table structure below:
Universities and colleges' information table structure
CREATE TABLE`yqb_school`(
`id`int(11)NOT NULL AUTO_INCREMENT,
`name`varchar(25)DEFAULT NULL,
`address`varchar(50)DEFAULT NULL,
`tel`varchar(25)DEFAULT NULL,
`contact`varchar(25)DEFAULT NULL,
`logo`varchar(100)DEFAULT NULL,
`musiclink`varchar(100)DEFAULT NULL,
PRIMARY KEY(`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2DEFAULT CHARSET=utf8;
Pastern information table structure
CREATE TABLE`yqb_dept`(
`id`int(11)NOT NULL AUTO_INCREMENT,
`name`varchar(25)DEFAULT NULL,
`tel`varchar(25)DEFAULT NULL,
`contact`varchar(25)DEFAULT NULL,
`logo`varchar(100)DEFAULT NULL,
`musiclink`varchar(100)DEFAULT NULL,
`schoolid`int(11)DEFAULT NULL,
PRIMARY KEY(`id`),
KEY`dept_school_fk`(`schoolid`),
CONSTRAINT`dept_school_fk`FOREIGN KEY(`schoolid`)REFERENCES`yqb_ school`(`id`)ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2DEFAULT CHARSET=utf8;
Specialized information table structure
CREATE TABLE`yqb_major`(
`id`int(11)NOT NULL AUTO_INCREMENT,
`name`varchar(25)DEFAULT NULL,
`contact`varchar(25)DEFAULT NULL,
`info`varchar(100)DEFAULT NULL,
`deptid`int(11)DEFAULT NULL,
PRIMARY KEY(`id`),
KEY`major_dept_fk`(`deptid`),
CONSTRAINT`major_dept_fk`FOREIGN KEY(`deptid`)REFERENCES`yqb_dept`(` id`)ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3DEFAULT CHARSET=utf8;
Precious deposits data list structure
CREATE TABLE`yqb_treasure`(
`id`int(11)NOT NULL AUTO_INCREMENT,
`name`varchar(25)DEFAULT NULL,
`sortid`int(11)DEFAULT NULL,
`info`varchar(100)DEFAULT NULL,
`majorid`int(11)DEFAULT NULL,
PRIMARY KEY(`id`),
KEY`treasure_major_fk`(`majorid`),
CONSTRAINT`treasure_major_fk`FOREIGN KEY(`majorid`)REFERENCES`yqb_ major`(`id`)ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5DEFAULT CHARSET=utf8;
Lesson data table structure
CREATE TABLE`yqb_course`(
`id`int(11)NOT NULL AUTO_INCREMENT,
`title`varchar(25)DEFAULT NULL,
`info`varchar(100)DEFAULT NULL,
`logo`varchar(100)DEFAULT NULL,
`treasureid`int(11)DEFAULT NULL,
PRIMARY KEY(`id`),
KEY`course_treasure_fk`(`treasureid`),
CONSTRAINT`course_treasure_fk`FOREIGN KEY(`treasureid`)REFERENCES` yqb_treasure`(`id`)ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=21DEFAULT CHARSET=utf8;
Figure 10 is the data recording example of universities and colleges' information table;Figure 11 is the data recording example of pastern information table;Figure 12 is The data recording example of specialized information table;Figure 13 is the data recording example of precious deposits tables of data;Figure 14 is the number of lesson data table According to record example.
Two, maze game designs
It first combines the cell that labyrinth is considered as a m row n column, each cell can be expressed as maze [i] [j].What the difference of following labyrinth and m*n cell? labyrinth is comparable to different units lattice just with certain regular phase It is intercommunicated, it is also equivalent to the coincidence line between two adjacent cells to removing, then according to certain regular cycles, just Produce a labyrinth.
It is assumed that each cell is traversed since upper left corner beginning, if the not visited mistake of the cell, checks it Adjacent element (on, under, it is left, right) whether there is the cell not accessed, if there is then taking out an adjacent element at random and getting through Coincidence line between them return back to a upper cell if not.
A constructed fuction is created first:
In this constructed fuction, three parameters, respectively canvas element, the line number in labyrinth and columns are received, and straight Connect the init method for calling Maze.
In init method, first according to incoming columns col come the width of computing unit lattice, one is then constructed Maze_cells object, wherein one array of each behavior, the value that each cell includes respectively represents x, and y-coordinate is left up and down Right 4 directions whether P Passable, if accessed, there are also the g of the cell, h, f values.It is assumed that the opening in labyrinth is located at entirely The upper left corner in labyrinth, outlet are located at the lower right corner.VisitRooms is used to store the cell accessed, and roomLine is then recorded Access path.By the top of the inlet in labyrinth and exit, bottom be set to be set as again after true false be for There is not frame during drafting, guaranteeing after completing cannot to upper (lower) movement.
Canvas draw lines be centered at coordinate, i.e., at (1,1) draw width be 2 lines be initially from (0, 1) start, so having subtracted the width 2 of lines with the width of entire canvas, it is more square to may be set to be variable here certainly Just it modifies.
Next each cell is needed to be traversed for, each cell is accessed by recursive form as follows, when a certain Meant that when the adjacent element of a cell is all accessed and roomLine array is empty had accessed it is all Cell.
See if the adjacent cells lattice of current cell have and do not access, executes breakWall method, that is, get through and work as Wall among front unit lattice and adjacent cells lattice should randomly choose the adjacent cells lattice not accessed certainly.By will be single The top of first lattice, bottom, left, right attribute are set as true or false to identify whether this direction should have frame, Whether the direction can be walked simultaneously.
Two steps above have been carried out, a complete array has constituted, next can start to depict, top, Left, right, bottom then have a frame when being false, Rimless when true.This step is fairly simple, has invoked one at the end of A drawOffset method, this method will create an off screen object, in this way dynamic modify labyrinth when can directly by The Image Rendering of off screen is into current painting canvas.
In design of the invention, such as specific implementation code drawOffset:function of above-mentioned drafting off screen object (), the off screen object are exactly off screen Canvas.Certainly, to those skilled in the art, off screen object is also possible to point Layer Canvas in one or more layers, be also possible to piece image.It in most cases, can be background storage at one Or among multiple off screen canvas, and certain a part in these off screens canvas is copied on screen, is substantially mentioned with this The performance of high application program.Here it is the advantageous effects of off screen canvas technology.
Three, the mobile design of game charater
Judge that mobile phone tilt angle is analyzed by gravity sensing, to change device orientation Orientation_key value, every When secondary game charater NPC selection moving direction, primary Orientation_key value at that time is obtained, the mobile side of itself is changed To npc_index [0], and record current location [start_row] [start_col].
First judge whether it is similar with a preceding mobile phone tilt angle, if almost constant, not so, then compare left and right and Tilted upward degree difference, then judge between left and right (upper and lower), which side gradient is higher.
Then, per after a period of time, device orientation Orientation_key value is reacquired, thus, change the shifting of NPC Moving direction npc_index [0] and executing npc_go method makes NPC mobile.
Judge to select whether moving direction can move, and whether touches precious case or stage property.
Technology design thought is stated to closing, the one of the profession of teaching promotion method according to the present invention based on game mode is real Mode is applied, the game is maze game, also, the maze game includes game charater, labyrinth and professional precious deposits;It is described Profession of teaching includes N specialized courses, wherein N is greater than or equal to 1 positive integer;Each corresponding one of professional precious deposits is specially The content introduction of industry course;The maze game is loaded in hand held terminal unit, and the hand held terminal unit includes Gravity sensing device;The operator of the hand held terminal unit is found described special during using the maze game Industry precious deposits, so as to obtain the profession of teaching specialized courses content introduction, and then can be by the handheld terminal The operator of equipment reads;
Steps are as follows for the realization of the profession of teaching promotion method:
S101: enter the maze game main interface, can show the LOGO information of universities and colleges;
S102: enter game mode interface, wherein corresponding the profession of teaching for needing to promote of each game mode;
S103: the first game mode of selection, into the first labyrinth, wherein corresponding first teaching of first game mode Profession is provided with M first professional precious deposits, wherein M is greater than or equal to 1 positive integer in first labyrinth;
S104: the operator of the hand held terminal unit is filled by means of the gravity sensing in the hand held terminal unit It sets the first game charater of control to move in first labyrinth, first first profession found out in first labyrinth is precious Hiding, wherein the mobile mode of the control are as follows: the hand held terminal unit leans forward, and the game charater retreats, described hand-held The layback of formula terminal device, the game charater are advanced, and the hand held terminal unit is left-leaning, and the game charater is moved to the left side It moves, the hand held terminal unit Right deviation, the game charater is mobile to the right;
S105: the content introduction of corresponding first specialized courses of the display first first profession precious deposits, by the hand The operator for holding formula terminal device reads, wherein the content introduction is saved in the lesson data table of special class database, institute It states lesson data table and includes at least course identification field, content introduction field and precious deposits identification field, also, the precious deposits mark Know has uniqueness in the data recording of the lesson data table, and the data information of the profession precious deposits is saved to described special In the precious deposits tables of data of class database, the precious deposits tables of data includes at least precious deposits identification field and profession of teaching identification field, Therefore, the game charater finds described first first professional precious deposits, just obtains the treasured of described first first professional precious deposits Hiding mark finds its precious deposits mark and is equal to described first the then by searching for the lesson data table of the special class database First data recording of the precious deposits mark of one professional precious deposits, the content introduction of first data recording are exactly first profession The content introduction of course;
S106: repeat the above steps S104 and S105, finds out L first professional precious deposits in first labyrinth, and will The operator that the content introduction of corresponding specialized courses is shown to the hand held terminal unit reads, wherein L is less than or waits In the positive integer of M;
S107: judging whether L is equal to M, if L is equal to M, shows that the operator makes a breakthrough through first labyrinth.
The above-mentioned profession of teaching promotion method based on game mode is dexterously by the learning Content Information Embedding of specialized courses In maze game, the technical effect taught through lively activities, learned when playing is realized.
It is according to the present invention based on game mode in order to implement the above-mentioned profession of teaching promotion method based on game mode The preferred embodiment of profession of teaching extension system, the profession of teaching extension system include hand held terminal unit and special class number According to library, wherein the hand held terminal unit can be with the special class Database data connection.It is understood that institute Stating hand held terminal unit is smart phone or tablet computer, and operating system is Windows operating system or Android behaviour Make system.The special class database can be by ACCESS database, EXCEL electrical form, MySQL Server, Microsoft The business databases such as SQL Server or PostgreSQL database software carry.The operating system of terminal device is built-in with data connection Management tool, to realize the data connection between the hand held terminal unit and the special class database.The special class data Library can be directly installed in the hand held terminal unit, also may be mounted in individual data server, and by mutual Join the data connection described in network implementations between hand held terminal unit and the special class database.The data connection refers to institute State the data recording that the program module in hand held terminal unit can be read and write in the tables of data of the special class database.
Referring to Fig. 3, the special class database includes at least lesson data table yqb_course and precious deposits tables of data yqp_ Treasure, the lesson data table includes at least course identification field id, content introduction field info and the first precious deposits identify Field treasureid, also, the precious deposits tables of data includes at least the second precious deposits identification field id and second major identifier word Section majorid, places foreign key constraint in the first precious deposits identification field of the lesson data table, to ensure in first precious deposits The value inputted in identification field is matched with the existing value in the second precious deposits identification field of the precious deposits tables of data.It is understood that It is that the foreign key constraint can guarantee that each precious deposits is only corresponding with unique specialized courses.Preferably, the course number It further include course name field title and course LOGO field logo according to table.The precious deposits tables of data further includes precious deposits title word Section name, sequence identification field sortid and precious deposits information field info.
The hand held terminal unit includes gravity sensing device and labyrinth game device.
More information in relation to gravity sensing device can be found in patent document CN105457271A, CN102553230A, CN201906455U, CN202961849U, CN1833084A, CN205832567U, therefore, the phase of the patent document of the reference Closing technology contents becomes a part of this specification as the prior art, and description is not repeated herein.
Technical solution about gravity sensing device control game is open a kind of referring to patent document CN105457271A Gravity sensing marine fishing class leisure game based on Android handheld mobile device.
The labyrinth game device includes: maze game main module, game mode selecting module, labyrinth generation module, moves Dynamic control module, content search display module and clearance determination module.
Referring to Fig. 5, the maze game main module includes the main graphical interface of maze game, and the main graphical interface is at least Including universities and colleges' title and/or universities and colleges' LOGO information.Optionally, user touches the name of the universities and colleges on the main graphical interface with finger After title and/or universities and colleges' LOGO information, the content introduction of the universities and colleges is shown.
Referring to Fig. 6, the game mode selecting module includes game mode graphical interfaces, the game mode graphical interfaces It with a variety of game mode options, is selected for operator, wherein the corresponding teaching for needing to promote of each game mode is special Industry.In the example of fig. 6, corresponding three disciplines of three kinds of game modes: network engineering, front end exploitation, network management.
Referring to Fig. 7, the labyrinth generation module can generate labyrinth graphical interfaces, and the labyrinth graphical interfaces includes game Personage, labyrinth and professional precious deposits are provided with the M professional precious deposits, wherein M is greater than or equal to 1 in the labyrinth Positive integer.M=5 professional precious deposits are shown in the example of Fig. 7.Computer technology details in relation to generating labyrinth may refer to patent Document CN104771899B, it discloses a kind of automatic generation methods in game labyrinth, and the present inventor also can be used below The labyrinth graphic scheme of middle proposition.
Preferably, the labyrinth graphical interfaces further includes land mine and transmission gate.In gaming, land mine and transmission gate are conducts Increase the important behaviour form of game difficulty and interest.Particular technique feature are as follows: after player enters labyrinth, every n seconds Three land mines will automatically be presented at random, if player passes through in gravity sensing manipulation game charater up and down active procedure Touch land mine, it will make game charater n seconds inactive, while vital values reduce 1/n, touch land mine when continuous After causing vital values to deduct completely, it is considered as failure game, back to reselecting window.Likewise, after player enters labyrinth, Three transmission gates will automatically be presented at random every n seconds, inactive state can be generated with touching land mine and deduct vital values not With, touching transmission gate is that some position in map for making player random reappears, by the variation of position, Increase the playability and uncertainty of game.
Referring to Fig. 7, the mobile control module is controlled by means of the gravity sensing device in the hand held terminal unit The game charater moves in the labyrinth, finds out the professional precious deposits in the labyrinth, wherein the mobile mode of the control Are as follows: the screen of the hand held terminal unit is horizontally arranged upward, the hand held terminal unit top has a down dip, the game Personage is mobile to top, inclines under the hand held terminal unit, the game charater bottom, and the hand held terminal unit is left It has a down dip, the game charater is mobile to left part, and the hand held terminal unit bottom right is inclined, and the game charater is mobile to right part; The downdip direction of the hand held terminal unit and the corresponding relationship of the game charater moving direction can be arbitrary.It can be with Understand, the display plane of the screen of the hand held terminal unit kept horizontal --- it is referred to as horizontal plane, it is left It has a down dip and refers to that the left side of the display plane has a down dip lower than former horizontal plane, similarly, bottom right, which is inclined, refers to that the display is flat The right edge in face has a down dip lower than former horizontal plane, and top, which has a down dip, refers to that the top side side of the display plane has a down dip and is lower than raw water Flat datum level, it is beneath incline refer to the bottom side of the display plane have a down dip and lower than former horizontal plane.Left and right, top, bottom orientation Definition referring to fig. 4.If it is necessary, the mobile control can also be used updip mode and realize, just it is not described in detail here, foundation The upper relativity under, the technical solution converted in this way is still within protection scope of the present invention.
Referring to 8 and Fig. 2, the content search display module second precious deposits according to provided by the professional precious deposits found out The numerical value of mark, by searching for the lesson data table of the special class database, the numerical value for finding the second precious deposits mark is equal to The data recording of the numerical value of the first precious deposits mark of the lesson data table, what the content introduction field of the data recording saved Data are exactly the content introduction of the specialized courses, also, the content search display module can show the specialized courses Content introduction, for the operator read.It is understood that as shown in figure 8, the game charater touches professional precious deposits, Cause the content search display module and identify treasureid=123 according to the precious deposits that the professional precious deposits provide, such as is logical T-SQL search statement " select*from yqb_course where treasureid=123 " is crossed, from the lesson data The content introduction of the specialized courses is read in table.
Judgement is achieved in the clearance determination module: if the game charater finds all profession treasured on maze path Hiding then determines clearance success.It is understood that decision condition can also be limited plus time restriction and/or path length: if The game charater is in defined time restriction, and from labyrinth, starting point goes to labyrinth terminal, and finds complete on maze path Portion's profession precious deposits then determine clearance success.Unfinished condition can also be set: if the game charater from labyrinth starting point not yet Labyrinth terminal is gone to, then does not complete clearance.Fail condition can also be set: if the game charater is in defined time restriction It is interior, all professional precious deposits on maze path are not found, then clearance fails;If the game charater goes to fan from labyrinth starting point Palace terminal, but do not find all professional precious deposits on maze path, then clearance fails.
It is in above-mentioned operational module, and referring to Fig. 4 to Fig. 9, the profession of teaching extension system promotes profession as follows Course:
Referring to Fig. 5, by means of the maze game main module, into the main graphical interface of the maze game.It can manage Solution, in the os starting labyrinth game device of the hand held terminal unit, the labyrinth game device loads institute Maze game main module is stated, the maze game main module draws the main graphical interface of the maze game, and event is burnt Point control assigns the main graphical interface, so that operator can obtain the control interacted with the labyrinth game device, Namely it is equivalent to the main graphical interface into the maze game.The maze game main module is, for example, by by specific journey Central processing unit, memory, hard disk and the I/O component of the hand held terminal unit of the informationization of sequence source code and specialization are constituted.
Referring to Fig. 6, by means of the game mode selecting module, into the game mode graphical interfaces.It is understood that , such as touch " starting to seek treasured " region on the main graphical interface of the maze game shown in fig. 5, it will be able to enter institute State game mode graphical interfaces.It is of course also possible to by rocking the hand held terminal unit or being entered by sound instruction The game mode graphical interfaces shown in fig. 6, designing points be the game mode selecting module have in this way rock or The function of voice control.
Referring to Fig. 6, by means of the game mode selecting module, the first trip is selected on the game mode graphical interfaces Play mode.It is understood that such as operator touches " network engineering " region on the game mode graphical interfaces, selection First game mode.Certainly, selection is also possible to other game modes for the first time, such as: front end exploitation or network management. Therefore, selection can be random, no sequence.
The first labyrinth is generated, wherein the first game charater can be in institute by means of the labyrinth generation module referring to Fig. 7 It states and is moved in the first labyrinth.It is understood that the implementation for drawing labyrinth on the screen of hand held terminal unit can be with It is that can be used for labyrinth generation method of the invention in prior art, is also possible to present invention maze game described in detailed below Device.Game charater can be multidigit, such as two or three.Most preferably, game charater is one, this is because one Platform hand held terminal unit is usually by a bit manipulation person, therefore, shows one on the screen of the hand held terminal unit of operator Position game charater be it is suitable, will not be because multidigit game charater be the same as on one screen interfering operator or illusion.Cause This, a game charater in Fig. 7 is exactly the first game charater that operator can manipulate.Optionally, for the fan of the network edition Palace game device can have multidigit game charater.The first labyrinth in Fig. 7 is, for example, the labyrinth for corresponding to " network engineering ".
Referring to Fig. 7, by means of the mobile control module, the operator controls first game charater described the It is moved in one labyrinth, finds out first first professional precious deposits in first labyrinth.It is understood that existing in game charater The implementation moved in labyrinth, which can be, can be used for moving method of the invention in prior art, be also possible to the present invention hereafter The moving method realized in labyrinth game device described in detail.The first labyrinth in Fig. 7 is, for example, to correspond to " network work The labyrinth of journey ", the first professional precious deposits are, for example, " network engineering " professional precious deposits, for example referring to Fig. 8 first first professional precious deposits It is first specialized courses " Graphing of Engineering " of " network engineering " profession.Typically, maze path is generally ordered into unidirectional, is not had You pitch her, and therefore, the professional precious deposits being arranged on maze path can be obtained along maze path sequence.
Referring to Fig. 8, by means of the content search display module, searches for and show described first first professional precious deposits pair The content introduction for the first specialized courses answered is read for the operator.It is understood that for example, when game charater is being confused Described first first professional precious deposits are encountered on the path of palace, while triggering the content search display module from the special class data The data corresponding with the first precious deposits mark of the identity equality of the described first professional precious deposits are retrieved in the lesson data table in library to record Record, as can be seen that the treasureid=1 of " Graphing of Engineering " data recording from the example of Figure 15.The content search is shown The implementation of module, which can be, can be used for implementation method of the invention in prior art, be also possible to the present invention hereafter in detail The content search display methods realized in the labyrinth game device of description.
Referring to Fig. 7, by means of the mobile control module, the professional precious deposits of l-th first in first labyrinth are found out, Wherein, L is less than or equal to the positive integer of M;In Fig. 7, M=5.It is understood that as shown in fig. 7, along maze path It moves ahead, sequentially finds the 2nd, 3,4,5 " network engineering " precious deposits.
It is by means of the content search display module, the first profession of l-th in first labyrinth is precious referring to Fig. 8 The content introduction for hiding corresponding specialized courses is shown, is read for the operator.It is understood that often finding a treasured Hiding, will trigger content search display module retrieval and screen shows the content introduction of its corresponding specialized courses.
Judge whether L is equal to M by means of the clearance determination module referring to Fig. 9, if L is equal to M, shows the operation Person shows and can read the content introduction of whole M specialized courses of the profession of teaching, successfully makes a breakthrough by described the One labyrinth.In Fig. 7, M=5.It has made uniform such as 5 first it is understood that the operator manipulates the first game charater Professional precious deposits, the clearance determination module determine clearance success.If first game charater does not look for complete all first professions Precious deposits clearance failure, can set and return to the game mode graphical interfaces.
It is understood that in the same way, operator can enter the on the game mode graphical interfaces Two game modes generate the second labyrinth, find second major precious deposits, read the INTRODUCTION OF THE COURSE STRUCTURE of the second disciplines, learn when playing, It teaches through lively activities.Into third game mode, third labyrinth is generated, finds third profession precious deposits, reads the class of third disciplines Journey introduction.It is so learned when playing, so that it may understand whole specialized courses of whole disciplines of universities and colleges.
In Fig. 4, M=5, therefore, as L=M=5, operator has searched whole professional precious deposits, and can read institute The content introduction for stating the corresponding specialized courses of professional precious deposits has reached while object for appreciation maze game take a momentary rest, has learned and closed The technical effect of knowledge in terms of the content of the specialized courses of the disciplines of the heart.
Fig. 1 shows the process that the profession of teaching extension system promotes specialized courses in a flowchart.
Fig. 2 shows the stream that the profession of teaching extension system promotes specialized courses in the form of more careful flow chart Journey.
The information of the specialized courses of each profession of the pastern of each large, medium and small universities and colleges of typing in the special class database, this The profession of teaching extension system of invention can be achieved with providing the technical goal of extension service for all universities and colleges.
Preferably, the labyrinth game device is the hypertext markup language HTML5 technological development based on latest edition.It closes In the basic knowledge of H5 trivial games and HTML5 referring to background technique.
Specialized courses is come tissue database by disciplines, pastern, the classification of universities and colleges' three-level to note down, advantageously ensures that data The hierarchical structure of record is conducive to improve data retrieval speed, is conducive to store mass data information.
For this purpose, referring to Fig. 3, it is preferable that the special class database further includes universities and colleges information table yqb_scholol, wherein institute Universities and colleges' information table is stated including at least the first universities and colleges identification field id, universities and colleges name field name and universities and colleges LOGO field logo, and And it includes universities and colleges' title that the maze game main module can be extracted from universities and colleges' information table of the special class database And/or the data recording of universities and colleges' LOGO information.Guangdong light industry is shown in the main interface of the maze game main module in Fig. 5 The universities and colleges' title and/or universities and colleges' LOGO information of Ye Ji technical school.It is further preferable that universities and colleges' information table further includes communication letter Cease field, such as phone number field Tel, address field address, contact field contact and background music word Section musiclink.
Preferably, referring to Fig. 3, the special class database further includes pastern information table yqb_dept, wherein the pastern letter It ceases table and includes at least the first department identification field id, departments or schools field name, department LOGO field logo and the second universities and colleges mark Become literate section schoolid, places foreign key constraint in second universities and colleges' identification field of the pastern information table, with ensure this The value inputted in two universities and colleges' identification fields is matched with the existing value in first universities and colleges' identification field of universities and colleges' information table, and And the game mode selecting module can be extracted from the pastern information table of the special class database comprising departments or schools and/ Or the data recording of department's LOGO information, thus, when operator chooses some game mode, show its corresponding departments or schools And/or department LOGO.It is further preferable that the pastern information table further includes communication information field, such as phone number field Tel, contact field contact and background music field musiclink.
Preferably, referring to Fig. 3, the special class database further includes specialized information table yqb_major, wherein the profession Information table includes at least the first professional identification field id, major name field name and the second department identification field deptid, Foreign key constraint is placed in second department's identification field of the specialized information table, it is defeated in the second department identification field to ensure The value entered is matched with the existing value in first department's identification field of the pastern information table, the second of the precious deposits tables of data Foreign key constraint is placed in professional identification field, with the value and the specialized information for ensuring to input in the second major identification field Existing value matching in the professional identification field of the first of table, also, the game mode selecting module can be from the special class number It include the data recording of major name according to extraction in the specialized information table in library, thus, when operator chooses some game mode, Show the major name of its corresponding profession of teaching.The graphical interfaces of the game mode selecting module of Fig. 6 shows three kinds Selection mode, corresponding three disciplines: network engineering, front end exploitation, network management.It is further preferable that the specialized information Table further includes communication information field, such as contact field contact and professional content information field info.
It can be clearly seen that five information tables of the special class database are successively associated with by foreign key constraint from Fig. 3, To be conducive to establish index, data recording retrieval rate is improved.
Preferably, the labyrinth generation module can automatically generate two dimension or three-dimensional labyrinth graphical interfaces;The profession Precious deposits are randomly placed on the path in the labyrinth, and the quantity M of the profession precious deposits is equal to its corresponding profession of teaching Whole required course sums;Also, the game charater be the image of people or the image of animal or it is other be different from it is described specially The figure of industry precious deposits.It is understood that two-dimentional labyrinth refers to that the background patterns in labyrinth are two-dimensional, and maze path is same In game plane.Three-dimensional labyrinth refers to that the background patterns in labyrinth are three-dimensional, and maze path is in different levels game plane, Certainly, since the screen of hand held terminal unit is two-dimensional surface, true 3-D image need to be two dimension through projective transformation It indicates.As shown in fig. 7, therefore, there is 5 professions in labyrinth for example, whole specialized courses of " network engineering " profession are 5 Precious deposits.Therefore, such configuration can read the whole specialized courses for understanding a disciplines so that operator plays a labyrinth Journey content introduction.
Preferably, the mobile control module perceives the hand held terminal unit by means of the gravity sensing device The variation of center of gravity when altering one's posture, makes the cursor change location of the hand held terminal unit, to realize the game people The advance of object, retrogressing, left-hand rotation, right-hand rotation mobile variation.It is understood that by the operating system of the hand held terminal unit Cursor glyph change game charater image into, then, game charater then corresponds to the cursor of operating system, and cursor change location is just It is game charater shift position.It is closed it is of course also possible to which the cursor of operating system and game charater are established other mappings one by one System, and cursor is hidden, only show game charater, in case the movement of cursor influences operator and operates game charater.Cursor is equivalent to The design of game charater simplifies the complexity of mobile control, improves the calculating speed of mobile control.
According to another embodiment of the profession of teaching extension system, the profession of teaching extension system further includes leading to Close sharing module, wherein the clearance sharing module includes sharing graphical interfaces, and the sharing graphical interfaces includes that " I will divide Enjoy " function knob, and/or " I will register " function knob, and/or " playing again primary " function knob, and/or " clearance ranking " system Count information.Such design may further increase the advertisement promotion effect of specialized courses, and potential customers' guidance is become true Client.
In order to promote specialized courses content introduction towards more people, it is preferable that, the hand held terminal unit is intelligence Mobile phone or tablet computer, operating system is Window operating system or Android operation system, and supports latest edition Hypertext markup language HTML5.It is understood that smart phone or tablet computer are powerful, labyrinth is developed on it Game device is high-efficient, therefore Window operating system or Android operation system, are conducive to a wide range of using widely Promote specialized courses content introduction.
Preferably, the labyrinth generation module generates two-dimentional labyrinth graphical interfaces by following mode of operation:
One rectangular area: being divided into the array of cells of m row n column by division operation, each cell is expressed as Maze_cells [i] [j], wherein m >=1, n >=1, and m > i >=0, n > j >=0;
Connection operation: different units lattice determine that rule is interconnected with one, to form maze path, the interconnected side Formula is realized by removing the line wall of the coincidence between two adjacent cells;
Path operations: the connection is executed according to the determining regular cycles and is operated, to generate maze path.
It is understood that it is described determination rule can be random law, odd-even alternation it is regular, it is clockwise rule or Counter-clockwise rule etc..For example, random law: the 1st cell is connected on right side with next unit lattice or the 2nd cell, randomly, 2nd cell top side is connected to next unit lattice or the 3rd cell, the 3rd cell left side and next unit lattice or the 4th cell Connection ...;Odd-even alternation rule: being 1,2,3,4 by four side serial number of cell, the 1st cell is in odd number side and next list First lattice or the connection of the 2nd cell, the 2nd cell are then connected in even number of sides with next unit lattice or the 3rd cell ...;Clockwise Rule: it is 1,2,3,4 that four side of cell is numbered by clock-wise order, and the 1st cell is on the 1st side and next unit lattice or the 2nd Cell connection, the 2nd cell then in the clockwise direction first may be implemented connection side and next unit lattice or Unit the 3rd Lattice connection ....Line wall is exactly one of four sides of cell, and being actually subjected to the side that picture is shown on the screen is exactly line wall.
It is further preferable that referring to Fig.1 5, the labyrinth generation module includes:
Initialization unit grid module: according to incoming columns col come the width of computing unit lattice;Initialize labyrinth unit Each cell in lattice maze_cells, wherein access compartment storehouse visitRooms is used to store the cell accessed, The then record access path maze path storehouse roomLine;Execute Traversal Unit grid module;Execute drawing unit grid module;
Traversal Unit grid module: accessing each cell by recursive form, adjacent when some cell Element is all accessed, and the maze path storehouse roomLine has had accessed all lists to mean that when sky First lattice;
Connected unit grid module: it if the adjacent cells lattice of current cell have and do not access, is connected to described current Line wall among cell and the adjacent cells lattice, wherein the adjacent cells lattice are randomly selected one and do not access Adjacent cells lattice, and the top, bottom, left of cell are pressed, right attribute is true or false to identify this direction Whether wired wall, whether while it is logical to mark the direction that can walk;
Drawing unit grid module: the drawing unit lattice on the display screen of the hand held terminal unit, wherein unit Then wired wall when the top or left or right or bottom attribute of lattice are false, when true is wireless wall;
Draw off screen object submodule: one off screen object of creation can be with thus when dynamically modifying the labyrinth Directly by the off screen objects draw into current painting canvas.
Preferably, the initialization unit grid module is implemented by calculation process shown in Figure 16.It is further preferable that described The imformosome of initialization unit grid module is realized by init:function () listed above.
Preferably, the Traversal Unit grid module is implemented by calculation process shown in Figure 17.It is further preferable that described time The imformosome for going through unit cell module is realized by calcCells:function (x, y, arr) listed above.
Preferably, the connected unit grid module is implemented by calculation process shown in Figure 18.It is further preferable that the company The imformosome of logical unit cell module is realized by breakWall:function (cur, next) listed above.
Preferably, the drawing unit grid module is implemented by calculation process shown in Figure 19.It is further preferable that described draw The imformosome of unit cell module processed is realized by drawCells:function () listed above.
It is understood that functional module can be divided into imformosome and physical bodies, wherein imformosome refers to program source code Or the machine code after unraveling silk is compiled, physical bodies refer to the computer of storage, processing, execution described program source code or machine code Physical structure.
Preferably, the mobile control module judges the hand held terminal unit inclination by the gravity sensing device Angle, to change device orientation Orientation_key value, in which: select moving direction in the game charater NPC every time When, obtain primary device orientation Orientation_key value at that time;Change the moving direction of the game charater NPC itself, And record the current location of the game charater NPC;First judge the hand held terminal unit whether with a preceding tilt angle It is similar, if almost constant, otherwise, then compare left and right and tilted upward degree difference, then judge left and right between or up and down it Between, which side gradient is higher, and resets device orientation Orientation_key value.
Preferably, the mobile control module presses the calculating stream of the mobile control module of labyrinth game device shown in Figure 20 Journey is implemented.It is further preferable that the imformosome of the mobile control module is come in fact by handler:function (e) listed above It is existing.
The another embodiment of profession of teaching extension system according to the present invention, in order to promote specialized course on the internet Journey, the profession of teaching extension system further includes internet and database server, wherein the database server includes The special class database, the hand held terminal unit can by the internet with it is special in the database server Class Database data connection.Such design is conducive to the letter for quickly upgrading the labyrinth game device by internet Body is ceased, and keeps INTRODUCTION OF THE COURSE STRUCTURE content newest at any time, because INTRODUCTION OF THE COURSE STRUCTURE content directly updates on database server.
Preferably, the database server further includes MySQL server or Microsoft sql server, it is described specially Class database is loaded in the MySQL server or Microsoft sql server;The content search display module is borrowed The query statement for helping standard T-SQL language, according to the second precious deposits provided by the professional precious deposits found out identify numerical value, Corresponding data recording is found in the lesson data table, the data that the content introduction field of the data recording saves are exactly The content introduction of the specialized courses, also, the content search display module is by means of pop-up window or directly in the fan The content introduction that the specialized courses is shown on the graphical interfaces of palace is read for the operator.It is understood that MySQL takes The imformosome of business device is Open Source Code, therefore, system cost is effectively reduced.Microsoft sql server is powerful, is suitble to Large scale business movement.
The preferred or specific embodiment of the invention is described in detail above.It should be appreciated that the technology of this field Personnel make many modifications and variations without the design concept that creative work can be created according to the present invention.Therefore, all In technical field technical staff according to the design concept of the invention pass through on the basis of existing technology logic analysis, reasoning or The limited available technical solution of experiment of person, all should be within the scope of the invention and/or by claims institute In determining protection scope.

Claims (10)

1. the profession of teaching extension system based on game mode, it is characterised in that: the profession of teaching extension system includes hand-held Formula terminal device and special class database, wherein the hand held terminal unit can connect with the special class Database data It connects;
The special class database includes at least lesson data table and precious deposits tables of data, and the lesson data table includes at least course mark Character learning section, content introduction field and the first precious deposits identification field, also, the precious deposits tables of data includes at least the second precious deposits mark Section of becoming literate and second major identification field, place foreign key constraint in the first precious deposits identification field of the lesson data table, with The value for ensuring to input in the first precious deposits identification field with it is existing in the second precious deposits identification field of the precious deposits tables of data Value matching;
The hand held terminal unit includes gravity sensing device and labyrinth game device;
The labyrinth game device includes:
Maze game main module comprising the main graphical interface of maze game, the main graphical interface include at least universities and colleges' title And/or universities and colleges' LOGO information;
Game mode selecting module comprising game mode graphical interfaces, the game mode graphical interfaces have a variety of game The mode option is selected for operator, wherein the corresponding profession of teaching for needing to promote of each game mode;
Labyrinth generation module, can generate labyrinth graphical interfaces, the labyrinth graphical interfaces include game charater, labyrinth and Professional precious deposits are provided with the M professional precious deposits, wherein M is greater than or equal to 1 positive integer in the labyrinth;
Mobile control module controls the game charater by means of the gravity sensing device in the hand held terminal unit and exists It is moved in the labyrinth, finds out the professional precious deposits in the labyrinth, wherein the mobile mode of the control are as follows: will be described hand-held The screen of formula terminal device is horizontally arranged upward, and the hand held terminal unit top has a down dip, and the game charater is moved to top It is dynamic, incline under the hand held terminal unit, the game charater bottom, the hand held terminal unit lower-left is inclined, the trip The personage that plays is mobile to left part, and the hand held terminal unit bottom right is inclined, and the game charater is mobile to right part;The hand-held is whole The downdip direction of end equipment and the corresponding relationship of the game charater moving direction can be arbitrary;
Content search display module is capable of the numerical value of the mark of the second precious deposits according to provided by the professional precious deposits found out, is passed through The lesson data table for searching for the special class database, the numerical value for finding the second precious deposits mark are equal to the lesson data table The data recording of the numerical value of first precious deposits mark, the data that the content introduction field of the data recording saves are exactly the profession The content introduction of course, also, the content search display module can show the content introduction of the specialized courses, for described Operator reads;With
Clearance determination module determines clearance success if the game charater finds all professional precious deposits on maze path;
Profession of teaching extension system promotes specialized courses as follows:
By means of the maze game main module, into the main graphical interface of the maze game;
By means of the game mode selecting module, into the game mode graphical interfaces;
By means of the game mode selecting module, the first game mode is selected on the game mode graphical interfaces;
By means of the labyrinth generation module, the first labyrinth is generated, wherein the first game charater can be in first labyrinth It is mobile;
By means of the mobile control module, the operator controls first game charater and moves in first labyrinth It is dynamic, find out first first professional precious deposits in first labyrinth;
By means of the content search display module, searches for and show corresponding first profession of the first first profession precious deposits The content introduction of course is read for the operator;
By means of the mobile control module, the professional precious deposits of l-th first in first labyrinth are found out, wherein L is less than Or the positive integer equal to M;
By means of the content search display module, by the corresponding profession of the professional precious deposits of l-th first in first labyrinth The content introduction of course is shown, is read for the operator;
By means of the clearance determination module, judge whether L is equal to M, if L is equal to M, shows that the operator shows and can The content introduction of whole M specialized courses of the profession of teaching is read, successfully makes a breakthrough and passes through first labyrinth.
2. profession of teaching extension system described in accordance with the claim 1, it is characterised in that: the labyrinth game device is based on most The hypertext markup language HTML5 technological development of new version.
3. profession of teaching extension system described in accordance with the claim 1, it is characterised in that: the labyrinth generation module can be automatic Generate two dimension or three-dimensional labyrinth graphical interfaces;
The profession precious deposits are randomly placed on the path in the labyrinth, and the quantity M of the profession precious deposits is equal to its correspondence Profession of teaching whole required courses sum;
Also, the game charater is the image of people or the image of animal or other figures different from the professional precious deposits Shape.
4. profession of teaching extension system described in accordance with the claim 1, it is characterised in that:
The mobile control module perceives the hand held terminal unit when altering one's posture by means of the gravity sensing device The variation of center of gravity, makes the cursor change location of the hand held terminal unit, thus realize the advance of the game charater, after The mobile variation moving back, turn left, turning right.
5. profession of teaching extension system described in accordance with the claim 1, it is characterised in that: the profession of teaching extension system also wraps Include clearance sharing module, wherein the clearance sharing module includes sharing graphical interfaces, and the sharing graphical interfaces includes " I Share " function knob, and/or " I will register " function knob, and/or " playing again primary " function knob, and/or " clearance row Name " statistical information.
6. profession of teaching extension system according to claim 2, it is characterised in that: the hand held terminal unit is intelligence Mobile phone or tablet computer, operating system is Windows operating system or Android operation system, and supports latest edition Hypertext markup language HTML5.
7. according to profession of teaching extension system described in any one of claims 1 to 6, it is characterised in that: the labyrinth generates Module generates two-dimentional labyrinth graphical interfaces by following mode of operation:
One rectangular area: being divided into the array of cells of m row n column by division operation, each cell is expressed as maze_ Cells [i] [j], wherein m >=1, n >=1, and m > i >=0, n > j >=0;
Connection operation: different units lattice determine that rule is interconnected with one, and to form maze path, the interconnected mode is It is realized by removing the line wall of the coincidence between two adjacent cells;
Path operations: the connection is executed according to the determining regular cycles and is operated, to generate maze path.
8. according to profession of teaching extension system described in any one of claims 1 to 6, it is characterised in that: the labyrinth generates Module includes:
Initialization unit grid module: according to incoming columns col come the width of computing unit lattice;Initialize labyrinth cell Each cell in maze_cells, wherein access compartment storehouse visitRooms is used to store the cell accessed, is confused The then record access path palace path storehouse roomLine;Execute Traversal Unit grid module;Execute drawing unit grid module;
Traversal Unit grid module: each cell is accessed by recursive form, when the adjacent element of some cell It is all accessed, and the maze path storehouse roomLine has had accessed all units to mean that when sky Lattice;
Connected unit grid module: if the adjacent cells lattice of current cell have and do not access, it is connected to the active cell Line wall among lattice and the adjacent cells lattice, wherein the adjacent cells lattice be randomly selected one do not access it is adjacent Cell, and the top, bottom, left of cell are pressed, right attribute is true or false whether to identify this direction Wired wall, while whether mark the direction that can walk logical;
Drawing unit grid module: the drawing unit lattice on the display screen of the hand held terminal unit, wherein cell Then wired wall when top or left or right or bottom attribute are false, when true is wireless wall;
Draw off screen object submodule: one off screen object of creation, thus when dynamically modifying the labyrinth, it can be direct By the off screen objects draw into current painting canvas.
9. according to profession of teaching extension system described in any one of claims 1 to 6, it is characterised in that:
The mobile control module judges the hand held terminal unit tilt angle by the gravity sensing device, to change Device orientation Orientation_key value, in which: in the game charater NPC selection moving direction every time, acquisition is once worked as When device orientation Orientation_key value;Change the moving direction of the game charater NPC itself, and records the trip The current location of play personage NPC;First judge whether the hand held terminal unit is similar with a preceding tilt angle, if difference is not It is mostly just constant, otherwise, then compare left and right and tilted upward degree difference, then judge between left and right or in-between, the inclination of which side Du Genggao, and reset device orientation Orientation_key value.
10. profession of teaching extension system described in accordance with the claim 1, it is characterised in that: the profession of teaching extension system is also Including internet and database server, wherein the database server includes the special class database, the hand-held Terminal device can pass through the special class Database data connection in the internet and the database server.
CN201810615160.5A 2018-06-14 2018-06-14 Teaching specialty popularization system based on game mode Active CN109091872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810615160.5A CN109091872B (en) 2018-06-14 2018-06-14 Teaching specialty popularization system based on game mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810615160.5A CN109091872B (en) 2018-06-14 2018-06-14 Teaching specialty popularization system based on game mode

Publications (2)

Publication Number Publication Date
CN109091872A true CN109091872A (en) 2018-12-28
CN109091872B CN109091872B (en) 2022-10-04

Family

ID=64796833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810615160.5A Active CN109091872B (en) 2018-06-14 2018-06-14 Teaching specialty popularization system based on game mode

Country Status (1)

Country Link
CN (1) CN109091872B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275788A (en) * 2019-06-24 2019-09-24 北京金山安全软件有限公司 Control method and system of mobile application program, mobile terminal and storage medium
CN113426133A (en) * 2021-06-22 2021-09-24 蔡敏 Game-based programming entrance training method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149874A (en) * 2006-09-20 2008-03-26 刘守纹 Game type study system and method
CN102662589A (en) * 2012-04-11 2012-09-12 中兴通讯股份有限公司 Method and device for improving operation of menu of smart phone
CN104883453A (en) * 2015-06-17 2015-09-02 上海斐讯数据通信技术有限公司 Labyrinth unlocking method and system, and mobile terminal started according to labyrinth unlocking
CN105047042A (en) * 2015-07-06 2015-11-11 中国科学院软件研究所 Object programming method and system for children
TWI607421B (en) * 2016-10-17 2017-12-01 正修學校財團法人正修科技大學 Game-based teaching and learning system
CN107665612A (en) * 2017-10-16 2018-02-06 江苏金惠甫山软件科技有限公司 A kind of career planning experiencing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101149874A (en) * 2006-09-20 2008-03-26 刘守纹 Game type study system and method
CN102662589A (en) * 2012-04-11 2012-09-12 中兴通讯股份有限公司 Method and device for improving operation of menu of smart phone
CN104883453A (en) * 2015-06-17 2015-09-02 上海斐讯数据通信技术有限公司 Labyrinth unlocking method and system, and mobile terminal started according to labyrinth unlocking
CN105047042A (en) * 2015-07-06 2015-11-11 中国科学院软件研究所 Object programming method and system for children
TWI607421B (en) * 2016-10-17 2017-12-01 正修學校財團法人正修科技大學 Game-based teaching and learning system
CN107665612A (en) * 2017-10-16 2018-02-06 江苏金惠甫山软件科技有限公司 A kind of career planning experiencing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275788A (en) * 2019-06-24 2019-09-24 北京金山安全软件有限公司 Control method and system of mobile application program, mobile terminal and storage medium
CN113426133A (en) * 2021-06-22 2021-09-24 蔡敏 Game-based programming entrance training method

Also Published As

Publication number Publication date
CN109091872B (en) 2022-10-04

Similar Documents

Publication Publication Date Title
Murray Inventing the medium: principles of interaction design as a cultural practice
Barnet Memory machines: The evolution of hypertext
Loveless Role of ICT
Álvarez et al. Spatial design and placemaking: learning from video games
CN102855373A (en) Interactive three-dimensional multimedia editing system, method and computer readable medium thereof
Willim Imperfect imaginaries: Digitisation, mundanisation, and the ungraspable
Kao et al. MazeStar: A platform for studying virtual identity and computer science education
Murray Horizons already here: video games and landscape
Goggin Locating mobile media audiences: In plain view with Pokémon Go
CN109091872A (en) Profession of teaching extension system based on game mode
Pendit et al. Conceptual Model of Mobile Augmented Reality for Cultural Heritage
Neumann et al. Teaching computational thinking: An integrative approach for middle and high school learning
Ball et al. TileCode: Creation of Video Games on Gaming Handhelds
Wong Crowd Evacuation Using Simulation Techniques
Sabuncuoglu et al. Kart-on: An extensible paper programming strategy for affordable early programming education
Longo et al. An intelligent serious game for a multi-device cultural heritage experience
Beder Language learning via an android augmented reality system
Sato Cross-cultural Game Studies
Teale Building Games with Flutter: The ultimate guide to creating multiplatform games using the Flame engine in Flutter 3
Dasgupta Surveys, collaborative art and virtual currencies: Children programming with online data
Chatain SyMAPse: Augmented Interactive Maps for Subjective Expression
Aurigemma Fairytool: Learn and Socialize by making games
Van der Spuy The Advanced Game Developer's Toolkit: Create Amazing Web-based Games with JavaScript and HTML5
Fröhlich Natural and playful interaction for 3d digital content creation
Shabalina et al. Mobile learning games for primary education

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant