GithubHelp home page GithubHelp logo

rustcomet / assemble_the_minions Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elixirstudygroup/assemble_the_minions

0.0 1.0 0.0 8 KB

A playground for creating an army minions to do our bidding

Elixir 100.00%

assemble_the_minions's Introduction

Assemble The Minions

Assemble the Minitions

An exercise in Supervision, Workers and GenServers

Our mission here is to create a fault tolerant systems of workers to do our evil bidding.

Here are the specifications:

  • There can be only one leader (Gru), Gru supervises all of the minions.
  • Minions aren't very clever and will respond to very simple commands
  • Minions are important enough that we will give them names, but no two minions may have the same name
  • If a minion dies, it should be replaced immediately with a minion who'll have the same name
  • If you don't have tests, you didn't do it

What messages should our Minions respond to?

  • Minions may say hello from themselves

  • Minions can do arithmetic

  • Minions can tell you the value of the number they are holding in memory, let's call it a count

  • Minions should be able to handle basic arithmetic operations their count. (+, -, * , /)

Getting Started

mix deps.get - Get our dependencies mix test.watch - Run tests on save

Play around with the code iex -S mix

(I've defined a couple of minions for you, Stuart and Dave. They will be started whenever the application is started. Use :observer.start to take a look at the supervision tree and try killing them!!)

How?

Fork this project and get cracking. I've provided the basics of a mix project for you and the very first test.

Work on a branch of your own naming and submit pull requests.

We'll give each other feedback on what we've acheived so far and freely steal each others ideas where they aid our goals.

assemble_the_minions's People

Contributors

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