- We are here to practice the usage of Coroutines.
- We are going to use Kotlin.
- We are going to practice pair programming.
This repository contains a Kotlin implementation of the Conway's Game of Life
The code is really simple and it's just a naive implementation of the algorithm. It is sequential, that means that for every single generation it calculates the value of each cell for the next generation, one by one.
To verify the correct behaviour of your code you can execute:
./gradlew runGameOfLife
Your task as a Kotlin Developer is to transform the implementation to make it parallel. You will use coroutines to achieve it.
If you get stuck, with-coroutines
branch contains the finished kata.
There are some links which can be useful to finish these tasks:
Copyright 2019 Karumi
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 at
http://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.