Connect 4 game made in Swift and playable on the command line with several people

? Swiftssance 4 ?

The goal of Swiftssance 4 is to propose a Connect 4 game entierely made in Swift, in a Console Application.

✔️ Features

  • Play against an artificial intelligence or against another player.
  • See a representation of the board, the variations in the game between the moves of each player and the conclusion of the game.
  • Play with the classic Connect 4 rules or create your own ones!
  • A board compatible with multiples sizes! Makes your games shorter or longer in function of your needs!
  • An application conceptualize with a good Separation of concerns for more flexibility in the future!
  • A program tested, functionally and unitary!

? Application

Here you can see the visual of the final application in a console app:

A game won by the player with a very smart move!

?️ Langages and technologies used

? Prerequisities

⚙️ How to run the app ?

  1. Start the project in XCode. To do that, go in the Sources folder and open the Swiftssance4.xcworkspace with XCode.
  2. You can select the starting project as ConsoleApp.
  3. Run the project and enjoy!

? Documentation

Some documentation can be found in the Wiki of this application. You can found the class diagram and a documentation to explain you how is construct this Connect 4 game!

Also, look at the Documentation folder at the root of this repository!

? Author

TREMBLAY Jérémy

? License

I want to leave the possibility to other people to work on this project, to improve it and to make it grow, that’s why we decided to place it under MIT license.

Read more about the MIT licence.

GitHub

View Github