Code Monkey home page Code Monkey 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

drewblaisdell avatar

Watchers

 avatar  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.