Giter Club home page Giter Club logo

rivestment's Introduction

Rivestment

Rivestment is a game of MD5 collisions. You interact with the score server through Slack chat channels, and winning strategies generally involve building Slack bots to do the required work and interact with the score server.

Rivestment was created as a teaching tool for getting students engaged in learning how to write high-level and performant software in the classroom.

Setting up Rivestment

Rivestment is comprised of two services: (a) a node.js service and (b) a MongoDB service. Both of these services are containerized and available on quay.io.

rivestment container

rivest-mongo container

You actually don't need anything in this repository to get started. Simply create a docker-compose.yml that looks like docker-compose.yml-remote. You will need to rename it to docker-compose.yml if you intend to use it as a template.

All you need to do is create a bot, obtain the token, and insert it onto this line of your docker-compose.yml:

    - SLACK_TOKEN=!!PUT-YOUR-TOKEN-HERE!!

In the same directory as your docker-compose.yml, issue the following command:

docker-compose up

and that's it! Navigate using your web browser to the IP address of your container host and get started in the "Instructions" tab.

Building Rivestment

Of course, you can pull down this repository and customize Rivestment to your liking. In this case, you'll want to use the docker-compose.yml that ships with the repository. Again, you'll need to replace the SLACK_TOKEN environment variable with a valid one. Rather than pulling the images from the quay.io repository, in this approach you'll build your own custom images.

Of course, the docker-compose command is the same:

docker-compose up

Resources

See Matterbot for a C++ bot framework that you can use to implement a competitor bot for Rivestment.

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.