A serious game to self-regulate heart rate variability as a technique to manage arousal level through cardiorespiratory biofeedback: development and pilot evaluation study
Full text
Original Paper A Serious Game to Self-Regulate Heart Rate Variability as a Technique to Manage Arousal Level Through Cardiorespiratory Biofeedback: Development and Pilot Evaluation Study Tony Estrella1,2, MSc; Carla Alfonso1,2, MSc; Juan Ramos-Castro3, PhD; Aitor Alsina4, PhD; Lluis Capdevila1,2, PhD 1Laboratory of Sport Psychology, Department of Basic Psychology, Universitat Autónoma de Barcelona, Barcelona, Spain 2Sport Research Institute, Universitat Autònoma de Barcelona, Barcelona, Spain 3Group of Biomedical and Electronic Instrumentation, Department of Electronic Engineering, Universitat Politècnica de Catalunya (UPC), Barcelona, Spain 4Department of Information and Communications Engineering, Universitat Autònoma de Barcelona, Barcelona, Spain Corresponding Author: Lluis Capdevila, PhD Sport Research Institute Universitat Autònoma de Barcelona Edifici N, Planta 1 Barcelona, 08193 Spain Phone: 34 93 581 3329 Email: [email protected] Abstract Background: Heart rate variability biofeedback (HRVB) is an established intervention for increasing heart rate variability (HRV) in the clinical context. Using this technique, participants become aware of their HRV through real-time feedback and can self-regulate it. Objective: The aim of this study was 2-fold: first, to develop a serious game that applies the HRVB technique to teach participants to self-regulate HRV and, second, to test the app with participants in a pilot study. Methods: An HRVB app called the FitLab Game was developed for this study. To play the game, users must move the main character up and down the screen, avoiding collisions with obstacles. The wavelength that users must follow to avoid these obstacles is based on the user’s basal heart rate and changes in instantaneous heart rate. To test the FitLab Game, a total of 16 participants (mean age 23, SD 0.69 years) were divided into a control group (n=8) and an experimental group (n=8). A 2 × 2 factorial design was used in each session. Participants in the experimental condition were trained in breathing techniques. Results: Changes in the frequency and time domain parameters of HRV and the game’s performance features were evaluated. Significant changes in the average RR intervals and root mean square of differences between adjacent RR intervals (RMSSD) were found between the groups (P=.02 and P=.04, respectively). Regarding performance, both groups showed a tendency to increase the evaluated outcomes from baseline to the test condition. Conclusions: The results may indicate that playing different levels leads to an improvement in the game’s final score by repeated training. The tendency of changes in HRV may reflect a higher activation of the mental system of attention and control in the experimental group versus the control group. In this context, learning simple, voluntary strategies through a serious game can aid the improvement of self-control and arousal management. The FitLab Game appears to be a promising serious game owing to its ease of use, high engagement, and enjoyability provided by the instantaneous feedback. (JMIR Serious Games 2023;11:e46351) doi: 10.2196/46351 KEYWORDS serious game; heart rate variability; biofeedback; mobile health; mHealth; app; mobile phone JMIR Serious Games 2023 | vol. 11 | e46351 | p. 1https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
Introduction Background Heart rate variability (HRV) represents the temporal variation between successive heartbeats (RR interval), and it is measured in milliseconds [1]. HRV is a biomarker of cardiovascular [2] and mental [3] health, reflecting the balance between the parasympathetic and sympathetic branches of the autonomic nervous system (ANS) [4]. HRV has been considered as an objective and noninvasive health indicator, with higher resting HRV being associated with lower cardiovascular risk [5], reduction of negative emotions through acute stress [6], flexible and adaptive response to environmental demands [7], and improved fitness [8]. This reflects the numerous applications of HRV in various fields. HRV biofeedback (HRVB) is an established intervention that increases HRV in the clinical context and has proven to be effective as a treatment for anxiety and depression [9,10]. With this technique, participants become aware of their HRV through real-time feedback and can self-regulate it, restoring its homeostasis [11]. HRVB is based on the physiological phenomenon of respiratory sinus arrhythmia, which is defined as the variation in heart rate (HR) caused by respiration [12]. The analysis of respiratory sinus arrhythmia shows that the instantaneous HR (iHR) increases during inhalation and decreases during exhalation. Thus, the original HRVB procedure proposed by its promoters emphasizes the importance of breathing training to maximize HRV and achieve the maximum benefits of this technique [12]. In a recent systematic review [13], a series of methodological guidelines were proposed to improve the effectiveness of HRVB interventions. This review highlighted the importance of the breathing protocol as the core of the HRVB interventions, concluding that concrete aspects such as the inhalation, holding, or exhalation ratio should be explained in detail to the participants who apply the technique. Furthermore, HRVB can help establish a connection between the mind and body through voluntarily controlled physiological behaviors, such as breathing, facilitating the learning process and self-control. HRVB is becoming more widely used owing to its ease of application and high cost-benefit potential, particularly because of the current accessibility of health technologies through mobile health devices [14,15]. The growth of mobile health technology has allowed the development of game-based mobile apps, which are known to increase the transfer of learning and motivation toward practice [16]. The use of games either in health or educational interventions allows the participants to immerse themselves in the activity that is required by the game, promoting a flow state [17,18]. Similarly, other studies have shown that when playing serious games, the student’s role changes from a passive receiver of information to an active entity interacting with the game, facilitating the learning process [19,20]. Serious games, rather than being geared toward entertainment, are aimed at educating, training, and informing the player about a specific topic [21]. They are being used in various health domains [22-24]. For instance, in the field of HRVB, they can be a way to teach participants to control HRV through breathing techniques in an interactive environment. Objectives With the information provided in the Background section, the aim of this study was 2-fold: first, to develop a serious game that applies the HRVB technique to teach participants to self-regulate HRV and, second, to test the app with participants in a pilot study. Methods This study has two phases: (1) the development of a serious game biofeedback app called the FitLab Game and (2) the testing of the app with participants in a pilot study. Phase 1: App Development Visual Environment and Game Explanation General Design In accordance with definition of serious games by Djaouti et al [25], the FitLab Game is meant for physical and mental training in the health care sector and intended for the general public. The overall goal of the game is to help the user self-regulate their HRV by providing biofeedback in an attempt to follow or mimic a preset iHR waveform. The architecture and design of the game allows the incorporation of new real iHR curves (RR) to imitate and can be adapted to different levels of complexity in the different existing scenarios (levels). These real recordings can be chosen by the player or a professional accompanying the player. Depending on the level and the preset iHR waveform chosen, the game will lead to a state of relaxation (increasing cardiac variability) or a state of activation in the participant (decreasing cardiac variability), according to the needs demanded by each particular situation. Different gamification techniques were used in its design to increase the players’ engagement with the tasks. More general techniques include having a goal to aim toward, a set of rules to follow, a challenge to complete, and real-time feedback to tell the player how he is doing and how close he is to completing the goal. More specific gamification techniques were added to further engage the player, including Bonus points, increasing challenge, and performance graphs. Menus The game’s menus were designed in landscape mode and presented in Spanish. The first screen that appears when opening the app is the main screen, which allows users to choose the sensor used to input data: either the device’s camera (“Cámara de vídeo”) or a HR band (“Banda Pectoral”). The latter was used in this study. Once connected to the sensor, the app allows access to the game’s mode, where the player can select between the option “Jugar” (“Play”), in which the user overcomes different levels in an orderly manner so that the difficulty of the game gradually increases, or the option “Práctica” (“Practice”), in which the user can activate an independent session. The tab “Opciones” (“Options”) refers to the game’s settings (Figure 1). JMIR Serious Games 2023 | vol. 11 | e46351 | p. 2https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
Figure 1. Screenshots of the game’s menus. Game’s transition from the main screen to the screen that appears when you select “Banda pectoral” (“Chest Band”) and which allows to connect a heart rate sensor to the game. On the right, the third menu shows where the player can select “Jugar” (“Play”) to play. Screens The FitLab Game has 9 levels distributed in 3 visually different worlds (Figure 2). Each world has 3 scenarios or levels of difficulty that the user must overcome in a set order to be able to access the next one when in “Jugar” (“Play”) mode. To overcome a scenario, the user must move the main character up and down the screen to avoid colliding with obstacles that keep appearing. Touching an obstacle results in the loss of a life, and losing all lives means the game is over and needs to be restarted. The movement of the main character reflects cardiac variability and can be controlled by different voluntary strategies such as breathing. The upper and lower limits and the obstacles in each scenario of the game are not placed randomly. They follow a specific waveform determined by previously recorded RR intervals, corresponding to a real recording. Each scenario represents a real RR series transformed and visualized as iHR, with different difficulty to imitate depending on the particular and distinct RR series (represented as a curve of iHR values) on which each scenario is based. Before starting the game, the data were calibrated to establish an initial HR range for the user (based on iHR from RR intervals). An algorithm was created specifically for the game, which takes this initial HR and displays it on a “grid” (invisible to the user) where each box is 1 second wide per 1 second high. With this algorithm, the screen is configured to place the character in the central area vertically, and the width of the screen is adjusted such that it is proportional to the range of variability presented by the user. In addition, the upper and lower limits and the obstacles, based on the previously recorded RR series, are placed above and below the defined waveform, leaving a space for the character to pass in between (Figure 3). As a result of the initial calibration, all users start the game under similar conditions, while also having the level of difficulty of each scenario of the game adjusted to their own HR values. Overall, the configuration of each game is a dynamic and individual process, setting it apart from “one-size-fits-all” games. The individually tailored nature of the FitLab Game was designed to increase motivation and the learning process [26]. The left side of Figure 3 illustrates the algorithm that defines the ideal pathway of the character. The blue line represents the waveform defined by the prerecorded iHR curve (from a specific RR series), and the dark gray boxes represent the upper and lower limits of this curve, where the obstacles would be positioned. The right side of Figure 3 shows an example of how this algorithm would be seen in the game (see a dynamic example in Multimedia Appendix 1). Once the obstacles are placed, the objects and landscape of the scene are selected. For each world, there is a bank of images that can be used (mountains, animals, houses, etc) and placed by distributing them according to their size. Larger objects form the background plane, such as the mountains. Medium objects, such as houses, gradually fill the spaces that the first type of images could not fill because of their size, and small objects, such as birds, trees, or other details, are placed in the spaces that are missing to be filled in, which in Figure 3 are the dark gray boxes. Notably, the placement of obstacles is not exhaustive, meaning that it is not intended to fill all the space reserved for obstacles; otherwise, the screen will be saturated with objects. The goal is to place objects in the most harmonious way possible but clearly marking the path that the main character should follow. When the user reaches the end of the level or loses a life owing to touching obstacles, a final page appears. On this screen (Figure 4), a “Level Completed” message is shown, together with the total points collected, and the average stress index and average HR of the player and of all participants who have played the game is also shown. JMIR Serious Games 2023 | vol. 11 | e46351 | p. 3https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
Figure 2. Screenshots of worlds and scenarios of the game: “Campo” (“Rural area”), “Mar” (“Sea”), and “Espacio” (“Space”). Figure 3. Example of wave based on an instantaneous heart rate curve from a particular RR interval series. Figure 4. Example of the final page, appearing after a word of the FitLab Game is played. JMIR Serious Games 2023 | vol. 11 | e46351 | p. 4https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
App Architecture Programing Language and Functionalities The architecture of the app consists of two parts: (1) the base of the game and (2) the container of the app and the communication with another device. The base of the game refers to the visual part, the game’s engine, screen management, menus, and navigation. This entire part has been implemented with HTML (WHATWG) assisted by CSS (World Wide Web Consortium) and JavaScript (Oracle Corporation) technologies, so that it can be run in any web browser, whether hosting the application on a web server or running it directly on a local computer or mobile device. Note that opening the game in a web browser will not allow the use of the sensors and hardware; therefore, on a web browser, the game can only run in the test mode. Nonetheless, in the test mode, it is still fully functional using the cursor on a computer keyboard or by tapping on the screen of a mobile device, which allows testers to move the character up and down the screen manually. The container refers to what allows the game to be installed as a mobile app on an Android or iOS operating system. In addition, it provides the necessary functionality to access the camera of the device and process the images as well as to establish Bluetooth connections with HR sensors and process the collected data. In this case, data processing is used in the game as input commands, replacing the usual input methods, including the keyboard or touch screen (for testing purposes). That is, it is with iHR data (from real-time RR intervals) that the user can move the main character up and down the screen using the variation of each iHR beat with respect to the previous one. This app container was implemented using a cross-platform environment for writing applications for Android and iOS operating systems called Titanium SDK (TiDev, Inc). The game engine is written in JavaScript and is based on a constant loop where, at each step, the current position of the character is evaluated with respect to its environment (screen boundaries, obstacles, and prizes) and the input of the user (iHR data; Figure 5). The game engine, menu screens, and navigation are written in web languages compatible with any browser. Finally, both operating systems (Android and iOS) allow the introduction of web components within the app to reproduce web code (ie, HTML+CSS+JavaScript) as if it were part of the same app. The current app takes advantage of this feature to separate the game from the app’s container, which allows communication via Bluetooth with other devices. When the container receives a command via Bluetooth, the app container code sends the corresponding interpretation of this command to the game part. For example, when instantaneous HR data are received over Bluetooth, the app container unpacks the received frame, obtains specific iHR data, and sends it to the game, which interprets it and moves the character. Figure 5 shows a game flow representation, where the user wearing a chest band sends iHR signals via Bluetooth and the game algorithm evaluates iHR, time playing, Bonus achieved, and position on a constant loop. Figure 5. Game flow representation. iHR: instantaneous heart rate. Data Collection and Bluetooth Connection Before communication occurs between the sensor (HR sensor) and the FitLab Game, a connection must be established between the entities. Such a connection is established via Bluetooth and is known as pairing. In this type of connection, one of the devices acts as a host or receiver of data and the other acts as a client or sender. The device acting as a receiver can establish connections with multiple sending devices, but a sending device can only connect to a single receiver. Currently, the present app allows only 1 sender to be connected to the device because each game is calibrated to a user’s iHR. It should be noted that the iHR reading device used for the FitLab Game could be any, but it must offer a Bluetooth low energy connection so that the app can obtain the data. This version of Bluetooth can define specific data formats using standard attribute profiles (Generic Attribute Profile). This allows, for example, Bluetooth communication in the Heart Rate Profile mode to be established between the data sensor (the sender) and the app (the receiver). In this way, the receiver can interpret the data in whichever format it is packaged and can obtain the iHR information regardless of the manufacturer and model of the sending device, as long as it uses Bluetooth low energy with the Heart Rate Profile mode. At present, when the app is opened, the user is asked to select the data entry method. When Bluetooth is selected, a screen with detected nearby Bluetooth devices is displayed. The list of displayed devices is filtered to show only those in the Heart Rate Profile mode. The user can select a device from the list of available devices and establish a connection. This process may take 1 or 2 seconds, and the user receives a confirmation if the JMIR Serious Games 2023 | vol. 11 | e46351 | p. 5https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
connection has been successfully established or if an error has occurred. Once the connection is established, the application takes the user to the game’s playing menu. Data Processing For each game carried out in the app, iHR data are collected together with other metadata, including the start and end times of the game, a user’s identifier code, an ID assigned to the session, the level of the game played, the Bonus achieved, and the iHR calibration. All these data are packaged, saved in the container of the app, and can later be exported for analysis. Multiple user sessions can be stored locally, that is, in the application, but an internet connection is required to export the data to a server. Note that the game does not need an internet connection to work, and a wireless Bluetooth connection between the sender and the receiver in proximity is sufficient. For research purposes, the sessions that are temporarily saved on the device are accessible from a configuration menu by an application manager. To export data, the manager needs to select the desired sessions and indicate an email address to which the anonymized data will be sent, that is, identified by user codes and never by names or other identifying data. Phase 2: Pilot Study Study Sample A total of 16 participants (9 men and 7 women; mean age 23, 0.69 years) were divided into 2 groups: a control group (4 men and 4 women; mean age 23.25, SD 0.99 years) and an experimental group (5 men and 3 women; mean age 22.75, SD 1.01 years). All participants were aged >18 years and did not present any cardiovascular disorder or take any medication that could affect HRV. The descriptive statistics of the participants are presented in Table 1. All participants, selected via a convenience sample of university students, were volunteers, and all participants provided written informed consent. Table 1. Descriptive data of the participants (N=16). PvalueAll participants (N=16)Intervention group (n=8)Control group (n=8)Variable .617 (44)3 (38)4 (50)Gender (woman), n (%) .7323 (2.76)22.75 (2.87)23.25 (2.82)Age (years), mean (SD) .43171.94 (9.39)173.88 (8.34)170 (10.53)Height (cm), mean (SD) .9366.25 (11.45)66 (9.41)66.5 (13.86)Weight (kg), mean (SD) .4922.31 (2.92)21.78 (2.50)22.84 (3.38) BMI (kg/m2), mean (SD) Material and Instruments Control Measures Self-Report Before attending the session, participants were recommended, by email, to avoid taking nonessential drugs (up to 24 hours before the session) as well as caffeine, smoking, or any other psychostimulant (up to 2 hours before); alcohol (10 hours before); heavy meals (3 hours before); or eating in general (1 hour before). They were also asked to avoid high-intensity physical activity or any unusual exercise (20 hours before), to sleep for at least 6 hours, and to wear comfortable clothes to the laboratory. A brief questionnaire was administered immediately before the laboratory sessions to record these conditions. The participants were also asked to report their weight and height. In addition, the BMI was computed based on the participants’ reported height and weight. This measure was used as a control variable between the groups because of its possible influence on HR [27]. Polar Band H10 An H10 cardiac chest band (Polar Electro) was used to record the RR interval signal (transformed to iHR), as validated previously [28]. The signal was sent and collected to the FitLab Game App (iOS version 1.0, build 1; Health&SportLab SL), which was active on an iPad Air 2 (version 12.1.4). Questionnaire of Satisfaction With FitLab Game An ad hoc satisfaction questionnaire based on the proposals of different works [29-31] was tailored to our research purpose. The questionnaire was created to collect participants’ information about the following factors (see item number in brackets): (1) usefulness, (2) ease, (3) enjoyment of the game, (4) personal ability, (5) intention to use, (6) clarity of the goal of the game, (7) controllability of the game, (8) strategic approach, (9, 10, and 11) flow, (12) feedback, (13) educational aspect, (14 and 15) motivation, and (16) design aspects. Each factor was represented by a single item, except for flow and motivation, which consisted of 3 and 2, respectively. The participants responded to the questionnaire using a Likert scale ranging from 1 (strongly disagree) to 5 (strongly agree). Mean scores >3 can be considered as positive, 3 as neutral, and <3 as negative. Items related to the techniques used to modulate HR were not included in the control group. The average total score was computed based on participants’ responses, providing a general satisfaction score. Procedure The study consisted of 1 individual session per participant, which lasted for approximately 35 minutes and took place in the Basic Psychology Laboratory of the Universitat Autònoma de Barcelona. The day before this session, each participant was provided a list of recommendations, based on the Control Measures Self-report,to record variables that may affect HRV, including physical activity and intake of caffeine, psychostimulants, alcohol, drugs, and food. At the beginning of the session, the H10 cardiac band was placed on the participant’s chest so that they could become familiarized with the sensation of the band. A few drops of conductive gel were applied to the band to facilitate good contact with the skin. Once the band was placed, the participant answered the Control JMIR Serious Games 2023 | vol. 11 | e46351 | p. 6https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
Measures Self-report questionnaire. The participants were then introduced to the FitLab Game for the first time. Play time was divided into 3 parts, with the first and third parts being recorded for the study (Figure 6). In part 1, the baseline phase, each participant played 2 levels of the game to familiarize themselves with the functioning of the app, without time constraints. In part 2, the practice phase, participants practiced on a different level for 6 minutes, or a maximum of 3 levels. Finally, in part 3, the test phase, each participant played the same 2 levels as in part 1. Figure 6. Example of screens of the game that participants played. Testing consisted of 3 parts (part 1: baseline phase, part 2: practice phase, and part 3: test phase). A few techniques to consciously control iHR (and thus manage HRV) were explained to the participants in the experimental group but not to those in the control group. To increase HRV (and reduce iHR), it was recommended to either breathe at a pace where the exhalation was longer than the inhalation [32-34] or to hold one’s breath [35]. To reduce HRV (and increase iHR), participants were instructed to slightly hyperventilate [36], to perform muscle movements [37], or to swallow saliva voluntarily all at once [38]. For each level and session that the participants played, the FitLab Game calibrated a baseline iHR, which allowed the game’s character to be placed in the center of the screen, in such a way that the starting point and the difficulty of the iHR series were equal for all participants. Then, participants had to follow the same pre-established route corresponding to each level and session, collecting apples (Bonus), which marked the correct route, and avoiding other elements such as unhealthy foods, tobacco, or the upper and lower limits marked by the floor and ceiling of the screen. To follow the route (or avoid certain elements), the main character had to move up or down the screen, which was controlled by changes in iHR. Participants in the control group were given no instructions on how to do so, whereas participants in the experimental group were explained the techniques mentioned in the paragraph above. All participants started the game with 20 lives, and the game ended when they ran out of lives or when they reached the end of the level without losing all these lives. Data Analysis Descriptive statistics are reported as means and SDs. A 2 × 2 multivariate analysis of variance following a general linear model was used to analyze the differences between the baseline and test situations. The baseline values were calculated as the average of the 2 games played in part 1, and the test values were calculated as the average of the 2 games played in part 3 (Figure 6). This statistical analysis was carried out to analyze the baseline versus test data obtained from HRV parameters, as well as time and Bonus, all separately. Statistical analysis was performed using SPSS (version 28.0; IBM Corp). The raw RR interval values recorded by the Polar H10 cardiac chest band were processed to remove artifacts owing to false positive or false negative detections; afterward, the RR intervals were filtered, and the corresponding iHR values were shown in real time on the screen when the participant was playing. The same processed RR interval values were saved and analyzed to calculate the HRV parameters. A time domain HRV analysis was performed to calculate average RR intervals (RR mean), SD of RR intervals, root mean square of differences between adjacent RR intervals (RMSSD), and percentage of consecutive RR intervals that differ by >50 ms between them. A frequency domain analysis was used to calculate the low-frequency band (low frequency [LF]; 0.04-015 Hz) and high-frequency band (high frequency [HF]; 0.15-0.4 Hz). HRV analysis followed the guidelines recommended by the Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology (1996). HRV analysis was performed using MATLAB (R2021 update 3 for 64 bits Windows; MathWorks). Ethics Approval This study was conducted according to the local ethics committee for human experimentation (protocol code CEEAH-5745). JMIR Serious Games 2023 | vol. 11 | e46351 | p. 7https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
Results Change in Gaming Performance (Pilot Study) To analyze the participants’ performance in the game, the change in the number of apples collected (Bonus) and the total time played in seconds (Time) were considered, as presented in Table 2. No significant changes were found in the baseline versus test situation when comparing the experimental and control groups. However, there was a tendency for both groups to have increased Bonus and Time from the baseline to the test condition. Table 2. Game outcomes in baseline and test phases in the control and experimental groups. Test, mean (SD)Baseline, mean (SD)Variables Bonus 18.06 (9.54)16.75 (10.91)Control 20 (10.15)15.75 (5.34)Experimental Time 109.05 (58.17)91.08 (26.79)Control 116.67 (52.31)91.07 (26.79)Experimental Participants’Satisfaction The satisfaction questionnaire was completed by 13 (81%) of the 16 participants. Overall, participants expressed high satisfaction with the FitLab Game, reporting positive experiences, with a total score of 3.87 (SD 0.42) for the control group and a total score of 4.30 (SD 0.50) for the intervention group. The intervention group answered 16 questions, with 4 specific questions related to the techniques used during the game. Table 3 provides an extended description of the items and their scores for each group. Table 3. Items and scores of the ad hoc game’s satisfaction questionnaire for the control group (n=5) and intervention group (n=8)a. Intervention group, mean (SD)Control group, mean (SD)Items 4 (0.53) N/Ab “I can learn self-control techniques better and faster with games like this.”1 4 (1.07)4.2 (0.45)“Using games like this would be easy for me.”2 4.87 (0.35)4.6 (0.55)“Playing to learn techniques is more fun than following a pacer.”3 3 (0.76)N/A“I would be able to play this game even if nobody was there to teach me.”4 4 (0.76)4.2 (0.84)“In the future, I would play if I wanted to learn how to control my heart rate.”5 5 (0)4 (1.22)“The aim of the game was clear the whole time I was playing.”6 5 (0)N/A“The instructions for functionality were clear.”7 4.6 (0.52)4.2 (1.30)“While playing, I understood how to achieve points and how to end the game successfully.” 8 4.75 (0.46)3.6 (1.14)“While playing, I was only thinking about the game.”9 4.5 (0.53)4 (1)“While playing, I forgot everything else around me.”10 4.13 (0.83)3.2 (0.84)“While playing, I didn’t realise how much time was passing.”11 4.25 (1.04)3.4 (1.82)“When I did something in the game, I knew if it was right or wrong.”12 4.13 (0.64)N/A“By playing I learned how the techniques affect my heart rate, and how I can modify it.” 13 4.63 (0.52)3.4 (0.89)“The game format increased my motivation to continue playing and achieve more bonus points.” 14 4.63 (0.52)4 (0.71)“A game that applied different breathing techniques would increase my interest in this topic.” 15 4.38 (0.74)4.2 (0.45)“The levels are fun and esthetically pleasing.”16 aTotal score: control group—mean 3.87 (SD 0.42); intervention group—mean 4.30 (SD 0.50). bN/A: not applicable. JMIR Serious Games 2023 | vol. 11 | e46351 | p. 8https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
Change in HRV Parameters When analyzing the changes in HRV before and after the game, the results showed some differences between the experimental and control groups (Table 4). In particular, the experimental group showed a decrease in RR mean from baseline to test, which was different from the increase observed in the control group (P=.02; Figure 7). In contrast, the experimental group showed a decline in RMSSD from baseline to test, which was more pronounced than that in the control group (P=.04). No other HRV parameters presented a significant or tendential change. Table 4. Multivariate analysis of variance of heart rate variability variables in baseline and test conditions in the control and experimental groups. PvalueTest, mean (SD)Baseline, mean (SD)Variables .02 RR meana 816.89 (106.59)800.33 (109.02)Control 930.90 (132.45)1004.52 (148.41)Experimental .56 SDRRb 65.64 (20.16)62.55 (24.12)Control 109.81 (32.44)111.35 (33.97)Experimental .04 RMSSDc 41.60 (20.16)43.10 (19.96)Control 80.07 (31.73)93.80 (40.71)Experimental .36 pNN50d 20.77 (17.25)23.83 (17.53)Control 34.64 (17.52)42.90 (18.63)Experimental .39 LFe 2595.49 (2190.80)3063.58 (2789.61)Control 6972.52 (3760.22)6612.13 (3438.65)Experimental .10 HFf 739.14 (547.80)661.70 (458.82)Control 2046.96 (1594.17)2985.17 (2311.75)Experimental aRR mean: average RR intervals. bSDRR: SD of RR intervals. cRMSSD: root mean square of differences between adjacent RR intervals. dpNN50: percentage of consecutive RR intervals that differ by >50 ms between them. eLF: low frequency. fHF: high frequency. JMIR Serious Games 2023 | vol. 11 | e46351 | p. 9https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
57. Lüddecke R, Felnhofer A. Virtual reality biofeedback in health: a scoping review. Appl Psychophysiol Biofeedback 2022 Mar 03;47(1):1-15 [FREE Full text] [doi: 10.1007/s10484-021-09529-9] [Medline: 34860290] 58. Lin IM, Fan SY, Yen CF, Yeh YC, Tang TC, Huang MF, et al. Heart rate variability biofeedback increased autonomic activation and improved symptoms of depression and insomnia among patients with major depression disorder. Clin Psychopharmacol Neurosci 2019 May 31;17(2):222-232 [FREE Full text] [doi: 10.9758/cpn.2019.17.2.222] [Medline: 30905122] 59. Zucker TL, Samuelson KW, Muench F, Greenberg MA, Gevirtz RN. The effects of respiratory sinus arrhythmia biofeedback on heart rate variability and posttraumatic stress disorder symptoms: a pilot study. Appl Psychophysiol Biofeedback 2009 Jun;34(2):135-143 [doi: 10.1007/s10484-009-9085-2] [Medline: 19396540] 60. Lehrer P, Vaschillo B, Zucker T, Graves J, Katsamanis M, Aviles M, et al. Protocol for heart rate variability biofeedback training. Biofeedback 2013;41(3):98-109 [doi: 10.5298/1081-5937-41.3.08] 61. Lin IM, Tai LY, Fan SY. Breathing at a rate of 5.5 breaths per minute with equal inhalation-to-exhalation ratio increases heart rate variability. Int J Psychophysiol 2014 Mar;91(3):206-211 [doi: 10.1016/j.ijpsycho.2013.12.006] [Medline: 24380741] 62. Al Osman H, Dong H, El Saddik A. Ubiquitous biofeedback serious game for stress management. IEEE Access 2016 Mar 31;4:1274-1286 [doi: 10.1109/access.2016.2548980] 63. Gomes LM, Silva RG, Melo M, Silva NN, Vanderlei FM, Garner DM, et al. Effects of effortful swallow on cardiac autonomic regulation. Dysphagia 2016 Apr 9;31(2):188-194 [doi: 10.1007/s00455-015-9676-4] [Medline: 26650792] 64. Tanoue K, Sonoda M, Yamashita E, Tanaka H, Nuruki N. Swallowing-induced atrial tachyarrhythmia triggered by solid foods. Circulation 2014 Sep 23;130(13):e113-e115 [doi: 10.1161/circulationaha.114.010235] 65. Siepmann M, Aykac V, Unterdörfer J, Petrowski K, Mueck-Weymann M. A pilot study on the effects of heart rate variability biofeedback in patients with depression and in healthy subjects. Appl Psychophysiol Biofeedback 2008 Dec 19;33(4):195-201 [doi: 10.1007/s10484-008-9064-z] [Medline: 18807175] 66. Pyne JM, Constans JI, Nanney JT, Wiederhold MD, Gibson DP, Kimbrell T, et al. Heart rate variability and cognitive bias feedback interventions to prevent post-deployment PTSD: results from a randomized controlled trial. Mil Med 2019 Jan 01;184(1-2):e124-e132 [FREE Full text] [doi: 10.1093/milmed/usy171] [Medline: 30020511] 67. Yıldız M, Doma S. Issues related to reliability of HRV analysis and effect of spontaneous saliva swallowing on HRV. Anatol J Cardiol 2017 Jun;17(6):495-496 [FREE Full text] [doi: 10.14744/AnatolJCardiol.2017.7646] [Medline: 28617300] Abbreviations ANS: autonomic nervous system HF: high frequency HR: heart rate HRV: heart rate variability HRVB: heart rate variability biofeedback iHR: instantaneous heart rate LF: low frequency RMSSD: root mean square of differences between adjacent RR intervals RR mean: average RR intervals Edited by G Eysenbach; submitted 10.02.23; peer-reviewed by J Robertson, K Stawarz; comments to author 17.04.23; revised version received 12.06.23; accepted 18.07.23; published 24.08.23 Please cite as: Estrella T, Alfonso C, Ramos-Castro J, Alsina A, Capdevila L A Serious Game to Self-Regulate Heart Rate Variability as a Technique to Manage Arousal Level Through Cardiorespiratory Biofeedback: Development and Pilot Evaluation Study JMIR Serious Games 2023;11:e46351 URL: https://games.jmir.org/2023/1/e46351 doi: 10.2196/46351 PMID: ©Tony Estrella, Carla Alfonso, Juan Ramos-Castro, Aitor Alsina, Lluis Capdevila. Originally published in JMIR Serious Games (https://games.jmir.org), 24.08.2023. This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Serious Games, is properly cited. The complete bibliographic JMIR Serious Games 2023 | vol. 11 | e46351 | p. 16https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX
information, a link to the original publication on https://games.jmir.org, as well as this copyright and license information must be included. JMIR Serious Games 2023 | vol. 11 | e46351 | p. 17https://games.jmir.org/2023/1/e46351 (page number not for citation purposes) Estrella et alJMIR SERIOUS GAMES XSL • FO RenderX