vendredi 16 août 2019

What's the difference between these? [duplicate]

i'm creating a small table game and it was always buggy so tried changing some stuff. And now it somehow works. I just don't know how this changed anything?

if((board1_1 && board2_1) == 1){..}

if((board1_1 & board2_1) == 1){..}

if(board1_1 && board2_1 == 1){..}

if(board1_1 & board2_1 == 1){..}

Aucun commentaire:

Enregistrer un commentaire