Gambling implies that there is risk involved. If money is not exchanged between the host and the player, there is no risk. So, playing any demo casino game is not considered gambling. It is wholly recreational and legal.