ido.wtf Where’s The Food?

Silly programming challenge: Choose randomly -1 or 1

C#

Silly programming challenge: Choose randomly -1 or 1

My friend Aviv, a fellow Unity developer, and me were trying to figure out how many different significant ways we can come up with to solve the simple problem of choosing a random value. You can try this silly challenge yourself, or jump right to our solution. Let me know if you found other solutions. […]

MORE ...