Juicy Squash - Match-3 Game
           import Felgo 4.0
 import QtQuick 2.0
 SceneBase {
   id: scene
   property alias gameNetwork: gameNetwork
   GameNetworkView {
     id: gameNetworkView
     anchors.fill: scene.gameWindowAnchorItem
     
     showAchievementsHeaderIcon: false
     onBackClicked: {
       scene.backButtonPressed()
     }
   }
   FelgoGameNetwork {
     id: gameNetwork
     
     gameId: 168
     secret: "juicySquashDevPasswordForVPlayGameNetwork"
     gameNetworkView: gameNetworkView
     onNewHighscore: {
       if(!isUserNameSet(userName)) {
         NativeUtils.displayTextInput("Congratulations!", "You achieved a new highscore. What is your player name for comparing your juicy scores?", "")
       }
       else {
         NativeUtils.displayMessageBox("Congratulations!", "You achieved a new highscore of "+gameScene.score+" points.", 1)
       }
     }
   }
   Connections {
     target: NativeUtils
     function onTextInputFinished(accepted, enteredText) {
       if(accepted) {
         var validUserName = gameNetwork.updateUserName(enteredText)
       }