Skip to content

Multiplayer game where players combine words to create new ones and compete for the highest score based on word similarity

License

Notifications You must be signed in to change notification settings

hadson0/World-of-Wordcraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

World of Wordcraft

World of Wordcraft

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

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

Prerequisites

  • Python 3.+
  • Required Python Packages:
    • numpy
    • scikit-learn
    • pysqlite3
    • replicate
    • tkinter

Configuration

Setting Up LLaMA

  1. Set Replicate Token via Command Line

    export REPLICATE_API_TOKEN=your-token-here
  2. 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'

Acknowledgments

This game was inspired by the Infinite Craft game. Check it out!

About

Multiplayer game where players combine words to create new ones and compete for the highest score based on word similarity

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages