Information processing device, program, and method

The information processing device addresses the challenge of identifying program failures by highlighting and explaining error components, improving the learning process in programming.

JP2024165513AActive Publication Date: 2024-11-28PREFERRED NETWORKS INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023081771
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2024-11-28
Estimated Expiration
2043-05-17

AI Technical Summary

Technical Problem

Existing programming learning devices do not effectively notify users of program components that fail in operation, making it difficult for learners to identify and correct errors in their programs.

Method used

An information processing device that includes a processor to display a screen with arranged program parts, detects failing program parts, and highlights them, providing both a first error notification and a second notification explaining the reason for the failure.

Benefits of technology

Facilitates easy identification and correction of program errors by visually indicating failing program components and explaining the reason for failure, enhancing the learning experience in programming.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024165513000001_ABST
    Figure 2024165513000001_ABST
Patent Text Reader

Abstract

To provide an information processing device that can provide a notification of a program component in which an operation fails.SOLUTION: An information processing device includes at least one memory and at least one processor. The at least one processor displays a screen where a program component indicating an operation which a character is instructed to do is arranged; detects a program component in which the operation fails; and highlights the detected program component.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an information processing device. [Background technology]

[0002] Programming learning devices that support learning programming are being used. Some programming learning devices are designed for visual programming, in which programs are created by combining block-shaped program components, etc. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-219718 A Summary of the Invention [Problem to be solved by the invention]

[0004] An object of the present disclosure is to provide an information processing device capable of notifying a program part that has failed to operate. [Means for solving the problem]

[0005] An information processing device according to one embodiment of the present disclosure includes at least one memory and at least one processor, and the at least one processor displays a screen on which program parts indicating actions to be instructed to a character are arranged, detects program parts that result in unsuccessful actions, and highlights the detected program parts. [Brief description of the drawings]

[0006] [Figure 1] FIG. 2 is a block diagram showing an example of a functional configuration of an information processing device. [Diagram 2] FIG. 13 is a diagram showing an example of a field screen. [Diagram 3] FIG. 13 is a diagram for explaining an example of a successful operation. [Figure 4] FIG. 11 is a diagram for explaining an example of a failed operation. [Diagram 5] FIG. 13 is a diagram showing an example of a programming screen. [Figure 6] FIG. 11 is a diagram illustrating an example of a first error notification. [Figure 7] FIG. 11 is a diagram illustrating an example of a second error notification. [Figure 8] FIG. 13 illustrates an example of an error message. [Figure 9] FIG. 13 illustrates an example of an error message. [Figure 10] FIG. 13 illustrates an example of an error message. [Figure 11] 11 is a flowchart showing an example of a processing procedure of an information processing method. [Figure 12] FIG. 2 is a block diagram showing an example of a hardware configuration of an information processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are denoted by the same reference numerals, and redundant description will be omitted.

[0008] [Outline of information processing device] One embodiment of the present disclosure is an information processing device that executes a game program that provides a computer game. The computer game in this embodiment is a so-called open-world type computer game in which a character, which is an avatar of a player, is made to perform various actions in a virtual space that is the world of the game. The world of the game is not limited to the open-world type. In addition, the virtual space is not limited to a three-dimensional space, and may be a two-dimensional space. The computer game in this embodiment has a function of creating a program that controls the actions of other characters existing in the virtual space.

[0009] Hereinafter, the character operated by the player is also referred to as the “operable character.” Additionally, the character that can be controlled by a program is also referred to as the “controlled character.” The operated character and the controlled character exist in a virtual space that is the world of the game.

[0010] In the computer game of this embodiment, an operation is performed to move a playable character on a field screen that depicts the world of the game. The field screen is, for example, a screen that depicts a virtual space in three dimensions. On the field screen, the playable character moves in the virtual space in response to the player's operation. Examples of actions that the playable character can perform include walking, running, jumping, attacking an enemy character, defending against an attack by an enemy character, acquiring an item, and working with an item held by the player.

[0011] In the computer game of this embodiment, a player can create a program to control the actions of a controlled character. For example, the player can control the actions of the controlled character to achieve a goal set in a virtual space. The goal to be achieved may be set by the player himself, or may be set by the game program according to the progress of the computer game. Examples of the goal to be achieved include constructing a structure, harvesting crops, manufacturing items such as equipment, and defeating an enemy character. The goal to be achieved is not limited to these, and any goal that can be achieved in a virtual space may be set.

[0012] A controlled character is a non-player character (NPC) that is not operated by the player. A controlled character acts autonomously in the virtual space until a program is created by the player.

[0013] The player selects a controlled character to be programmed on the field screen, and creates a program to make the controlled character execute a series of actions. The controlled character that has been programmed executes a series of actions in the virtual space according to the program created by the player. The player may create programs for multiple controlled characters to execute different actions, and may operate multiple controlled characters in parallel. A separate program may be created for each controlled character, or a common program may be created for multiple controlled characters.

[0014] Programs are created using a programming screen that allows visual programming. On the programming screen, program parts with specific functions are placed and connected to create a single program. Program parts include those that have the function of instructing the controlled character to act, and those that have execution control functions such as conditional branching and repetition.

[0015] The programming screen in this embodiment has a function of notifying an error that occurs in a program. Hereinafter, this notification will be referred to as an “error notification.” An error that occurs in a program includes, for example, a failure to execute an action instructed to a character.

[0016] The error notification includes a first error notification that highlights a program part where an error occurs, and a second error notification that displays the reason for the error. In this embodiment, when a program part where an error occurs is detected from a program created by a player, the first error notification is first performed. Next, when the player operates the program part highlighted by the first error notification, the second error notification is performed. Therefore, it can be said that the program part where an error occurs is highlighted by the second error notification as well. However, the procedure for notifying an error is not limited to the above, and for example, the first error notification and the second error notification may be performed simultaneously. Also, only one of the first error notification or the second error notification may be performed.

[0017] Highlighting refers to displaying a program part where an error occurs in a manner that allows a player to distinguish it from program parts where no error occurs. That is, as described below, the concept of highlighting may include a manner in which an error icon or an error message is displayed on a program part where an error occurs, a manner in which a program part where an error occurs is displayed by blinking (flashing), a manner in which the text color, background color, font, or size of a program part where an error occurs is changed from that of a program part where no error occurs, and a manner in which a program part where an error occurs is displayed darker or brighter with a lower or higher brightness than when no error occurs.

[0018] [Functional configuration of information processing device] A functional configuration of an information processing device in an embodiment of the present disclosure will be described with reference to Fig. 1. Fig. 1 is a block diagram showing an example of the functional configuration of an information processing device in this embodiment.

[0019] 1, an information processing device 100 in this embodiment includes an operation reception unit 101, a screen display unit 102, a programming unit 103, an error detection unit 104, an error notification unit 105, a message storage unit 106, a code conversion unit 107, and an operation control unit 108. The information processing device 100 functions as the operation reception unit 101, the screen display unit 102, the programming unit 103, the error detection unit 104, the error notification unit 105, the message storage unit 106, the code conversion unit 107, and the operation control unit 108 by executing a game program installed in advance.

[0020] The information processing device 100 is an information processing device such as a personal computer, a tablet terminal, or a smartphone operated by a player of a computer game. The information processing device 100 may be a dedicated game terminal, a portable dedicated game terminal, or a stationary dedicated game terminal. The information processing device 100 may be equipped with a display device that displays a screen for a player to operate the computer game. The display device may be a display or the like that is connected to the information processing device 100 via a wired or wireless interface.

[0021] The operation reception unit 101 receives operations by a player. The operations by the player are performed on a screen displayed on a display device by a computer game. The operations by the player differ depending on the type of screen on which the operations are performed. The operation reception unit 101 performs control to execute other processing units according to the content of the received operations.

[0022] The screen display unit 102 displays a screen on the display device in accordance with the control of the other processing units. The screen display unit 102 also changes the content of the screen displayed on the display device in accordance with the control of the other processing units.

[0023] The programming unit 103 creates a program that controls the actions of the controlled character in response to the player's operations on the programming screen. In this embodiment, the program created by the programming unit 103 may be a visual program in which block-shaped program parts are arranged. The programming unit 103 creates a program by arranging and connecting block-shaped program parts in response to the player's operations.

[0024] The error detection unit 104 detects a program part where an error occurs from the program created by the programming unit 103. An error is a failure of an action of a controlled character in a virtual space (game world). In other words, a program part where an error occurs and a program part where an error does not occur are synonymous with a program part where an action instructed to a controlled character fails and a program part where an action instructed to a controlled character does not fail, respectively. Specifically, the error detection unit 104 detects an action where a controlled character fails in a virtual space, and detects a program part that instructs that action.

[0025] Even if the controlled character fails to perform an action instructed by a program part in the virtual space, the action instructed by the next program part may be executed according to the execution order of the program. In other words, the error detection unit 104 does not cause the program itself to fail (does not stop execution of the program) even if the action fails in the virtual space, but detects an action that, if failed, will not be able to realize at least a part of the content of the action of the controlled character instructed by the program, and detects the program part that instructs that action.

[0026] If a first operation instructed by a first program component fails, a second operation that depends on the result of the first operation may also fail. In this case, the error detection unit 104 may detect the failed first and second operations and detect not only the first program component that instructs the first operation, but also the second program component that instructs the second operation.

[0027] Whether or not the controlled character fails to perform the action instructed by the program part is determined according to the situation (which may be read as a state) of the virtual space related to that action when the program part is executed. Error detection unit 104 identifies the content of the action instructed by the program part, and determines whether the content of the action is realized (whether it has been realized) in that situation based on the content of the action and the situation of the virtual space related to that action, detects an action that is determined not to be realized (was not realized) as a failed action, and detects the program part instructing that action.

[0028] For example, if a parameter of a program part is not set correctly, the error detection unit 104 determines that an error occurs in the program part. Also, for example, if an action instructed to a controlled character by a program part fails, the error detection unit 104 determines that an error occurs in the program part.

[0029] The error detection unit 104 may detect an error when the start of a program is instructed by the player. The error detection unit 104 may sequentially detect errors that occur in program parts during execution of a program. The error detection unit 104 may detect an error when a program part is placed by the player. The timing of detecting an error is not limited to the above, and the error detection unit 104 can detect an error at any timing. The error detection unit 104 may detect an error that occurs in a program (operation indicated by a program part) when executed before the program (operation indicated by a program part) is executed, or may detect an error that actually occurs as a result of executing a program (operation indicated by a program part).

[0030] The error notification unit 105 notifies the player of an error detected by the error detection unit 104. The error notification unit 105 controls the screen display unit 102 so as to notify the player of the error on the programming screen.

[0031] The error notification unit 105 performs a first error notification by highlighting on the programming screen each program part detected by the error detection unit 104. When a predetermined operation is performed by the player on the highlighted program part, the error notification unit 105 performs a second error notification by displaying on the programming screen an error message (an example of text) corresponding to an error that occurs in the operated program part.

[0032] In the first error notification, for example, a mark indicating that an error will occur may be displayed near each program part in which an error has been detected. The mark indicating that an error will occur may be, for example, an error icon. The error icon may be displayed in a manner that allows the player to recognize that an error has occurred. The error icon may be an icon including an exclamation mark. The error icon may be any shape, for example, a circle, a rectangle, a triangle, a speech bubble, etc. The error icon may be drawn in a color that is easily distinguishable from colors that may be used on the programming screen.

[0033] In the first error notification, for example, the display mode of the program part in which the error was detected may be changed. The change in the display mode may include, for example, a change in character color, a change in background color, a change in font, a change in size, etc. The change in the display mode may be a dynamic change. The dynamic change in the display mode may be, for example, the program part periodically blinking for a predetermined length of time, or repeatedly expanding and contracting, etc.

