Giter Site home page Giter Site logo

1980dragon / tale Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neph1/llamatale

0.0 0.0 0.0 3.89 MB

Interactive fiction (text adventure) and Mud framework

Home Page: http://tale.readthedocs.io/

License: GNU Lesser General Public License v3.0

Shell 0.10% JavaScript 2.51% Python 96.47% CSS 0.20% Makefile 0.03% HTML 0.60% Batchfile 0.09%

tale's Introduction

This fork uses an LLM backend to describe things in a more vivid way. (LLM not included)

By default it uses KoboldCpp, but if you're feeling adventurous you can change llm_config.yaml in the tale/ folder to another one.

  1. Download repo, either with 'git clone' or as a zip.
  2. Run 'pip install -re requirements.txt'
  3. Start KoboldCpp (port 5001 by default)
  4. Start with python -m tale.demo.story

There are some other demo stories in the repo as well.

saythanks Build Status Latest Version

Tale logo

'Tale' - mud, mudlib & interactive fiction framework [frozen]

This software is copyright (c) by Irmen de Jong ([email protected]).

This software is released under the GNU LGPL v3 software license. This license, including disclaimer, is available in the 'LICENSE.txt' file.

Tale requires Python 3.5 or newer. (If you have an older version of Python, stick to Tale 2.8 or older, which still supports Python 2.7 as well)

Required third party libraries:

  • appdirs (to load and save games and config data in the correct folder).
  • colorama (for stylized console output)
  • serpent (to be able to create save game data from the game world)
  • smartypants (for nicely quoted string output)

Optional third party library:

  • prompt_toolkit (provides a nicer console text interface experience)

Read the documentation for more details on how to get started, see http://tale.readthedocs.io/

EXAMPLE STORIES

There is a trivial example built into tale, you can start it when you have the library installed by simply typing: python -m tale.demo.story

On github and in the source distribution there are several much larger example stories and MUD examples.

  • 'circle' - MUD that interprets CircleMud's data files and builds the world from those
  • 'demo' - a random collection of stuff including a shop with some people
  • 'zed_is_me' - a small single player (interactive fiction) survival adventure

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.