From 0c0702fc77aa11c0cac2dd69354a4ba08c285ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20A=2E=20Ortega=20Froysa?= Date: Thu, 17 Nov 2022 17:12:51 +0100 Subject: [PATCH] Add dice PHP exercise. --- 2/IAW/exercises/php/dice.php | 26 ++++++++++++++++++++++++++ 2/IAW/exercises/php/imgs/1.svg | 8 ++++++++ 2/IAW/exercises/php/imgs/2.svg | 11 +++++++++++ 2/IAW/exercises/php/imgs/3.svg | 14 ++++++++++++++ 2/IAW/exercises/php/imgs/4.svg | 17 +++++++++++++++++ 2/IAW/exercises/php/imgs/5.svg | 20 ++++++++++++++++++++ 2/IAW/exercises/php/imgs/6.svg | 23 +++++++++++++++++++++++ 7 files changed, 119 insertions(+) create mode 100644 2/IAW/exercises/php/dice.php create mode 100644 2/IAW/exercises/php/imgs/1.svg create mode 100644 2/IAW/exercises/php/imgs/2.svg create mode 100644 2/IAW/exercises/php/imgs/3.svg create mode 100644 2/IAW/exercises/php/imgs/4.svg create mode 100644 2/IAW/exercises/php/imgs/5.svg create mode 100644 2/IAW/exercises/php/imgs/6.svg diff --git a/2/IAW/exercises/php/dice.php b/2/IAW/exercises/php/dice.php new file mode 100644 index 0000000..854c206 --- /dev/null +++ b/2/IAW/exercises/php/dice.php @@ -0,0 +1,26 @@ + + + + Dice + + + +

dados

+ $max) + $max = $rolls[$i]; +?> + + +

El valor más grande obtenido es .

+

Última modificación de esta página: + + diff --git a/2/IAW/exercises/php/imgs/1.svg b/2/IAW/exercises/php/imgs/1.svg new file mode 100644 index 0000000..20fe686 --- /dev/null +++ b/2/IAW/exercises/php/imgs/1.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/2/IAW/exercises/php/imgs/2.svg b/2/IAW/exercises/php/imgs/2.svg new file mode 100644 index 0000000..6815fdb --- /dev/null +++ b/2/IAW/exercises/php/imgs/2.svg @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/2/IAW/exercises/php/imgs/3.svg b/2/IAW/exercises/php/imgs/3.svg new file mode 100644 index 0000000..8e13da4 --- /dev/null +++ b/2/IAW/exercises/php/imgs/3.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + diff --git a/2/IAW/exercises/php/imgs/4.svg b/2/IAW/exercises/php/imgs/4.svg new file mode 100644 index 0000000..634373d --- /dev/null +++ b/2/IAW/exercises/php/imgs/4.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + diff --git a/2/IAW/exercises/php/imgs/5.svg b/2/IAW/exercises/php/imgs/5.svg new file mode 100644 index 0000000..a339fcd --- /dev/null +++ b/2/IAW/exercises/php/imgs/5.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + diff --git a/2/IAW/exercises/php/imgs/6.svg b/2/IAW/exercises/php/imgs/6.svg new file mode 100644 index 0000000..5c9f148 --- /dev/null +++ b/2/IAW/exercises/php/imgs/6.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + +