mercredi 9 janvier 2019

My question is about:why adding 0 in this context?

I am following an instructor creating tic tac toy game, to make it autoplay.

var r=Random()

val randInt=r.nextInt(emptyCell.size-0)+0

why adding +0?




Aucun commentaire:

Enregistrer un commentaire