Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.05 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.05 KB

Moriarty

Overview

Moriarty is an experimental text-based game, guessing murderer of fictional crime scene. Content creation and game playing are supported LLM, thorugh Semantic Kernel.

Prerequistes

How to run (for devleopment)

  1. Set OpenAI API key to dotnet user-secrets as below.
$ dotnet user-secrets init --project Moriarty.Web
$ dotnet user-secrets set --project Moriarty.Web "OpenAI:ApiKey" "<OPENAI_API_KEY>"
  1. (Optional) Change path of SQLite database file.
$ export ConnectionStrings__DefaultConnection="Data Source=<NEW PATH>"
  1. Initialize database by dotnet ef
$ dotnet-ef --project Moriarty.Web database update
  1. Build and run
dotnet run --project Moriarty.Web
  1. Check the http://localhost:5229 by your preferred web browser.