You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
654 B
60 lines
654 B
# Connect 4
|
|
|
|
## Rules
|
|
|
|
* Game has 1 grid, 2 players
|
|
* Each player choose one column and insert a piece
|
|
* The first player to connect 4 checkers in a row is the winner.
|
|
|
|
## Getting started
|
|
|
|
### Requirements
|
|
|
|
* Swift
|
|
* XCode
|
|
|
|
### Get project
|
|
|
|
```sh
|
|
git clone https://codefirst.iut.uca.fr/git/yohann.breuil/Puissance4.git
|
|
```
|
|
|
|
### Open in XCode
|
|
|
|
```sh
|
|
cd Src
|
|
open PuissanceQuatre.xcworkspace
|
|
```
|
|
|
|
### Build model
|
|
|
|
```sh
|
|
cd Src/Model
|
|
swift build
|
|
```
|
|
|
|
### Run tests
|
|
|
|
```sh
|
|
cd Src/Model
|
|
swift test
|
|
```
|
|
|
|
### Launch app
|
|
|
|
```sh
|
|
cd CLT/CLT/
|
|
swift
|
|
```
|
|
|
|
### Documentation (open in XCode)
|
|
|
|
```sh
|
|
cd Doc
|
|
open Model.doccarchive
|
|
```
|
|
|
|
## Author
|
|
|
|
* Yohann BREUIL
|