https://github.com/pedrovgs/typescriptkatas
TypeScript training repository used to learn TypeScript by solving some common katas.
https://github.com/pedrovgs/typescriptkatas
Last synced: 5 months ago
JSON representation
TypeScript training repository used to learn TypeScript by solving some common katas.
- Host: GitHub
- URL: https://github.com/pedrovgs/typescriptkatas
- Owner: pedrovgs
- License: gpl-3.0
- Created: 2022-11-08T16:26:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-21T15:13:56.000Z (over 1 year ago)
- Last Synced: 2025-04-09T07:37:18.551Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 104 KB
- Stars: 16
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypeScript Katas
TypeScript training repository used to practice and learn by solving some common katas.
### List of common katas:
* [Game of Life.](https://codingdojo.org/kata/GameOfLife/)
* [FizzBuzz.](http://codingdojo.org/KataFizzBuzz/)
* [String calculator.](http://osherove.com/tdd-kata-1/)
* [Find the right triangle.](https://gist.github.com/pedrovgs/32189838165fbe5c9e773ede534b97f4)
* [Rock paper scissors.](http://agilekatas.co.uk/katas/RockPaperScissors-Kata)
* [Bingo.](http://agilekatas.co.uk/katas/Bingo-Kata)
* [Potter.](http://codingdojo.org/kata/Potter/)
* [Roman numerals.](http://codingdojo.org/kata/RomanNumerals/)
* [Prime factors.](https://www.rubyplus.com/articles/511-TDD-Beyond-Basics-Prime-Factors-Kata)
* [Fibonacci.](https://medium.com/@chmeese/fibonacci-kata-93773b30dbb2#.3opu63eoj)
* [Maxibon.](https://github.com/Karumi/MaxibonKataKotlin)
* [Greeting.](https://github.com/testdouble/contributing-tests/wiki/Greeting-Kata)### Executing tests:
This project contains some tests written using Jest. You can easily run the tests by executing any of the following commands:
```
yarn test # Executes all the tests in the project
yarn test:mutate # Executes all the tests using a mutation testing framework
```### Solved katas
| # | Kata Statement | PR | Topic |
|---|----------------|----|-------|
| 1 | [Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) | [https://github.com/pedrovgs/KotlinKatas/pull/6](https://github.com/pedrovgs/TypeScriptKatas/pull/1) | Literal types, property-based testing and mutation testing integration. Focused on the Cell structure and not the board implementation so we can learn about property and mutation testing |Developed By
------------* Pedro Vicente Gómez Sánchez -
License
-------Copyright 2022 Pedro Vicente Gómez Sánchez
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.