Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hadson0/world-of-wordcraft
Multiplayer game where players combine words to create new ones and compete for the highest score based on word similarity
https://github.com/hadson0/world-of-wordcraft
game llama multiplayer-game python sockets tcp tkinter word-game
Last synced: 29 days ago
JSON representation
Multiplayer game where players combine words to create new ones and compete for the highest score based on word similarity
- Host: GitHub
- URL: https://github.com/hadson0/world-of-wordcraft
- Owner: hadson0
- License: mit
- Created: 2024-08-22T01:20:34.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-22T19:02:00.000Z (3 months ago)
- Last Synced: 2024-10-10T17:41:32.113Z (29 days ago)
- Topics: game, llama, multiplayer-game, python, sockets, tcp, tkinter, word-game
- Language: Python
- Homepage:
- Size: 530 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# World of Wordcraft
![World of Wordcraft](client/assets/logo.png)
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.
## Table of Contents
- [World of Wordcraft](#world-of-wordcraft)
- [Table of Contents](#table-of-contents)
- [Features](#features)
- [Future Improvements](#future-improvements)
- [Screenshot](#screenshot)
- [Prerequisites](#prerequisites)
- [Configuration](#configuration)
- [Setting Up LLaMA](#setting-up-llama)
- [Acknowledgments](#acknowledgments)## Features
- **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.## Future Improvements
- **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.## Screenshot
![Screenshot](client/assets/game_screenshot.png)
## Prerequisites
- **Python 3.+**
- **Required Python Packages:**
- `numpy`
- `scikit-learn`
- `pysqlite3`
- `replicate`
- `tkinter`## Configuration
### Setting Up LLaMA
1. **Set Replicate Token via Command Line**
```bash
export REPLICATE_API_TOKEN=your-token-here
```2. **Set Replicate Token in Python Script**
- Alternatively, add your Replicate API token in your Python script:
```python
import os
os.environ['REPLICATE_API_TOKEN'] = 'your-token-here'## Acknowledgments
This game was inspired by the [Infinite Craft](https://neal.fun/infinite-craft/) game. Check it out!