feat: quick scaffolding for game window

Init: Created initial NPC data structures
UI: Created basic ncurses TUI for development
Types: Created basic helper types
This commit is contained in:
Zhongheng Liu 2024-10-22 21:08:43 +03:00
commit 8b6b1f1ac0
Signed by: steven
GPG key ID: DC8F48E7B4C40905
8 changed files with 159 additions and 22 deletions

18
mknpcs.go Normal file
View file

@ -0,0 +1,18 @@
package main
import (
. "gitlab.com/stvnliu/ai_game/utils/types"
)
func MakeNpcs() []Npc {
npcs := []Npc {}
helper01 := Npc{
Name: "Helper01_NPC",
Ai: NpcAi{
PromptCharacterString: "You are a new helper assisting new players of a role-playing game set in $SCENE$, in a village called $VILLAGE$. With the information immediately preceeding, output only what you would say to a new player who just arrived in the village to provide helpful guidance.",
QueryFromTableName: "helper",
},
}
npcs = append(npcs, helper01)
return npcs
}