A downloadable project

The Fabled Deck of Fate

Created by David Melhart and Antonios Liapis.

Live version: https://deck-of-fate.davidmelhart.com/

===

The Fable Deck of Fate is a procedural generator of creepy or psychedelic story-hooks based on Magic: The Gathering cards. 

The card descriptions are based on pre-trained ResNet50* predictions, augmented by labels generated based on the colour palette, brightness, and Shannon entropy of the image as well as relevant words pulled from ConceptNet

To keep some consistency the words from ConceptNet are sorted and weighted based on their distance from the core labels using Word2Vec. During generation words are pulled for the "canon" of the story and a "threat". These words are vetted again based on their semantic similarity to the type of the card (the metric is maximized for the "canon" and minimized for the "threat").

The whole description is strung together using Tracery.

===

* as is implemented in Keras.

Disclaimer: Wizards of the Coast, Magic: The Gathering, and their respective logos are trademarks or registered trademarks of Wizards and its affiliates in the United States and elsewhere.

Download

Download
deck-of-fate.zip 26 MB

Install instructions

To run locally:

  • Unzip
  • Install PHP
  • Run a local PHP server from the root folder
    (php -S localhost:8000)
  • Navigate to: http://localhost:8000/ in your browser

Leave a comment

Log in with itch.io to leave a comment.