Skip to content

Nasc1mento/TicTacToeBash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToeBash

Description

  • It's a game written in Bash
  • Save the history using a CSV file
  • Print and clear history
  • It's possible choose length of board (between 2x2 and 9x9)
  • And choose win condition (For example: 3 in row like the classic 3x3 game)
  • The logic works for any board
  • The going first player is random

To play

  • Clone the repository
git clone https://github.com/Nasc1mento/TicTacToeBash
  • Grant the permissions
cd TicTacToeBash/
chmod +x play.sh
  • Execute and enjoy!!!
./play.sh

Or try on Replit

  • To play

Replit

  • To import

Run on Repl.it

License

MIT