[0034] The second error notification may display an error message explaining why the error occurred in the operated program part. The operation on the program part may be an operation on the program part itself, or an operation on the error icon displayed in the first error notification.

[0035] The operation on the program part may be, for example, an operation of clicking or tapping on the program part or an error icon, or an operation of hovering the mouse over the program part or the error icon.

[0036] If an error occurs in a programming component that instructs a controlled character to perform an action, the error message may include words related to the content of the action. In other words, if a programming component that instructs a controlled character to perform an action fails, an error message may be displayed that explains why the action failed according to the context of the instructed action.

[0037] An error message to be displayed when error notification unit 105 issues a second error notification is stored in advance in message storage unit 106. The error message may be stored in message storage unit 106 in association with identification information for identifying the type of error detected by error detection unit 104. As an example of a method for associating the type of error with the error message, the type of error and the error message may be stored as a set, information that allows one piece of information to be obtained from the other piece of information may be stored, or one piece of information and identification information for the other piece of information may be stored as a set.

[0038] The code conversion unit 107 generates code that can be executed by a computer game, based on the program created by the programming unit 103. The code generated by the code conversion unit 107 may be written in a language whose instructions can be interpreted by the game program.

[0039] The action control unit 108 controls the action of the controlled character in the virtual space in accordance with the code generated by the code conversion unit 107. The action control unit 108 controls the screen display unit 102 to display the action of the controlled character on the field screen.

[0040] [User interface of information processing device] A user interface of an information processing device according to an embodiment of the present disclosure will be described with reference to Fig. 2 to Fig. 10. The user interface may be realized, for example, as a screen displayed on a display device by a game program installed in the information processing device 100.

[0041] <Field screen> The field screen in this embodiment will be described with reference to Fig. 2. Fig. 2 is a diagram showing an example of the field screen.

[0042] 2, a virtual space is depicted in three dimensions on the entire surface of the field screen 200. A playable character 201, which is the player's alter ego, is displayed near the center of the field screen 200. The virtual space depicted on the field screen 200 is the range surrounding the playable character 201.

[0043] The field screen 200 displays controlled characters 202 existing around the playable character 201. A plurality of controlled characters 202 may be displayed on the field screen 200. In Fig. 2, only the controlled characters 202 close to the playable character 201 are marked with symbols.

[0044] The controlled character 202 may exist in a range not displayed on the field screen 200. When the field of view of the field screen 200 is changed in response to the player's operation, the controlled character 202 existing in the new field of view is displayed on the field screen 200.

[0045] The field screen 200 shown in FIG. 2 displays a chest 203 capable of storing various items, and a workbench 204 on which work can be performed using items.

[0046] When the playable character 201 and the controlled character 202 approach within a predetermined range of the chest 203, they can open the door of the chest 203 and take out an item stored in the chest 203. When the playable character 201 and the controlled character 202 approach the workbench 204 while holding an item, they can place the item on the workbench. When items are placed on the workbench 204, the playable character 201 and the controlled character 202 can perform tasks using those items. Tasks that can be performed on the workbench 204 depend on the type of workbench 204, but examples of such tasks include a task of synthesizing multiple items to manufacture a new item.

[0047] When the player performs an operation to select a controlled character 202 on the field screen 200, a programming screen is launched. The programming screen is launched in a state in which a program for causing the selected controlled character 202 to execute an action is created.

[0048] <Programming screen> The programming screen in this embodiment will be described with reference to Fig. 3. Fig. 3 is a diagram showing an example of the programming screen.

[0049] As shown in FIG. 3, the programming screen 300 includes a selection area 310, a switching button 320, a placement area 330, and a play button 340.

[0050] A list of program parts 311 that can be used in a program is displayed in selection area 310. Switching buttons 320 are buttons for switching the program parts displayed in selection area 310.

[0051] A program part that instructs an action may be able to set an object that is the target of the action. A program part in which an object can be set may include an input field for setting the object. In the example shown in Fig. 3, program part 311 displayed in selection area 310 includes input field 312 in which an object can be set. Input field 312 may display a message (e.g., "Please select") indicating that an object needs to be set.

[0052] A player creates a program by selecting a desired program part in selection area 310 and placing the program part in placement area 330. The operation of placing a program part is, for example, an operation of dragging and dropping the program part from selection area 310 to placement area 330.

[0053] A player creates a single program by connecting program parts in placement area 330. In this embodiment, functions indicated by the program parts are executed in order from top to bottom in placement area 330. When a program part is placed in placement area 330, it may be controlled so that it is automatically connected to nearby program parts.

[0054] The order of the program parts may be changed by a player's operation in the placement area 330. For example, the order of the program parts may be changed by the player selecting a desired program part in the placement area 330 and dragging it upward or downward.

[0055] Play button 340 is a button for starting execution of the created program. When the player presses play button 340, first, a program part at which an error will occur is detected from the program created in placement area 330. If a program part at which an error will occur is detected, execution of the program is interrupted and the player is notified of the error. On the other hand, if a program part at which an error will occur is not detected, the controlled character executes the instructed actions in order according to the placement of the program parts in placement area 330.

[0056] 3 shows, as an example of a program, one program to which five program parts 331 to 335 are connected. Program part 331 is a program part that indicates a condition that triggers the program. Program part 332 is a program part that indicates repetitive control. Program parts 333 to 335 are program parts that instruct a controlled character to perform an action.

[0057] The program shown in FIG. 3 is a program that causes the controlled character to perform the following actions: (1) A program is started when the play button is pressed (program part 331). (2) Mine ore in “Mine_1” (program part 333). (3) Pick up a stone near “Mine_1” (program part 334). (4) Put the items you have into “Chest_6” (program part 335). (5) The above operations (2) to (4) are repeatedly executed (program component 332).

