Sign up to save tools and stay up to date with the latest in AI
bg
bg
1

Ask HN: Ideas for LLM-Based Games

May 02, 2024 - news.ycombinator.com
The author has developed a JavaScript library for creating game NPCs using LLM. The library, which can be found on GitHub, allows users to input knowledge into a file, such as .txt or .html, which the library then uses to learn everything in the file. This can include information such as shop inventory and prices for vendor characters, or knowledge that a player must uncover for storyteller or quest-giver characters.

The library uses LLM for natural sounding conversations and instructions, allowing characters to "speak in the style of..." certain characters or personas. This makes the NPCs more realistic and interactive, enhancing the overall gaming experience. The author provides a video demo for a better understanding of how the library works.

Key takeaways:

  • The author has built a JavaScript library for creating LLM-based game NPCs.
  • The library uses a file, like .txt or .html, to learn all the knowledge about the NPC.
  • The library can be used to create different types of NPCs, like vendors or storytellers/questgivers.
  • The library uses the LLM for natural sounding conversations and instructions.
View Full Article

Comments (0)

Be the first to comment!