function renderActivityFrame() {
    snakeboard_ctx.clearRect(0, 0, snakeboard.width, snakeboard.height);
    foods.forEach(f => f.render(snakeboard_ctx));
    snake.render(snakeboard_ctx);
}
/**
 * Render continuously updating activity frame(s)
 * 
 * DO NOT put static frame (which is rendered once or occasionally) here
 * without a condition check
 */
Render continuously updating activity frame(s)

DO NOT put static frame (which is rendered once or occasionally) here
without a condition check
Render continuously updating activity frame ( s ) DO NOT put static frame ( which is rendered once or occasionally ) here without a condition check
function renderActivityFrame() {
    snakeboard_ctx.clearRect(0, 0, snakeboard.width, snakeboard.height);
    foods.forEach(f => f.render(snakeboard_ctx));
    snake.render(snakeboard_ctx);
}
function renderActivityFrame ( ) { snakeboard_ctx . clearRect ( 0 , 0 , snakeboard . width , snakeboard . height ) ; foods . forEach ( f => f . render ( snakeboard_ctx ) ) ; snake . render ( snakeboard_ctx ) ; }
Render continuously updating activity frame(s)
Render continuously updating activity frame ( s )