Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pp:2023:scala:l06 [2023/04/07 17:24]
alexandra.udrescu01
pp:2023:scala:l06 [2023/04/08 07:49] (current)
pdmatei
Line 3: Line 3:
 ==== 5-Tic-Tac-Toe ==== ==== 5-Tic-Tac-Toe ====
  
-**Tic Tac Toe** is usually played on a 3x3 board, marking positions by each player in rounds. Our game is slightly different:+**Tic Tac Toe** is usually played on a 3x3 board, marking positions by each player in rounds. Our game is slightly different ​(usually called 5-in-a-row):
   * it can be played on a square board of any size **larger or equal to 5**.   * it can be played on a square board of any size **larger or equal to 5**.
   * A player wins if it has marked a line, column or diagonal of **5 consecutive positions** in a row.    * A player wins if it has marked a line, column or diagonal of **5 consecutive positions** in a row.