Skip to content
This repository was archived by the owner on Apr 17, 2019. It is now read-only.

marmelab/dobble-php

Repository files navigation

onboarding Archived Repository
The code of this repository was written during a Marmelab agile integration. The associated blog post illustrates the efforts of the new hiree, who had to implement a board game in several languages and platforms as part of his initial learning.
This code is not intended to be used in production, and is not maintained.

Build Status

dobble-php

Command-line card generator for dobble-like game

Installation

Run the following command

make install

Use

Pending the final .phar file, you can use symfony command :

php src/application.php dobble:run -h

Unit tests

make test

Rules

Dobble rules implemented in this software :

  • There is at least one card

  • Each card is unique

  • All cards have same amount of symbols

  • A card has one and only one pair with all other cards