Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/privatedennis/infinitygame
Craft infinit items with the help of AI based on idea of neil.fun
https://github.com/privatedennis/infinitygame
bootstrap4 crafting-game game infinite-craft javascript jquery llama localhost ollama php8
Last synced: about 1 month ago
JSON representation
Craft infinit items with the help of AI based on idea of neil.fun
- Host: GitHub
- URL: https://github.com/privatedennis/infinitygame
- Owner: PrivateDennis
- Created: 2024-02-22T20:55:41.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-02-23T22:27:06.000Z (9 months ago)
- Last Synced: 2024-10-12T23:24:46.943Z (about 1 month ago)
- Topics: bootstrap4, crafting-game, game, infinite-craft, javascript, jquery, llama, localhost, ollama, php8
- Language: PHP
- Homepage:
- Size: 1.01 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Infinity Game
###### 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.![screenshot01.png](public%2Fassets%2Fimages%2Fscreenshot01.png)
![screenshot04.png](public%2Fassets%2Fimages%2Fscreenshot04.png)
### no Database required, simple and easy caching.### my todo list:
* ### implementing config for credentials and endpoint of desired language models
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.
* ### add some more love to ui and elements
will add some sounds and animation.
* ### make new discoveries personal
once this game is online, would be nice if there is a list of users who have discovered new items.
* ### hints
before users get bored give them a hint how to discover what ever they like to discover.
* ### bugfixes and much much more ...## Quickstart
To run and play, all you need is a local language model. Head over to [Ollama](https://github.com/ollama/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