Skip to content

Instantly share code, notes, and snippets.

View KartSriv's full-sized avatar
👯‍♀️
Busy boi

Kart KartSriv

👯‍♀️
Busy boi
  • Earth, Milky Way
View GitHub Profile
@jamalex
jamalex / notion_task_manager.py
Created January 17, 2019 07:14
Notion task manager toy example
import datetime
import random
import time
from multiprocessing import Lock
from notion.client import *
from notion.block import *
mutex = Lock()
@straker
straker / README.md
Last active May 30, 2024 15:51
Basic Snake HTML and JavaScript Game

Basic Snake HTML and JavaScript Game

Snake is a fun game to make as it doesn't require a lot of code (less than 100 lines with all comments removed). This is a basic implementation of the snake game, but it's missing a few things intentionally and they're left as further exploration for the reader.

Further Exploration

  • Score
  • When the snake eats an apple, the score should increase by one. Use context.fillText() to display the score to the screen