The Art of War

Platforms

Sun Tzu - The Art of War

The Art of War by Sun Tzu, also known as Methods of War, is an ancient treatise on strategic thinking. Written around 480 BC its insights are still valuable today.

This text is based on the 1910 Giles translation.

You can issue commands for a random verse, or say previous, next, repeat, or help. You can pick a specific chapter and verse. You can also switch between a male and female narrator.

This is a chat bot. Chat bots are designed to send short messages back and forth with a user. The Narrator chat bot (used in Art of War) will read one verse at a time. It is interactive: to proceed through a conversation, you need to issue commands like 'next verse'. However, in an experimental capacity (on Google), it supports 'play', that will read the entire work on certain devices.

If you like this skill/action, and want to see more like it, become a Patron (click button in the right.)


Actions on Google


Commands
Talk to Art of War ...
Read any verse
Go to chapter 1 verse 1
Show next verse
Show previous verse
Talk in a male/female voice | Talk like a man|woman
Tell me about Sun Tzu | Art of War
Help me
Repeat that
Where am I
Play


Cortana

The Art of War is a retooling of the Tale Teller skill.  Tale Teller supported multiple books, chapters, etc. In the end - maintaining a catalog inside the skill was not a good idea.

Also, Art of War is a retooling of how I handle invocations. There really isn't a reason to use LUIS for something this basic so I replaced all triggers with regex scanners.

Commands
Hey Cortana...
Previous - previous verse
Replay - this verse
Next - next verse
Random - a random verse
What/Where - where am I
Chapter N Verse M - pick a chapter and verse
About - a quick about and link here
Help - help page

Developer Notes

It took about 2 hours to port Art of War from botframework/Cortana to Actions/Dialogflow.  There are a few enhancements.

Try via Webchat

2 comments:

  1. Someone who switches from poker as a desk sport to a video poker machine has a hard transition to make. I have have} been 메리트카지노 unable search out|to search out} wonderfully particular gaming reg, or something like it, in any other U.S. state’s gaming rules. And slot machine manufacturers don’t add pointless options to slot machines when they aren’t required.

    ReplyDelete
  2. Cafe Casino — Whether you’re looking to wager throughout a wide variety|all kinds} of table games, unique online slots, or 7 games of bingo while on the transfer, Cafe Casino could be the on line casino to make use of. Use the code “CCVIP” to claim your 250% welcome bonus 코인카지노 up to as} $3,000. Contrary to what you would possibly read on Reddit or other internet forums, you shouldn’t take disgruntled Canadian players’ phrases to coronary heart. Its slots selection features traditional 3-reel titles, bonus feature-enhanced video slots, spin-to-win, and progressive jackpots onerous to seek out|to search out} at other casinos.

    ReplyDelete