Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexstaeding/tictactoe-kotlin


https://github.com/alexstaeding/tictactoe-kotlin

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

# TicTacToe in Kotlin

Basic Kotlin Script example showing TicTacToe.

Use `kotlin ` to execute any of the following implementations.

## Implementations

### tictactoe.main.kts

Easy to understand TicTacToe implementation written mostly during the Vorkurs livestream.

### tictactoe-colors.main.kts

Slightly more complex example with an external dependency for colored output.
Uses more advanced concepts such as the builder pattern for constructing colored components.

### tictactoe-advanced.main.kts

More advanced example with arrow-key input and better terminal rendering.
Uses many advanced concepts extensively such as custom classes, lambdas, extension functions and method references.