Giter Club home page Giter Club logo

game-of-life's Introduction

Intro :

Read the rules of the game their : https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life This Implementation was developped with Ruby 2.2.1 by Rémi Meunier

  • You can find the implementation of the game under ./app/game_of_life
  • The console ploting was not optimized, and the console interaction is not proofed. Please enter the input as specify, or it may break
  • The univers is expendable, and we will always print the full known univer. The known univer is every point inbetween of the center of the univer (0,0) and when a cell was once alive
  • You can change the rules of the game by changing const in ./app/utils/constants_rules
  • You can create basic patterns inside ./app/utils/basic_patterns

Get started :

Assuming you have ruby :

  • Install bundle : gem bundle install

  • install needed gem : bundle install

  • Start the game : ruby ./main.rb

Run Test :

Only the file under ./app/game_of_life are tested

  • run test rspec spec

game-of-life's People

Contributors

remimeunier avatar

Watchers

James Cloos 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.