Implement the resign game button and a showToast function to display short messages to the user