[0058] <Error notification> The error notification in this embodiment will be described with reference to FIGS.

[0059] The action to be instructed to the controlled character may succeed or fail depending on the state of the virtual space. Here, we will explain the success and failure of the action of picking up an item stored in a chest and placing the item on a workbench as an example.

[0060] Fig. 4 is a diagram showing an example of a successful operation. Fig. 4 is an example of the field screen 200 when displaying items stored in the chest 203 shown in Fig. 2. As shown in Fig. 4, the field screen 200 displays a list 211 of items stored in the chest 203.

[0061] 4 shows that one item 212 is stored in the chest 203. In this case, the controlled character 202 can pick up the item 212 from the chest 203, and therefore the action of picking up the item from the chest 203 is successful.

[0062] Fig. 5 is a diagram showing an example of a failed action. The example shown in Fig. 5 shows that no item is stored in the chest 203. In this case, since the chest 203 does not store an item that the controlled character 202 can pick up, the action of picking up an item from the chest 203 fails.

[0063] In the present embodiment, when an action instructed to the controlled character 202 fails, the programming screen 300 performs an error notification to inform the player of the program part where the action has failed. The error notification in the present embodiment includes a first error notification that highlights the program part where the error has occurred, and a second error notification that displays the reason why the error has occurred.

[0064] Fig. 6 is a diagram showing an example of the first error notification. As shown in Fig. 6, in the first error notification, program part 336 in which an error occurs is highlighted. In the example shown in Fig. 6, the first error notification is performed by displaying error icon 351 near program part 336 in which an error occurs.

[0065] Here, if there is another program part in which an error occurs in a program part subsequent to the program part in which an error occurs (for example, in FIG. 6, the action "pick up one item from SingleChest_243" fails and the action "put what you are holding in Workbench_1" also fails because the controlled character does not have the item), the first error notification may also be sent for that other program part. On the other hand, if no error occurs in a program part subsequent to the program part in which an error occurs (for example, in FIG. 6, the action "pick up one item from SingleChest_243" fails because the controlled character has an item, but the action "put what you are holding in Workbench_1" succeeds because the controlled character already has the item), the first error notification may not be sent for the subsequent program parts.

[0066] The player can recognize that an error has occurred in the program part 336 that displays the error icon 351. The player can review the created program, and if the reason for the error is understood, correct the program in the placement area 330.

[0067] When a predetermined operation is performed on the program part 336 in which the error occurs, the second error notification is issued. In this embodiment, the second error notification is issued when the player clicks on the error icon 351 displayed near the program part 336.

[0068] Fig. 7 is a diagram showing an example of the second error notification. As shown in Fig. 7, the second error notification displays the reason why the error occurred. In the example shown in Fig. 7, the second error notification is performed by displaying an error message 352 near the program part 336 where the error occurs.

[0069] By referring to the error message 352, the player can understand the reason why an error has occurred in the program part 336. The player can review the created program and correct the program in the placement area 330.

[0070] The error message may have a content that explains the reason for failure according to the context of the instructed action. The error message 352 shown in Fig. 7 explains that the reason for failure of the action indicated by the program part 336 instructing the controlled character to "pick up one item from SingleChest_243" is that the item is not contained. If the reason for failure of the action of picking up an item from a chest is that the target chest does not contain an item, the player can easily understand that he or she needs to reselect another chest that contains an item.

[0071] 6 and 7 show an example of an error in which an action of picking up an item from a chest that does not contain an item is instructed, but the circumstances and reasons for the occurrence of an error are not limited to this. There are various circumstances and reasons for the occurrence of an error depending on the actions that the playable character can perform in the virtual space.

[0072] 8 to 10 are diagrams showing examples of error messages. The error messages shown in Fig. 8 to 10 are examples of error messages stored in advance in the message storage unit 106.

[0073] 8 to 10 show combinations of error messages that may be displayed in the computer game of this embodiment and the reasons why the error messages are displayed. For example, the error message "Searched for cannot be found" (number 1-1) shown in Fig. 8 indicates that the error message is displayed when a program part instructs an action to search for a specific object, but the object does not exist within the range in which the controlled character can act.

[0074] As can be seen from the error messages shown in Figures 8 to 10, reasons why a program part that instructs an action may fail include when the conditions for completing the action are not met. For example, to complete the action of picking up an item from a chest, one or more items must be present in the chest. Also, to complete the action of searching for a specific object, the object must be present within the actionable range.

[0075] [Information processing method processing procedure] A procedure of the information processing method executed by the information processing device 100 according to an embodiment of the present disclosure will be described with reference to Fig. 11. Fig. 11 is a flowchart showing an example of the procedure of the information processing method.

[0076] In step S1, the operation acceptance unit 101 selects a controlled character to be programmed in response to an operation by a player. The operation of selecting the program target is performed on the field screen 200. The operation acceptance unit 101 sends information indicating the selected program target to the screen display unit 102.

[0077] In step S2, the screen display unit 102 receives information indicating a programming target from the operation receiving unit 101. Next, the screen display unit 102 displays a programming screen 300 on the display device. The programming screen 300 is displayed in a state in which a program is created to cause the controlled character 202 selected as the programming target to execute an action.

[0078] In step S3, the operation acceptance unit 101 accepts an operation to create a program. The operation to create a program is performed by the player on the programming screen 300. Next, the operation acceptance unit 101 sends information indicating the accepted operation to the programming unit 103.

[0079] The programming unit 103 creates a program according to the contents of the operation received from the operation receiving unit 101. The programming unit 103 creates a program by arranging program parts and connecting them. The programming unit 103 controls the screen display unit 102 to display the created program on the programming screen 300.

[0080] In step S4, the operation acceptance unit 101 accepts an operation to execute a program. The operation to execute a program is performed by the player on the programming screen 300. Next, the operation acceptance unit 101 sends information indicating the accepted operation to the programming unit 103. The programming unit 103 sends the program created in step S3 to the error detection unit 104 in response to the operation by the player.

