vendredi 21 décembre 2018

Rand generating the same result everytime I run the program

I am making a maze game with random generating entrance and exit. But the entrance and the exit are in the same position every time i run.

I have used several forms of rand and srand but never succeded.

Here are what the program generates. In the first execute: Imgur In the second execute: Imgur




Aucun commentaire:

Enregistrer un commentaire