I have worked through a blackjack tutorial and its almost complete. The app works fine both on simulator and phone but I cannot get the money won or lost in the bet to add or deduct from the players bank.
The functions for this are located in the bank.swift and pot.swift classes.
In Game.scene swift the code to add to the player bank will go into line 212 and subtract from the player bank in line 216.
The link to the tutorial on Github is below.
Any help would be really appreciated