/cut-the-string

A browser based game looking at the challenges of minimally invasive vasculature surgery

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Cut the String

image

image

Follow scikit_surgery on twitter

Author: Stephen Thompson

cut-the-string is a browser based game developed to examine some of the challenges encountered in minimally invasive surgery. The game is developed using Bill Reed's Phaser and webpack tutorial

As of now the game is an incomplete prototype, tested on Google Chrome. You may try it out here.

cut-the-string is developed with the support of the Wellcome EPSRC Centre for Interventional and Surgical Sciences as part of the SciKit-Surgery software project.

Game Mechanics

The game is inspired by research into endoscopic mosaicking applied to fetal surgery to treat twin to twin transfusion syndrome. One treatment for this is to cut blood vessels within the placenta that allow the transfer of blood between fetuses. cut-the-string represents this treatment with an abstract string cutting game.

The player is presented with a screen showing a representation of two fetuses sharing a common blood supply. Some strings (or vessels) run from the common supply to a single fetus, some strings link the fetuses directly. The player is required to identify those linking strings and cut them, whilst avoiding strings that supply only one fetus, like in this video from GIFT-Surg.

The game progress through levels. The game mechanics remain the same, with the player being required to identify and cut string, however we progressively introduce more challenges to make it more like surgery. Something like:

  1. Level 0, only one string.
  2. Multiple strings.
  3. Strings are moving.
  4. Occlusion.
  5. Poor lighting
  6. Image noise.
  7. Partial visibility, as would be the case for endoscopic treatment.
  8. Finally we introduce mosaicking like in Tella et al. 2016 to explore how our research can address some of these challenges.

Target Audience

The game mechanics and appearance are intended to be suitable for all age groups. The scientific content is targeted at people interested in treatment for twin to twin transfusion syndrome or for endoscopic vasculature surgery more generally.

Using This Project

  1. Make a directory somewhere in your file system where you want to keep your project.
  2. cd into that directory from the command line.
  3. Clone this project with `git clone https://github.com/SciKit-Surgery/cut-the-string
  4. yarn install
  5. yarn run webpack
  6. yarn run webpack-dev-server
  7. Open up your browser to http://localhost:8080.

Because you are running the project through Webpack Dev Server, any time you make a change to your source code, the browser will automatically refresh with your updated code.

Copyright 2022 Stephen Thompson. cut-the-string is released under the BSD-3 license. Please see the license file for details.

Acknowledgements

Supported by Wellcome and EPSRC.