Advertisement

Latest Food Activity

Alberth
April 10, 2021 06:25 AM

Freezing and pulling 100% at a CPU typically means you're running circles while computing something and never finish. One such case is in the spawn food code:

/*Choses a position at random anywhere on the play grid, execpt for the edges or the space which the
 * snake head occupies.*/
do { foodGridP…
4,806 views
Advertisement
Advertisement
Advertisement