inspired by: neal.fun - check out his page with mor wonderful work of him. https://neal.fun/
Craft infinite items with help of ollama or any other language model. For now this project is very small and kind of generic, but I hope to improve over time.
- for now this game requires local language model the endpoint is hardcoded since this game is only a view hours old, from scratch to this version.
- will add some sounds and animation.
- once this game is online, would be nice if there is a list of users who have discovered new items.
- before users get bored give them a hint how to discover what ever they like to discover.
To run and play, all you need is a local language model. Head over to Ollama to learn more about installing and running a local language model.
smack a copy of this as a brand new project like myInfinityGame on your machine and run
composer install
Start your language model set your endpoint in .config file client class - infiniteGame/Controller/Ollama/Client.php
APP_NAME="Infinity Game"
APP_VERSION="1.0.0"
IG_ENDPOINT="http://127.0.0.1:11434"
IG_PATH="/api"
IG_LANGUAGE_MODEL="openchat:latest"
start your wampp, xampp, whatever you run php with run index.php on your local machine i.e. http://localhost:63342/myInfinityGame/ and have fun.
Would love to see your version / improvements