Giter VIP home page Giter VIP logo

code-challenge-2017's Introduction

Privalia Code Challenge 2017

The 2017 event of the Privalia Code Challenge is called Maze Escape! The goal is easy: You have to create a bot to escape from a labyrinth.

Your bot will be trapped in a maze and is expected to find its way out competing with the other player bots in a real time challenge. All the bots will start at the same random position and they won't be visible to each other. The first bot to find its way out of the maze wins the game.

Configuration

This repo constains the server used for the Privalia Code Challenge 2017. It's a PHP project which uses the Symfony 3 framework and a MySQL database. It has been developed using PHP7.1 and MySQL5.7 and docker technologies. The docker folder constains the particular images used in the development environment and some bash commands with helps configurating the environment.

  • docker/build.sh - Build the docker images.
  • docker/start.sh - Start all the project containers.
  • docker/stop.sh - Stop all the project containers.
  • docker/composer.sh - Execute composer inside the container (params are allowed). The containers must be started before run this script.
  • docker/console.sh - Execute a console command inside the container (params are allowed). The containers must be started before run this script.
  • docker/phpunit.sh - Execute phpunit unit tests inside the container (params are allowed). The containers must be started before run this script.
  • docker/bash.sh - Access bash shell of the API container. The containers must be started before run this script.
  • docker/su.sh - Access bash shell of the API container with the rootuser. The containers must be started before run this script.

NOTE: All these scripts asume there is an user david in the host. You can change it for your usere name to avoid permission problems.

Installation

$ git clone [email protected]:PrivaliaTech/code-challenge-2017.git
$ cd code-challenge-2017
$ docker/build.sh
$ docker/start.sh
$ docker/composer.sh install
$ docker/console.sh doctrine:database:create
$ docker/console.sh doctrine:schema:create

Documentation

Maze generation & escape

Credits

Icons

Icons from Flaticon with Creative Commons BY 3.0 License:

code-challenge-2017's People

Contributors

davamigo avatar

Stargazers

David avatar  avatar Edgar Güeto avatar Jesús Manuel Vargas avatar Ismael Martín avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

castronet

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.