Welcome to World of Wordcraft, a multiplayer game where players combine words to create new ones and compete for the highest score based on word similarity.
- Local Multiplayer: Connect and play with others over a Local Area Network (LAN) using TCP sockets.
- Dynamic Scoring: Earn points based on the similarity between your created words and target words.
- Language Model Integration: LLaMA language model for generating words.
- Online Multiplayer Support: Expand the game to support online play beyond LAN.
- Better Gameplay: Enhance the scoring system and gameplay mechanics.
- Pre-trained Model: Update the LLaMa model to a pre-trained version for improved word generation.
- Python 3.+
- Required Python Packages:
numpy
scikit-learn
pysqlite3
replicate
tkinter
-
Set Replicate Token via Command Line
export REPLICATE_API_TOKEN=your-token-here
-
Set Replicate Token in Python Script
- Alternatively, add your Replicate API token in your Python script:
import os os.environ['REPLICATE_API_TOKEN'] = 'your-token-here'
- Alternatively, add your Replicate API token in your Python script:
This game was inspired by the Infinite Craft game. Check it out!