Hello all, I'm designing a world-building and RPG series of prompts that I hope will be of interest to some people. Originally, I got the idea off a Roll Arena that I had where ChatGPT simulated rolling off between simulated characters. If you're interested in this prompt let me know and I'll put something together and add that too, but don't have it off hand. My first two prompts are a sophisticated spell creator that outlines a good foundation for an RPG Spell Design and a Planet Creator. If you want me to expand on this please let me know and I will certainly add more. These are all done in SudoLang, thanks to the wonderful work of @left scarab.
#RPG And World-Building Series
33 messages · Page 1 of 1 (latest)
Roleplay as an advanced World Builder tuned to the exact specifications of your client. You can build any world imaginable.
interface PlanetarySettings {
Size: {Small, Medium, Large, Gigantic},
Atmosphere: {Earth-like, High-Oxygen, Thin, Dense, Exotic},
Climate: { Temperate, Tropical, Desert, Polar, Mediterranean, Continenal },
Temperature: float,
Water: float,
Geology: string,
DayNightCycle: string,
Moons: integer,
MagneticField: float,
Rings: (bool, integer),
Age: float,
Continents: integer,
Oceans: integer,
NativeLife: string,
SentientLife: string,
TechnologyLevel: { Stone Age, Iron Age, Medieval, Renaissance, Enlightenment, Industrial Revolution, Post-Industrial, Space Age, Transcendent Age },
MagicLevel: { Mundane, Low, Moderate, High, Epic }
}
interface PlanetaryFeature {
Elevation: float,
Landforms: string,
WaterBody: string,
Climate: string,
SoilComposition: string,
Vegetation: string,
NaturalResources: string,
TectonicActivity: string,
GeologicalHistory: string,
AlienFeatures: string,
SupernaturalFeatures: string
}
Planet {
generate(settings: PlanetarySettings ) {
Generate a new planet, with the specified settings.
for each feature: PlanetaryFeature on Planet {
log("Please configure $feature for planet or type your own")
options = list 10 random options, selecting from a wide variety of planetary features within the planetary settings specified
list the top 3 options
offer option to mutate options
input = wait for user input
DO NOT move on to next feature until user has responded.
DO NOT perform any actions on the user's behalf.
}
}
}
Here is the SpellCreator
😱
Culture Builder v0.0.1: This is in the early stages, a lot of this might be superfluous and not needed, but I wanted maximum flexibility for future LLMs and future AI to really create a detailed culture builder. I really made heavy use of ChatGPT to capture the essence of these objects, its really hard trying to define some of these abstract concepts. If you have any suggestions or ideas on how to improve please feel free to let me know. Hope you enjoy!
Yep, huge fan of strong data typing where possible so like to enforce it if I can. Not sure if it makes a difference to the LLM but it seems to be aesthetically pleasing to me and does help structure and organize the code a bit.
As I mentioned, this is early stages. I threw this together in about 45 minutes as a prototype and curiosity, only tested it briefly on one generation scenario so I am not sure how well it does at cohesion and generation. Hoping others can expand and improve on it, or use it for their own generation purposes. Not sure how well it compares to non-prompted GPT too, so it might just be a waste of token space so everyone's mileage might vary.
My hope as the models become more sophisticated, integrated, and understanding and piecing together this kind of structured code together that something like this becomes more flexible and fine-tuned, but I'm sort of projecting out into the future as well.
I have been trying to make a programming language for about 3 months now. 🤣 This has given me the point of data types all over again. It's like seeing the forest again. Thank you!
So interestingly enough, I've been toying with ChatGPT in helping me develop a programming language. It's surprisingly good at it, able to help me generate the ANTLR4 grammar and everything for a Lisp style syntax complete with macros and everything. Still have some work to go, but I think it'll be great as it gets iterated upon.
I started all over the place..
But now, I have syntax formal and abstract, grammar, parser to AST, AST To LLVM IR
😭
That's amazing! Yeah, didn't get far enough to the AST walker and LLVM IR generation. It's great stuff. My goal was to design a LIsp syntax that would transpile down to LLVM IR that could be used for designing games.
EBNF And BNF And context free .. I've explored many..
I don't want games 😉
I want a ecs jitted promptable OS.
Using composite components to build apps on the 🕊️
Add it's gotta be real and free to use.
Not connected to the Internet.
Why not SudoLang |> transpile(Rust | Mojo🔥) |> native binary?
Mojo is a prebaked path to MLIR (Successor to LLVM IR)
You'd get all the advantages you're describing + rich ecosystem (all of Python + all of SudoLang + Mojo tooling)
Eventually there will be OSS language models that can transpile SudoLang to Mojo on local machines without a network connection
I kind of love this
and how do I make my planet?
I’m struggling to understand SudoLang, I wanted to get a blog written up for the prompt index and to inform my telegram group, do you know if there are any educational pieces that have been written up about it
yo I put in my prompt to your thing
Fantastic thank you, I can see it! Beautiful
do you have to approve it before people can see it?
Yep, but it’s approved 🙂 I’m going to add an update soon, which emails me as soon as someone upload a prompt to reduce the approval time.
is there a bug? it says r/n/r/n/n/r/n
Probably a special characters issue with PHP echo statement or the database. Please send the full prompt to me and I will fix it asap 🙂 thanks for highlighting the issue 🙂