Giter VIP home page Giter VIP logo

lettero's Introduction

Deprecated in favor of elm-gameroom, which this project inspired.

Lettero

Build Status Standard - JavaScript Style Guide

A mildly frustrating, yet somehow delightful multiplayer word game. Click on the first letter of a word that is written in a circle. Now try to make it faster than your opponent. Watch out for mental blocks. Enjoy!

Jumpstarted with the generous support and encouragement of Airtame, during a hackathon. Carried on as a weekend project afterwards.

This is a front-end focused project that experiments with multiplayer games made in Elm. The back-end recently migrated from a tiny Express-concoction into a Google Firebase server.

Some of the interesting bits:

  • use one of the clients as judge/game state reconciler, calling rounds and deciding on winners without back-end logic.
  • stateful(ish) Elm modules, managing their own network requests and other effects through the parent's update function, but without the parent knowing anything about the internals. In other words, we got ourselves some fully encapsulated model-update-view-command-subscription modules inside their parent model-update-view-command-subscription.
  • COMING UP: how do we make this into a game engine? Can we refactor the code

Run locally

Install dependencies as per ./travis.yml. Run ./dev.sh.

The app relies on the following Firebase database:

{
  "rooms": {},
  "roundData": {
    "words": {
      "binge": "",
      "hedgehog": "",
      "staircase": "",
      "rollercoaster": "",
      "otherwords": ""
    }
  }
}

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.