As a project to learn the swift language, I code this connect 4.
This subject was given by my swift teacher with some specifications the following features filled.
You can find the class diagram under the ./Documentation
folder.
- Customizable grid size
- Customizable win condition
- Customizable players number
- Automated players (AI)
- Graphic interface
-
- Grab a Mac (or find yourself a way to do it on windows..)
-
- Clone this repo
-
- Install XCode
-
- Open the
Swissance4
workspace
- Open the
-
- Run the
Puissance4Output
- You can tweak parameters in the
Puisance4/Game.swift
file
- Run the
-
- Enjoy
- Author: Valetin Clergue