Skip to content

Commit 3371046

Browse files
Merge pull request #5 from chrisreddington/readme-and-ci-update
Update CI workflow and enhance README with Tic Tac Toe instructions
2 parents 199dfd0 + c8084db commit 3371046

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ permissions:
66
on:
77
pull_request:
88
branches: [ main ]
9+
push:
10+
branches: [ main ]
911

1012

1113
jobs:
@@ -17,7 +19,7 @@ jobs:
1719
- name: Set up Go
1820
uses: actions/setup-go@v5
1921
with:
20-
go-version: '1.23' # You can change this to your desired Go version
22+
go-version: '1.24' # You can change this to your desired Go version
2123

2224
- name: Build
2325
run: go build -v ./...

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ gh game cointoss heads # or tails
2020

2121
The game will continue as long as you keep guessing correctly, allowing you to build up a streak. You can quit at any time by selecting "Quit" when prompted for your next guess.
2222

23+
### Tic Tac Toe
24+
25+
Play the classic game of Tic Tac Toe against another player. Players take turns placing X's and O's on a 3x3 grid, trying to get three in a row horizontally, vertically, or diagonally.
26+
27+
```sh
28+
gh game tictactoe
29+
```
30+
31+
The game provides an interactive interface where you can select positions on the board using numbers 1-9, corresponding to the grid positions from left to right, top to bottom.
32+
2333
### Whoami
2434

2535
Display information about the currently authenticated GitHub user.

0 commit comments

Comments
 (0)