Skip to content

Commit

Permalink
Some quick things after first pairing session with Iryna
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Cairns committed Nov 13, 2023
1 parent dcedd0c commit e5c7a2f
Show file tree
Hide file tree
Showing 11 changed files with 2,012 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./vendor/*
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# tic-tac-toe-kata
DDD modeling kata for Tic Tac Toe
# Rules:

- The game is played on a 3x3 grid.
- One player is assigned X, another is assigned O.
- Players take turns placing marks on empty spaces on the grid until an end condition is met.
- End condition 1: 3 of one player's marks line up orthogonally or diagonally making them the winner
- All spaces are filled: in which nobody is the winner.

23 changes: 23 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "andrew.cairns/tictactoe",
"require-dev": {
"phpunit/phpunit": "^10.4"
},
"autoload": {
"psr-4": {
"AndrewCairns\\Tictactoe\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\AndrewCairns\\Tictactoe\\": "tests/"
}
},
"authors": [
{
"name": "Andrew Cairns",
"email": "[email protected]"
}
],
"require": {}
}
Loading

0 comments on commit e5c7a2f

Please sign in to comment.