Skip to content

Instantly share code, notes, and snippets.

View iamevn's full-sized avatar

Evan Minsk iamevn

View GitHub Profile
@jacopocolo
jacopocolo / guide.md
Last active January 13, 2024 23:30
Making a Bitsy game compatible with the Nintendo 3ds browser

The Nintendo 3ds browser is capable of running Bitsy games! And it's a delightful Bitsy machine.

To make games compatible, we just need to teach the 3ds browser to speak the language Bitsy is written in: modern Javascript!

To do that we need two things:

  1. The html page that contains your game
  2. A <script> </script> html element we'll add at the top of the page that translates modern Javascript to somewhat Javascript.

The whole script element is here. Just select the whole thing and copy.

@zaneneuschuler
zaneneuschuler / discordcrosspost.py
Last active March 5, 2022 05:02
Twitter to discord crossposting bot
import peony
import asyncio
import discord
import os
def cls():
os.system('cls' if os.name=='nt' else 'clear')
twitter_client = peony.PeonyClient(
consumer_key=YOUR_KEY_HERE,
@GreenLightning
GreenLightning / 19392494.lua
Created June 16, 2015 19:00
TIS-100 PRIME DETECTOR SPECIFICATION
-- For anyone who liked the PRIME DETECTOR puzzle included in some of the early access
-- builds of TIS-100...
-- INSTALLATION: Copy everything in this file. Open TIS-100. Go to the SPECIFICATION
-- EDITOR. Click on IMPORT SPECIFICATION FROM CLIPBOARD. Done!
-- The function get_name() should return a single string that is the name of the puzzle.
--
function get_name()
return "PRIME DETECTOR"