Stick-Hero-Swift
Stick-Hero-Swift copied to clipboard
Code suggestion
I notice that in GameViewController.swift that when it tries to play a sound it prints NO AUDIO PLAYER. Instead maybe we could use a UIAlert Controller telling the user that sound is not working.
I notice that in GameViewController.swift that when it tries to play a sound it prints NO AUDIO PLAYER. Instead maybe we could use a UIAlert Controller telling the user that sound is not working.
Yep, right! We should fully-tested In pre production, and If audio files not exist we should send error message to our server instead of alert message to user, that will be better for user, this program just demonstrate, very good suggestion!
I notice that in GameViewController.swift that when it tries to play a sound it prints NO AUDIO PLAYER. Instead maybe we could use a UIAlert Controller telling the user that sound is not working.
Yep, right! We should fully-tested In pre production, and If audio files not exist we should send error message to our server instead of alert message to user, that will be better for user, this program just demonstrate, very good suggestion!
That's even better so that we can handle it. But quick question, do we already have servers or do we need to add some? And if we need to add some i suggest that we use firebase.