[0081] In step S5, the error detection unit 104 receives the program from the programming unit 103. Next, the error detection unit 104 detects errors in the received program. The detection of errors includes determining whether or not the action instructed to the character will fail for each program part included in the program.

[0082] If an error is detected in the program (YES), error detection unit 104 advances the process to step S6. On the other hand, if an error is not detected in the program (NO), error detection unit 104 advances the process to step S9.

[0083] In step S6, the error detection unit 104 sends information about the error detected in step S5 to the error notification unit 105. The error notification unit 105 receives the information about the error from the error detection unit 104. Next, the error notification unit 105 obtains information about the program part that has failed to operate from the received information about the error. Then, the error notification unit 105 controls the screen display unit 102 to display a first error notification on the programming screen 300. For example, the error notification unit 105 displays an error icon near the program part that has failed to operate.

[0084] In step S7, the error notification unit 105 determines whether or not a predetermined operation has been performed on the error icon displayed on the programming screen 300 in the first error notification. If the predetermined operation has been performed (YES), the error notification unit 105 proceeds to step S8. On the other hand, if the predetermined operation has not been performed (NO), the error notification unit 105 returns the process to step S3. Note that if the predetermined operation has not been performed, it means that an operation other than the predetermined operation (for example, an operation to edit a program) has been performed on the programming screen 300.

[0085] In step S8, the error notification unit 105 identifies the program part for which the predetermined operation was performed in step S7. Next, the error notification unit 105 reads out an error message indicating the content of the error detected in step S5 from the message storage unit 106. Then, the error notification unit 105 controls the screen display unit 102 to display a second error notification for the identified program part on the programming screen 300. For example, the error notification unit 105 displays an error message indicating the reason why the operation specified by the program part fails, near the program part for which the predetermined operation was performed.

[0086] In step S9, error detection unit 104 notifies programming unit 103 that no errors were detected. In response to the notification that no errors were detected, programming unit 103 sends the program created in step S3 to code conversion unit 107.

[0087] The code conversion unit 107 receives a program from the programming unit 103. Next, the code conversion unit 107 generates a code for controlling the movement of the controlled character 202 that is the programming target based on the received program. Then, the code conversion unit 107 sends the generated code to the movement control unit 108.

[0088] In step S10, the action control unit 108 receives a code from the code conversion unit 107. Next, the action control unit 108 controls the action of the controlled character 202 in the virtual space according to the received code. Then, the action control unit 108 controls the screen display unit 102 to display the action of the controlled character 202 on the field screen 200. On the field screen 200, the controlled character 202 that is the program target performs a series of actions indicated in the program.

[0089] [Other embodiments] In the above embodiment, when the player performs an operation to start a program, an example is described in which the entire program is checked for errors, an error notification is given for program parts in which an error is detected, and the controlled character is made to act based on a program in which no error is detected. In this example, the error detection unit 104 plays a role of checking the program in advance before making the controlled character act according to the program, and the code conversion unit 107 plays a role similar to a compiler in that it generates code from a program in which no error is detected. On the other hand, in the present embodiment, after the player performs an operation to start a program, errors may be detected sequentially while the program is being executed without checking the program in advance before the controlled character acts.

[0090] Specifically, when the player presses the play button 340 on the programming screen 300, the programming unit 103 sends a program corresponding to the program segment placed at the top of the placement area 330 to the code conversion unit 107. The code conversion unit 107 converts the program segment into code, and the movement control unit 108 controls the movement of the controlled character 202 in accordance with the code. In this way, the code conversion unit 107 can be said to play a role like an interpreter since it interprets the program segments one by one, and the movement control unit 108 causes the controlled character 202 to execute the movement instructed by the program segment. Here, the error detection unit 104 detects errors occurring in the program segments by determining whether the movement of the controlled character 202 is successful or unsuccessful.

[0091] As an example, if the error detection unit 104 detects an error, the error notification unit 105 notifies the error. Then, the programming unit 103 stops the execution of the program. In this example, if the error detection unit 104 does not detect an error, the programming unit 103 sends the program corresponding to the program part placed second in the placement area 330 to the code conversion unit 107. Then, the code conversion unit 107, the operation control unit 108, and the error detection unit 104 repeatedly execute the operation instructed by the program part and the error detection of the program part in which the operation is executed according to the placement of the program part in the placement area 330, until the execution of the program is stopped midway or the program is executed to the end.

[0092] As another example, when the error detection unit 104 detects an error, the error notification unit 105 notifies the error. After that, the programming unit 103 continues the execution of the program. That is, the programming unit 103 sends the program corresponding to the program part arranged second in the arrangement area 330 to the code conversion unit 107. Then, the code conversion unit 107, the operation control unit 108, and the error detection unit 104 repeatedly execute the execution of the operation instructed by the program part and the error detection of the program part in which the operation is executed according to the arrangement of the program part in the arrangement area 330 until the program is executed to the end. The reason why the execution of the program may be continued is that, as described above, even if an error occurs, the content of the operation instructed by the program part in which the error occurred is not realized, and the error does not cause the program itself to fail.

[0093] In this example, the error notification unit 105 may display an error notification near the controlled character operating according to the program on the field screen. For example, the error notification unit 105 may display an error notification above the head of the controlled character 202 on the field screen 200 shown in Fig. 2, and may display this error notification while moving its position in conjunction with the position of the controlled character 202 moving around. This error notification may be either a first error notification or a second error notification.

[0094] [summary] As is clear from the above explanation, the information processing device 100 in one embodiment of the present disclosure displays a programming screen 300 on which program parts indicating operations to be instructed to the controlled character 202 are arranged, detects program parts that will cause the operation to fail, and highlights the detected program parts.

