This is a simple TicTacToe game written in Scala 3 using cats-effect 3. This simple application demonstrate how we can use effect system to write pure functional code.
- Go to the deployments/local directory.
- Run
sudo docker-compose build tictactoe
to build the docker image. - Execute the following
sudo docker-compose run --rm tictactoe
Experiment with capability traits for Console and Random. Check how we can use them to write tests.- Experiment with ZIO and see how we can use it to write the same application.
- Property based testing using ScalaCheck. Can we generate inputs for the game?
Add support to even build the Jar using docker - try multi-stage docker build. - Done- GraalVM native image support. Experiment with it and any noticable performance improvements.
- Fix all the warnings and code refactoring suggestions.
- Integrate with Scala static checks etc??