Git Product home page Git Product logo

conway's Introduction

Conway's Multiplayer Game of Life

Conway's Multiplayer Game of Life (Conway) is a real-time, persistent, multiplayer version of Conway's Game of Life.

You can find a live version on lifecompetes.com.

Installation

Run grunt development or just grunt to set up the development environment. This will move the shared core files to the client/server directories and start an Express server.

  $ grunt development
  ...
  $ node app
  Conway started: 3000 (development)

Run grunt production to set up the production environment. This will minify/concatenate the Javascript/CSS.

If your NODE_ENV environment variable is set to production, Conway will run in production. I'm using NginX to serve static assets, so Express does not serve the public folder in production.

  $ grunt production
  ...
  $ NODE_ENV=production node app
  Conway started: 3000 (production)

To-Do

  • The method names need to be alphabetized.
  • An underscore prefix is currently used to denote methods which may be accessed outside of each module. Some non-prefixed methods should be prefixed, and vice-versa.
  • I'm using RequireJS on the server. This was a decision that made sharing the /core files easier, but there must be a better way of sharing these files that lets me use CommonJS on the server and RequireJS on the client.

conway's People

Contributors

cben avatar drewblaisdell avatar sheershoff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

conway's Issues

Feature: Add hover usernames for cell

Because folks can come on, pwn you, and leave, it would be really nice to be able to hover over a cell and see who pwnd you while you went to get a pastry.

Highlight cells on board on mouse over

When the user hovers "CELLS ON BOARD", either his own, or in the "players online" table, these cells should be highlighted on the field. Possibly, the rest of the field can be dimmed.

Feature: Add greyed out reflections to edges

It would be nice, since the layout is a torus, to show the opposite edges in a greyed out (so you don't try to click them) state, which would allow you to make better decisions with edge cells. I think 2-3 rows would suffice on top and bottom but the side edges could fill the empty edges and fade out the sides...

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.