Code Monkey home page Code Monkey logo

persona5-prolog's Introduction

Persona 5 data

Persona 5 data, expressed in prolog terms.

Example

These terms enable one to answer fusion challenges during the game. For example, the Twin Wardens may ask for a Ame-no-Uzume persona with the "dodge psychic" skill.

So who has this skill?

?- skilled_at(dodge_psychic, _, P).
P = [jatayu, kin_ki, koh_i_noor].

Well, OK. I only have Jatayu.

?- skill(jatayu, _, dodge_psychic, L).
L = 33 .

Looks like I need to raise Jatayu to level 33 to get this skill.

What combinations lead to Ame-no-Uzume with Jatayu?

?- fuse(jatayu, P, ame_no_uzume).
false.

Welp. No direct combinations are possible. OK. Can I fuse Jatayu with something else, and with the resulting persona, fuse again to produce Ame-no-Uzume?

?- findall([N, M, O], (fuse(jatayu, N, M), fuse(M, O, ame_no_uzume)), P).
P = (...a lot of results...)

Most of these fusions are at a high level. What's the cheapest way, though?

?- lowest_level_fusion(jatayu, ame_no_uzume, Z).
Z = [arsene, yaksini, fuu_ki] .

Great. So, the cheapest way: fuse Jatayu with Arsene to produce Yaksini. And Yaksini fused with Fuu-ki will produce Ame-no-Uzume.

persona5-prolog's People

Contributors

cantsin 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.