JSR init
JSR loop
init:
; initializes values
JSR initSnake
JSR generateApplePosition
RTS
loop:
; primary game loop
initSnake:
; initializes the snake
generateApplePosition:
; generates the position of the apple