/tictactoe

A Tic Tac Toe game.

Primary LanguageScala

Hack day: TicTacToe challenge


Tech

Scala - a compiler based and a multi-paradigm programming language which is compact, fast and efficient

How to Install and run it?

This is the way to compile project

$ scalac Main.scala Board.scala -d TTT.jar

And then execute it

$ scala TTT.jar

How to Play?

A tic tac toe board will be print on screen and the system will ask the players to insert a valid position to place "X's" or "O's". if the position entered is valid, a new board will be printed with the selected field occupied by the "X" or the "O". This will continue until one of the players manages to draw 3 consecutive "X's" or "O's" in line, or diagonally which will consist on a win and the game will restart, or if all the positions of the board are occupied and there's no winner, the game will declare a tie (draw), and restart the game.

Gameplay

Authors

Jorge Salazar - Github / Twitter

Christian Suarez - Github / Twitter

Sebastián Ocampo - Github / Twitter

Santiago Arboleda Londoño - Github / Twitter

Juan Calle - Github / Twitter