Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexstaeding/tictactoe-kotlin
https://github.com/alexstaeding/tictactoe-kotlin
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexstaeding/tictactoe-kotlin
- Owner: alexstaeding
- License: agpl-3.0
- Created: 2023-10-06T12:30:17.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-13T15:13:56.000Z (about 1 year ago)
- Last Synced: 2024-11-08T18:51:56.467Z (about 2 months ago)
- Language: Kotlin
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.