This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2023/06/24 14:07:41 illegal base64 data at input byte 3 | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal SIGSEGV: segmentation violation code=0x2 addr=0x38 pc=0x100c22ac0] | |
goroutine 1 [running]: | |
google.golang.org/protobuf/proto.UnmarshalOptions.unmarshalMessageSlow({{}, 0x1, 0x1, 0x0, {0x10108bb38, 0x1400009a180}, 0x270f}, {0x140002e8290, 0x10, 0x10}, ...) | |
/Users/alter-nate/go/pkg/mod/google.golang.org/protobuf@v1.28.1/proto/decode.go:132 +0x90 | |
google.golang.org/protobuf/proto.UnmarshalOptions.unmarshal({{}, 0x1, 0x1, 0x0, {0x10108bb38, 0x1400009a180}, 0x270f}, {0x140002e8290, 0x10, 0x10}, ...) | |
/Users/alter-nate/go/pkg/mod/google.golang.org/protobuf@v1.28.1/proto/decode.go:111 +0x228 | |
google.golang.org/protobuf/proto.Unmarshal({0x140002e8290, 0x10, 0x10}, {0x10108a348?, 0x140001d1540?}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query IntrospectionQuery { | |
__schema { | |
queryType { name } | |
mutationType { name } | |
subscriptionType { name } | |
types { | |
...FullType | |
} | |
directives { |