Skip to content

Instantly share code, notes, and snippets.

@alternayte
alternayte / gist:0b85cba02a3cb8134401d65901e3ba73
Created November 28, 2023 06:34 — forked from levelsio/gist:5bc87fd1b1ffbf4a705047bebd9b4790
Secret of Monkey Island: Amsterdam (by @levelsio) or how to create your own ChatGPT image+text-based adventure game
# 2023-11-27 MIT LICENSE
Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com.
It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town.
Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same!
Send me your ChatGPT text adventure game on X, I'd love to try it!
@alternayte
alternayte / react-markdown-toc.tsx
Created June 6, 2022 17:30 — forked from sobelk/react-markdown-toc.tsx
React Markdown TOC Proof-of-Concept
/*
This is based on an idea for building a table of contents on top of
React Markdown using a custom renderer. The original conversation is at
https://github.com/remarkjs/react-markdown/issues/48
*/
import React from "react";
import ReactMarkdown from "react-markdown";
@alternayte
alternayte / introspection-query.graphql
Created June 4, 2022 14:41 — forked from craigbeck/introspection-query.graphql
Introspection query for GraphQL
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {