2020-07-03 17:16:27 +00:00
|
|
|
# PHP katas with Pest PHP
|
2020-07-04 17:14:39 +00:00
|
|
|
|
|
|
|
PHP code katas, tested with [Pest PHP][]. Based on exercises from [Exercism.io][].
|
|
|
|
|
|
|
|
Includes:
|
|
|
|
|
|
|
|
- **Anagrams**: select an anagram for a word from a list of condidates.
|
2020-07-12 15:05:33 +00:00
|
|
|
- **Flatten Array**: take a nested list and return a single flattened list with all values except nil/null.
|
2020-07-04 20:11:13 +00:00
|
|
|
- **Bob**: returns different responses based on input.
|
2020-07-05 14:50:12 +00:00
|
|
|
- **Bowling**: calculate the score for a game of bowling.
|
2020-07-04 17:14:39 +00:00
|
|
|
- **Grade School**: given students' names along with the grade that they are in, create a roster for the school.
|
2020-07-12 15:54:11 +00:00
|
|
|
- **Pangram** - determine if a sentence is a pangram (every letter of the alphabet is used at least once).
|
2020-07-10 22:15:10 +00:00
|
|
|
- **Rock, paper, scissors**
|
2020-07-04 17:14:39 +00:00
|
|
|
- **Roman numerals**: convert a number into its roman numeral value.
|
|
|
|
|
|
|
|
[exercism.io]: https://exercism.io
|
|
|
|
[pest php]: https://pestphp.com
|