User Tools

Site Tools


notes:comporg:spring2024:projects:cta0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:comporg:spring2024:projects:cta0 [2024/03/04 16:09] – [Collision With Food] wgates1notes:comporg:spring2024:projects:cta0 [2024/03/04 16:12] (current) – [Collision With Food] wgates1
Line 84: Line 84:
     ile R11, 48     ile R11, 48
     jf R11, _no_collision ; If false then go to _no_collision     jf R11, _no_collision ; If false then go to _no_collision
- 
-    ; If we get here then new spawn for apple and R increases by 1 
 </code> </code>
  
-     +Here, we are simply just checking the difference we got for the X and Y values and then either jumping out of this check because they are not in contact or falling through to what will happen if we are in contact with the food. 
- +
 ====Text Area==== ====Text Area====
  
notes/comporg/spring2024/projects/cta0.1709568586.txt.gz · Last modified: 2024/03/04 16:09 by wgates1