[0095] The information processing device 100 may detect a program part that indicates a failed operation when a program created on the programming screen 300 including the program part does not fail but the content of the operation indicated by the program part is not realized. The fact that the program does not fail may mean that the information processing device 100 is able to instruct the controlled character 202 to perform the operation indicated by the program part following the program part that detects a program part that fails to operate.

[0096] The information processing device 100 may determine whether the content of the action indicated by the program component will be realized or has been realized in a given situation based on the content of the action and the situation in the virtual space in which the controlled character 202 performs the action, and may detect a program component that is determined to not be realized or has not been realized as a program component whose action fails.

[0097] The information processing device 100 may display an error icon indicating a program part where an operation fails. The information processing device 100 may display the error icon in the vicinity of the program part where an operation fails.

[0098] When an operation is performed on a program part that causes an operation to fail, the information processing device 100 may display information indicating the reason why the operation fails on the programming screen 300. The information indicating the reason why the operation fails may be text explaining the reason why the operation fails. The text explaining the reason why the operation fails may include words related to the content of the operation.

[0099] When the information processing device 100 does not detect a program part that will cause an action to fail, it may cause the controlled character 202 to execute a series of actions in accordance with the arrangement of the program parts.

[0100] The information processing device 100 may display a programming screen 300 for causing the controlled character 202 designated by the user to execute a series of actions.

[0101] The information processing device 100 may detect a program part that will cause an operation to fail when an operation is performed to cause the controlled character 202 to start a series of operations. The information processing device 100 may detect a program part that will cause an operation to fail when the program part is placed on the programming screen 300.

[0102] The information processing device 100 may detect a program part that does not satisfy a condition for completing an action. The information processing device 100 may detect a program part for which an object to be a target of an action is not set. The information processing device 100 may detect a program part for which an object to be a target of an action is not present within a range in which a character can act.

[0103] The information processing device 100 may display a programming screen 300 for creating a program that causes the controlled character 202 to perform a series of actions by arranging a plurality of program components having predetermined functions and connecting the program components.

[0104] As a result, according to one embodiment of the present disclosure, it is possible to provide an information processing device capable of notifying a program part that will fail to operate.

[0105] In a program with a high degree of freedom for controlling the movements of a character, the conditions for completing each movement are complicated, and it is difficult to create a program that covers all of them. According to an embodiment of the present disclosure, a program part that causes an operation to fail is highlighted, so that the program part that causes an operation to fail can be easily identified.

[0106] When notifying an error occurring in a program, it is possible to indicate the content of the error (e.g., a syntax error, a variable type mismatch error) in the context of the language specification of the programming language. In programming aimed at learning programming, it is advisable to explain the content of the error so that even people who are not familiar with programming can understand it. According to one embodiment of the present disclosure, the reason why an action fails is indicated according to the context of the action of the controlled character, so that even people who are not familiar with programming can easily understand the reason why an action fails.

[0107] [Hardware configuration of information processing device] A part or all of each device (information processing device 100) in the above-mentioned embodiment may be configured with hardware, or may be configured with information processing of software (programs) executed by a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or the like. In the case of being configured with information processing of software, software for realizing at least a part of the functions of each device in the above-mentioned embodiment may be stored in a non-transient storage medium (non-transient computer-readable medium) such as a CD-ROM (Compact Disc-Read Only Memory) or a USB (Universal Serial Bus) memory, and the software information processing may be executed by reading the software into a computer. The software may also be downloaded via a communication network. Furthermore, the information processing by the software may be executed by hardware by implementing all or a part of the processing of the software in a circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array).

[0108] The storage medium that stores the software may be a removable medium such as an optical disk, or a fixed storage medium such as a hard disk, memory, etc. The storage medium may be provided inside the computer (main storage device, auxiliary storage device, etc.) or outside the computer.

[0109] 12 is a block diagram showing an example of a hardware configuration of each device (information processing device 100) in the above-mentioned embodiment. Each device may be realized as a computer 7 including, for example, a processor 71, a main storage device 72 (memory), an auxiliary storage device 73 (memory), a network interface 74, and a device interface 75, which are connected via a bus 76.

[0110] Although the computer 7 in FIG. 12 includes one of each component, it may include a plurality of the same components. Although one computer 7 is shown in FIG. 12, the software may be installed in a plurality of computers, and each of the plurality of computers may execute the same or different parts of the software. In this case, it may be in the form of distributed computing in which each computer executes the process by communicating via a network interface 74 or the like. That is, each device (information processing device 100) in the above-mentioned embodiment may be configured as a system in which one or more computers execute instructions stored in one or more storage devices to realize a function. Also, it may be configured such that information transmitted from a terminal is processed by one or more computers provided on a cloud, and the processing results are transmitted to the terminal.

[0111] Various calculations of each device (information processing device 100) in the above-mentioned embodiment may be executed in parallel using one or more processors, or using multiple computers via a network. Also, various calculations may be distributed to multiple arithmetic cores in a processor and executed in parallel. Also, a part or all of the processes, means, etc. of the present disclosure may be realized by at least one of a processor and a storage device provided on a cloud that can communicate with a computer 7 via a network. Thus, each device in the above-mentioned embodiment may be in the form of parallel computing using one or more computers.

[0112] The processor 71 may be an electronic circuit (processing circuit, processing circuitry, CPU, GPU, FPGA, ASIC, etc.) that at least controls a computer or performs calculations. The processor 71 may be any of a general-purpose processor, a dedicated processing circuit designed to perform a specific calculation, or a semiconductor device including both a general-purpose processor and a dedicated processing circuit. The processor 71 may also include an optical circuit, or may include a calculation function based on quantum computing.

[0113] The processor 71 may perform arithmetic processing based on data or software input from each device or the like configured inside the computer 7, and may output arithmetic results or control signals to each device or the like. The processor 71 may control each component constituting the computer 7 by executing the OS (Operating System) of the computer 7, applications, or the like.

