Keywords

1 Introduction

Cancer patients not only go through physical pain, but mental anguish as well. The mental anguish that patients go through, regardless of the reason, is called “distress”. Cancer patient’s distress symptoms may vary from everyday emotions such as sadness, fear, dilemma to morbid conditions that damage psychological and social functions such as depression, anxiety, panic, social isolation, existence crisis. Distress is known to affect the spread of cancer cells [1] and to figure out the reasons for distress, NCCN (National Comprehensive Cancer Network) distributed a globally approved survey called “Distress Thermometer and Problem List” [2]. This survey contains many items related to possible stress situations the patients may be going through. However, the survey is made up of formal questions and provides no feedback at the end, which may be the reason why many patients do not participate in the survey. Thus, it is a tiring process for the doctors who regularly require surveys to be done, and the patients who have to participate in such surveys. “Measure Your Stress Level”, a multiplatform measurement game was made to induce the patients to participate in the survey more, and to offer the medical staff a more efficient data service (Fig. 1).

Fig. 1.
figure 1

Distress Thermometer and Problem List (Source: NCCN)

2 System Overview

2.1 Client-Server Model

This app is made by using a game engine called coco2d-js. Using the JavaScript properties, this engine supports cocos2d-html5 which is used for web app development and cococos2d-x which is used to develop native apps [3]. As a result, codes written in JavaScript can be outputted to web, iOS, android, exe file, resulting in a cross platform app.

The game is uploaded on a heroku server which is Paas (platform-as-a-service) base and provided to patients. After the game, the patient’s data is saved by going through a server with a node.js based express module and is automatically saved on DB. The saved data is passed to another URL address through the server’s router and there, it uses d3.js library to show the results using data visualization and is then offered to the medical staff (Fig. 2).

Fig. 2.
figure 2

App service model

2.2 Game Design

The game “Measure Your Stress Level” is the main game and comes with a bonus game called “Cancer Buster”, which is a stress-relieving game. The game’s overall structure is illustrated in the flowchart below (Fig. 3).

Fig. 3.
figure 3

Game flow chart

The Distress Thermometer and Problem List mentioned earlier is made up of 40 questions, and as it was a bit difficult to make one game scene for each question, the game uses 4 types of problem form to summarize the survey into 24 game scenes (Fig. 4).

In order to make the game less tedious, each question is made up of fun and cute images and a time limit is set so the survey can be processed more smoothly. If the time limit has passed, a doctor character shows up and asks if the player will end the game. Additionally, multiple sound effects are used to make the game livelier. After the game, the player’s stress level is shown as a result of the weighted sum of each question, and the result is shown by indicating one of the 9 levels, where each level is represented to the user with a fun sprite image.

After the result is shown, the game asks the user if they will play the bonus game, Cancer Buster. Cancer buster is an arcade game and the goal is to protect the healthy cells from the cancer cells.

Fig. 4.
figure 4

Measure your stress level’s problem form

Fig. 5.
figure 5

Cancer buster’s game characters

The game scene is processed as illustrated in Fig. 6 - the cancer cells can be removed by using click and touch. The healthy cells that have survived from cancer cells turn into a growing cell, and if the growing cells develop into a certain size, it changes into an organ. This is counted as a game score, and the player that saves the most organs goes to the top rank. The organ characters are used in cooperation with the National Cancer Center [4], and the organs where cancer is likely to occur are used as the characters (Fig. 5).

Fig. 6.
figure 6

Cancer buster’s game scenes

As the game continues, the cells continue to grow with the ratio of growing cells at 10 %, cancer cells at 40 %, normal cells at 50 %, thus making the game harder. Also, physics engine is used to calculate the cell’s collision so the cell’s movement is more natural [5].

3 Conclusion and Development Plan

The project’s main purpose was to gather data of cancer patients, so the game was designed to increase patient’s participation. Multiplatform game engine was used to make the game more accessible to patients, and the game is easy to understand due to its simplicity and intuitive interface. Also, fun and cute characters and images, along with appropriate sound effects, and a bonus game for stress relief were used to reduce the wearisome process of the original survey. It is expected to offer great support to the medical staff who have to gather the patient’s data on a daily basis. Currently, it is only a simple 2D game, but we are planning to develop it into a 3D game that can be played on a VR device. By doing this, we will focus more on the stressful situations that cancer patients go through.