Code Monkey home page Code Monkey logo

Comments (5)

uristjack avatar uristjack commented on June 17, 2024 2

HAHAHA I'm finished!

That final stretch was quite painful - considering I decided the best thing to do was code the largest part of the generator in three days.

But I'm done. I have a PDF example here, at ~73k words. I'm pretty pleased with this, myself!

from 2016.

uristjack avatar uristjack commented on June 17, 2024 1

I've got 15 crimes altogether.

  • Murder by knife
  • Murder by strangulation
  • Murder by inducement to suicide (think persuasion + insults)
  • Appropriation of will by blackmail
  • Appropriation of will by a threat with a revolver
  • Appropriation of will by being drugged
  • Appropriation of secrets by spying
  • Appropriation of secrets by extortion
  • Appropriation of secrets by confidence abuse
  • Appropriation of sex by seduction
  • Appropriation of sex by buying favours
  • Appropriation of sex by rape
  • Appropriation of money by being mugged by revolver
  • Appropriation of money by scam (probably a rigged gambling game)
  • Appropriation of money by selling counterfeit goods

Also, I have a repository for it here: Crime Write - My NaNoGenMo2016.

from 2016.

uristjack avatar uristjack commented on June 17, 2024

OK, so I have a plan.

Here's the structure:

  • Plot of crimes generated
  • Plot turned into event structures
  • Random characters generated
  • Event structures filled out with random characters and generated sentences
  • [MAYBE] Generated stories in LaTeX format, turned into PDF

If I can create a complicated enough plot I figure 50k words should be easy!

from 2016.

uristjack avatar uristjack commented on June 17, 2024

I can't figure out how to generate random characters, and keep them consistent. Rather than doing what I should do, and be intelligent and figure out the problem, I'm going to reframe the situation - which means no problem!

Since each of my crimes have two characters - an aggressor and a victim - I can merely say that this is a multiverse, where in each universe a different crime occurs. So in Universe 1, John shoots Jane, in Universe 2, he stabs her instead, etc. etc.

from 2016.

uristjack avatar uristjack commented on June 17, 2024

OK, So I have finished my second part of my story compiler.

It takes the event template (AKA the plot) generated by storygen.py, and turns them into paragraph templates, filled with placeholder sentences. The next program I need to create is something that turns these placeholders into sentence templates. And after that, I need to take the sentence templates and generate sentences from them. In LaTeX output, so I can automatically turn it into a nice looking PDF.

from 2016.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.