From b74cbcb1ba64831fe759bb77b10c40de872d522d Mon Sep 17 00:00:00 2001 From: DaniillGolovin Date: Sun, 12 May 2024 19:19:55 +0300 Subject: [PATCH] add brain-gcd --- Makefile | 3 +++ bin/brain-gcd | 14 ++++++++++++++ composer.json | 6 ++++-- src/Engine.php | 4 ++-- src/Games/Gcd.php | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 bin/brain-gcd create mode 100644 src/Games/Gcd.php diff --git a/Makefile b/Makefile index adf67e3..df7b04c 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,9 @@ brain-even: brain-calc: ./bin/brain-calc +brain-gcd: + ./bin/brain-gcd + validate: composer validate diff --git a/bin/brain-gcd b/bin/brain-gcd new file mode 100644 index 0000000..ea54f4b --- /dev/null +++ b/bin/brain-gcd @@ -0,0 +1,14 @@ +#!/usr/bin/env php + +