Coder Social home page Coder Social logo

bdbch / wordle-wars Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ctnicholas/wordle-wars

0.0 1.0 0.0 532 KB

Multiplayer Wordle clone built with Liveblocks in Vue/Vite

Home Page: http://wordlewars.ctnicholas.dev

HTML 1.47% Vue 27.29% TypeScript 69.46% CSS 1.51% JavaScript 0.26%

wordle-wars's Introduction

This repo shows how to build a multiplayer Wordle clone with Liveblocks, Vue, and Vite.

Wordle wars screenshot

It's forked from VVowrdle created by Evan You (@yyx990803), with some multiplayer and extra styling added. You can only see your opponent's letters after you've got the word of the day. Scores are saved at the end of the war, and a new Wordle becomes available at UTC±00:00 every day. It features a dark mode and a colourblind mode.

Wordle wars screenshot

This repository is open sourced for learning purposes only - the original creator(s) of Wordle own all applicable rights to the game itself.

Getting started

Run examples locally

  • Install all dependencies with npm install

  • Create an account on liveblocks.io

  • Copy your public key from the administration

  • Create a file named .env.local and add your Liveblocks secret as environment variable VITE_LIVEBLOCKS_PUBLIC_KEY=sk_test_yourkey

Run examples on CodeSandbox

  • Open this repository on CodeSandbox with this link

  • Create an account on liveblocks.io

  • Copy your public key from the administration

  • Create secret named VITE_LIVEBLOCKS_PUBLIC_KEY with the secret key you just copied. You need to create an account on CodeSandbox to add an environment variable.

  • Refresh your browser and you should be good to go!

More with Liveblocks

Adding live cursors to Next.js Build a live piano Build a live basket

wordle-wars's People

Contributors

ctnicholas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.