Coder Social home page Coder Social logo

riverside-jianghu's Introduction

riverSide-JiangHu

「桃李春风一杯酒,江湖夜雨十年灯」

江湖夜雨

「霭霭停云,濛濛时雨」

structure

  • Music
    • .band files created by Garage Band and @author by @meteorode
  • Swift Projects
    • assets
    • code
      • pure Swift
    • data
      • scripts and other data, see principle for details.
    • docs

principle

  • using .lean as script file
  • using SwiftUI to draw UI
  • using XCode to manage assets, data, etc.
  • using CoreData to parse the data
  • using CoreML to generate contents
  • using MidJourney to generate images
  • using Reigns like swipe to make choices.
  • using huggingface to train scripts from wuxia novels
    • at version 0.1, We'll set scripts manually
    • using supervised RL to train the model
  • using 16Personalities and two Wuxia attributes (royalty and kind) to define persona.

mvScript

Intro

// mvScript is short for melodyVerse Script

  • mvScript is somehow like basic, our syntax is like this:
    • define constants and marco in $yourname.h

    • write command in .md file with markdown syntax

    • in JiangHu, we'll first support those commands:

      • $name move to [loc]
      • $name talk to $name
      • $name say [sth]
      • $name meet $name
      • $name like $name
      • $name love $name
      • $name engage with $name
      • $name hate $name
      • $name fight with $name
      • $name gain [treasure]
      • $name learn [skill]
      • $name beat $name
      • $name kill $name
      • $name marry $name
      • $name die
    • And we'll support boolean/String/Int like this:

        var isMeteor = true
        let currentChar = "wuming"
        var hp = 120

Sample

// test.md

    let currentChar = "吴茗"
    let currentCity = "江城"
    if currentChar.age == 20:   // 少年出山
        $currentChar move to $currentCity 

riverside-jianghu's People

Contributors

meteorode avatar

Stargazers

 avatar

Watchers

 avatar

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.