[0114] Each device (information processing device 100) in the above-described embodiment may be realized by one or more processors 71. Here, the processor 71 may refer to one or more electronic circuits arranged on one chip, or may refer to one or more electronic circuits arranged on two or more chips or two or more devices. When multiple electronic circuits are used, the electronic circuits may communicate with each other by wire or wirelessly.

[0115] The main memory device 72 may store instructions executed by the processor 71 and various data, and information stored in the main memory device 72 may be read by the processor 71. The auxiliary memory device 73 is a memory device other than the main memory device 72. Note that these memory devices refer to any electronic components capable of storing electronic information, and may be semiconductor memories. The semiconductor memories may be either volatile or non-volatile memories. The memory devices for saving various data in each device (information processing device 100) in the above-mentioned embodiment may be realized by the main memory device 72 or the auxiliary memory device 73, or may be realized by an internal memory built into the processor 71. For example, each memory unit in the above-mentioned embodiment may be realized by the main memory device 72 or the auxiliary memory device 73.

[0116] When each device (information processing device 100) in the above-described embodiment is configured with at least one storage device (memory) and at least one processor connected (coupled) to the at least one storage device, at least one processor may be connected to one storage device. At least one storage device may be connected to one processor. A configuration in which at least one processor among a plurality of processors is connected to at least one storage device among a plurality of storage devices may also be included. This configuration may also be realized by storage devices and processors included in a plurality of computers. Furthermore, a configuration in which a storage device is integrated with a processor (for example, a cache memory including an L1 cache and an L2 cache) may also be included.

[0117] The network interface 74 is an interface for connecting to the communication network 8 wirelessly or by wire. The network interface 74 may be an appropriate interface, such as one conforming to an existing communication standard. The network interface 74 may exchange information with an external device 9A connected via the communication network 8. The communication network 8 may be any one of a wide area network (WAN), a local area network (LAN), a personal area network (PAN), etc., or a combination thereof, as long as information is exchanged between the computer 7 and the external device 9A. An example of a WAN is the Internet, an example of a LAN is IEEE802.11 or Ethernet (registered trademark), and an example of a PAN is Bluetooth (registered trademark) or Near Field Communication (NFC).

[0118] The device interface 75 is an interface such as a USB that directly connects to the external device 9B.

[0119] The external device 9A is a device connected to the computer 7 via a network. The external device 9B is a device connected directly to the computer 7.

[0120] The external device 9A or the external device 9B may be, for example, an input device. The input device is, for example, a device such as a camera, a microphone, a motion capture device, various sensors, a keyboard, a mouse, a touch panel, or the like, and provides acquired information to the computer 7. Alternatively, the input device may be a device equipped with an input unit, a memory, and a processor, such as a personal computer, a tablet terminal, or a smartphone.

[0121] Moreover, the external device 9A or the external device B may be, for example, an output device. The output device may be, for example, a display device such as an LCD (Liquid Crystal Display) or an organic EL (Electro Luminescence) panel, or a speaker that outputs sound or the like. Alternatively, the output device may be a device including an output unit, a memory, and a processor, such as a personal computer, a tablet terminal, or a smartphone.

[0122] Furthermore, the external device 9A or the external device 9B may be a storage device (memory). For example, the external device 9A may be a network storage or the like, and the external device 9B may be a storage device such as an HDD.

[0123] Furthermore, the external device 9A or the external device 9B may be a device having some of the functions of the components of each device (information processing device 100) in the above-described embodiment. That is, the computer 7 may transmit some or all of the processing results to the external device 9A or the external device 9B, or may receive some or all of the processing results from the external device 9A or the external device 9B.

[0124] In this specification (including the claims), when the expression "at least one of a, b, and c" or "at least one of a, b, or c" (including similar expressions) is used, it includes any of a, b, c, ab, ac, bc, or abc. It may also include multiple instances of any element, such as aa, abb, aabbcc, etc. Furthermore, it also includes the addition of elements other than the enumerated elements (a, b, and c), such as having d, as in abcd.

[0125] In this specification (including claims), when expressions such as "using data as input / based on / according to / in response to data" (including similar expressions) are used, unless otherwise specified, this includes the use of data itself or data that has been processed in some way (e.g., data with noise added, normalized, feature values ​​extracted from data, intermediate representations of data, etc.). In addition, when it is stated that a result is obtained "using data as input / based on / according to / in response to data" (including similar expressions), unless otherwise specified, this includes the use of the result based only on the data, or the use of the result influenced by other data, factors, conditions, and / or states other than the data. In addition, when it is stated that "data is output" (including similar expressions), unless otherwise specified, this includes the use of data itself as output, or data that has been processed in some way (e.g., data with noise added, normalized, feature values ​​extracted from data, intermediate representations of various data, etc.) as output.

[0126] In this specification (including the claims), the terms "connected" and "coupled" are intended as open-ended terms including any of direct connection / coupling, indirect connection / coupling, electrically connection / coupling, communicatively connection / coupling, functionally connection / coupling, physically connection / coupling, etc. The terms should be interpreted appropriately depending on the context in which the terms are used, but any connection / coupling form that is not intentionally or naturally excluded should be interpreted as being included in the terms without any restriction.

[0127] In this specification (including the claims), when the expression "A configured to B" is used, it may include that the physical structure of element A has a configuration capable of performing operation B, and that the permanent or temporary setting / configuration of element A is configured / set to actually perform operation B. For example, when element A is a general-purpose processor, it is sufficient that the processor has a hardware configuration capable of performing operation B, and is configured to actually perform operation B by setting a permanent or temporary program (instruction). Also, when element A is a dedicated processor, dedicated arithmetic circuit, etc., it is sufficient that the circuit structure, etc. of the processor is implemented to actually perform operation B, regardless of whether control instructions and data are actually attached.

[0128] In this specification (including the claims), when terms implying containing or possessing (e.g., "comprising / including," "having," etc.) are used, they are intended to be open-ended terms that include cases in which the term contains or possesses things other than the object indicated by the object of the term. When the object of such terms implying containing or possessing does not specify a quantity or suggests a singular number (such as an expression using the article "a" or "an"), the expression should be construed as not being limited to a specific number.

