Skip to content
Practising my C not to be rusty
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
.gitignore
LICENSE
README.md
tictactoe.c

README.md

TicTacToe

Simple TicTacToe game in command-line or GUI. I did this to practise my C, not to be rusty.

Overview

Command Line

Command Line Overview

Command Line Overview

Graphical

not yet

Getting started

Compiling

gcc -o tictactoe tictactoe.c

Running in Command Line

./tictactoe cli

Running in Graphical

./tictactoe gui

Memo

Debug with GDB :

gcc -o tictactoe -g tictactoe.c
gdb -q ./tictactoe
(gdb) run cli

Display all warnings as errors :

Correct all these warnings !

gcc -o tictactoe -Wall -Wextra -Werror --std=c99 tictactoe.c
You can’t perform that action at this time.