Skip to content

Instantly share code, notes, and snippets.

@sepehr500
Last active September 20, 2018 23:28
Show Gist options
  • Save sepehr500/bd39474c372095cfe34791245feecc9b to your computer and use it in GitHub Desktop.
Save sepehr500/bd39474c372095cfe34791245feecc9b to your computer and use it in GitHub Desktop.
Server Wars Rules

Server Wars

Rules of Play

The goal of the game will be to make a REST API with the following requirements

  • Expose a drivers resource with the following attributes

    • id
    • first name
    • last name
    • is the person on vacation
    • trucks
  • Expose a trucks resource with the following attributes

    • model number
    • first name
    • last name
    • model name
    • broken down?
    • drivers
  • The following metrics should be available

    • Total drivers on vacation
    • list of all truck models(none repeated)
    • total number of drivers
    • total number of trucks
    • total number of available trucks

Gameplay

You will have 1 hour to meet as many requirements as possible and send your opponenet documentation. You may then write scripts in any way to do operations on your oppoenets web server.

Scoring

You will gain 1 point for each correctly handled response You will lose 1,000 point for each failed response You will gain 1 point for each request sent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment