vlmaier / connect-four

Repository for learning Kotlin w/ JetBrains Academy. Project: Connect Four.

Home Page:https://hyperskill.org/projects/202

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connect Four

Repository for learning Kotlin w/ JetBrains Academy Connect Four Project.

Learning outcomes

This project will help you understand how to use basic Kotlin components: data structures, conditions and loops. You'll learn how to interface with a program and develop a fun game to play.

Game

Connect Four
First player's name:
Vladas
Second player's name:
Bot
Set the board dimensions (Rows x Columns)
Press Enter for default (6 x 7)
5x5
Do you want to play single or multiple games?
For a single game, input 1 or press Enter
Input a number of games:

Vladas VS Bot
5 X 5 board
Single game
 1 2 3 4 5 
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
╚═╩═╩═╩═╩═╝
Vladas's turn:
1
 1 2 3 4 5 
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║o║ ║ ║ ║ ║
╚═╩═╩═╩═╩═╝
Bot's turn:
2
 1 2 3 4 5 
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║ ║ ║ ║ ║ ║
║o║*║ ║ ║ ║
╚═╩═╩═╩═╩═╝
Vladas's turn:
...

About

Repository for learning Kotlin w/ JetBrains Academy. Project: Connect Four.

https://hyperskill.org/projects/202

License:The Unlicense


Languages

Language:HTML 88.3%Language:Kotlin 11.7%