Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 226886

A game, also known as "Noughts and Crosses", in which players take turns placing marks on a 3 × 3 grid in an attempt to form a line of three consecutive marks. You can also use this tag for variants of the game.

2 votes
1 answer
153 views

Tic Tac Toe game (Haskell)

I have written a tic-tac-toe game in Haskell and was wondering if anyone could provide any hints on how it could be improved import Data.Bits import System.IO import Data.List type Board = (Int, Int) …
Dean Menezes's user avatar
3 votes
1 answer
136 views

Tic-Tac-Toe in C

I have implemented a Tic-Tac-Toe game in C which can be played as two-player or with a computer player. #include <stdio.h> #include <stdint.h> #include <stdbool.h> #include <stdlib.h> #include <ctype. …
Dean Menezes's user avatar
5 votes
1 answer
130 views

Text-based Tic-Tac-Toe in C

I have written a text-based tic-tac-toe game in C. Are there any ways I can further improve the code? It uses an ENUM to indicate the player type and two bitfields to indicate the board. #include <st …
Dean Menezes's user avatar