To simulate the roll of 1d2, roll any die and assign a 1 or 2 to the roll depending on whetjer it was odd or even.