[0129] In this specification (including the claims), even if expressions such as "one or more" and "at least one" are used in some places and expressions that do not specify a quantity or suggest a singular number (expressions using the articles "a" or "an") are used in other places, the latter expressions are not intended to mean "one." In general, expressions that do not specify a quantity or suggest a singular number (expressions using the articles "a" or "an") should be interpreted as not necessarily being limited to a specific number.

[0130] In this specification, when a particular advantage / result is described as being obtained from a particular configuration of an embodiment, it should be understood that the same effect can also be obtained from one or more other embodiments having the same configuration, unless there is a reason to the contrary. However, it should be understood that the presence or absence of the effect generally depends on various factors, conditions, and / or states, and that the effect is not necessarily obtained by the configuration. The effect is merely obtained by the configuration described in the embodiment when various factors, conditions, and / or states are satisfied, and the effect is not necessarily obtained in the invention according to the claim that specifies the configuration or a similar configuration.

[0131] In this specification (including claims), when a plurality of pieces of hardware perform a predetermined process, each piece of hardware may cooperate to perform the predetermined process, or a portion of the hardware may perform all of the predetermined process. Also, a portion of the hardware may perform a portion of the predetermined process, and another piece of hardware may perform the remainder of the predetermined process. In this specification (including claims), when an expression such as "one or more pieces of hardware perform a first process, and the one or more pieces of hardware perform a second process" (including similar expressions) is used, the hardware performing the first process and the hardware performing the second process may be the same or different. In other words, it is sufficient that the hardware performing the first process and the hardware performing the second process are included in the one or more pieces of hardware. The hardware may include an electronic circuit, a device including an electronic circuit, and the like.

[0132] In this specification (including the claims), when multiple storage devices (memories) store data, each of the multiple storage devices may store only a portion of the data, or may store the entire data. Also, a configuration in which only some of the multiple storage devices store data may be included.

[0133] In this specification (including the claims), terms such as "first", "second", etc. are used merely as a way of distinguishing between two or more elements, and are not necessarily intended to impose technical meanings such as time aspect, space aspect, sequence, quantity, etc. on the subject matter. Thus, for example, a reference to a first element and a second element does not necessarily mean that only two elements may be employed therein, that the first element must precede the second element, that the first element must be present for the second element to be present, etc.

[0134] Although the embodiments of the present disclosure have been described in detail above, the present disclosure is not limited to the above-mentioned individual embodiments. Various additions, modifications, replacements, partial deletions, etc. are possible within the scope of the conceptual idea and intent of the present invention derived from the contents defined in the claims and their equivalents. For example, in the above-mentioned embodiments, when numerical values ​​or formulas are used for explanation, these are shown for illustrative purposes and do not limit the scope of the present disclosure. In addition, the order of each operation shown in the embodiment is also illustrative and does not limit the scope of the present disclosure. [Explanation of symbols]

[0135] 100 Information processing device 101 Operation reception section 102 Screen display section 103 Programming Department 104 Error detection unit 105 Error notification section 106 Message storage section 107 Code conversion section 108 Motion control section

Claims

1. At least one memory; At least one processor; The at least one processor Display a screen on which program parts showing the actions to be instructed to the character are arranged; Detecting the program part where the operation fails; highlighting the detected program part; Information processing device.

2. The failure of the operation means that the program created on the screen including the program part indicating the operation to be failed does not fail, but the content of the operation indicated by the program part is not realized. The information processing device according to claim 1 .

3. The program does not fail when, after detecting the program part in which the action fails, the at least one processor is capable of instructing the character to perform an action indicated by a program part following the program part in which the action fails. The information processing device according to claim 2 .

4. The at least one processor determining whether the content of the action indicated by the program part and the situation of the virtual space in which the character performs the action will be realized or has been realized in the situation; Detecting the program part that is determined not to be realized or has not been realized as a program part in which the operation fails; The information processing device according to claim 1 .

5. The at least one processor displaying a mark indicating the program part where the operation fails; The information processing device according to claim 1 .

6. The at least one processor displaying the mark in the vicinity of the program part where the operation fails; The information processing device according to claim 5 .

7. The at least one processor when an operation is performed on the program part in which the operation fails, information indicating the reason why the operation fails is displayed on the screen. The information processing device according to claim 1 .

8. The information indicating the reason is a text explaining the reason. The information processing device according to claim 7.

9. The text includes words related to the content of the action. The information processing device according to claim 8.

10. The at least one processor When the program part causing the action to fail is not detected, the character is caused to execute a series of actions in accordance with the arrangement of the program parts.

10. The information processing device according to claim 1.

11. The at least one processor causing the character to execute the action indicated by the program part; determining whether the character has failed the action; When it is determined that the operation has failed, the program part is highlighted.

10. The information processing device according to claim 1.

12. The at least one processor displaying the screen for causing the character designated by a user to execute the action; 10. The information processing device according to claim 1.

13. The at least one processor detecting the program part that causes the action to fail when an operation is performed to cause the character to execute the action; 10. The information processing device according to claim 1.

14. The at least one processor detecting the program part that fails to operate when the program part is placed on the screen; 10. The information processing device according to claim 1.

15. The at least one processor detecting the program part that does not satisfy a condition for completing the operation; 10. The information processing device according to claim 1.

16. The at least one processor detecting the program part for which an object to be a target of the operation is not set; The information processing device according to claim 15.

17. The at least one processor detecting the program part in which an object to be operated is not within an actionable range of the character; The information processing device according to claim 14.

18. the screen is a screen for creating a program for causing the character to execute a series of actions by arranging a plurality of the program parts having predetermined functions and connecting the program parts; 10. The information processing device according to claim 1.

Citation Information

Patent Citations

  • Programming learning device and program

    JP2017219718A