Questions tagged [tic-tac-toe]

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.

Filter by
Sorted by
Tagged with
2
votes
1answer
583 views

Extremely Object Oriented Tic-Tac-Toe in Java

Please criticize the classes GameJudgeImpl and GameInfo so that I could make them clearer. ...
1
vote
1answer
269 views

Ruby Tic-Tac-Toe using classes

This is Tic-Tac-Toe using negamax for AI. Help me make it better! Some sore points are: ...
3
votes
1answer
3k views

Graphical Tic-Tac-Toe game using SFML

First of all, I'm really new to SFML and making GUIs. This is my first real program using this. Right now, when I click outside the window when the program is first run, the first piece is placed in ...
2
votes
1answer
1k views

TicTacToe in Java

I created this game in Java: ...
4
votes
5answers
30k views

Tic Tac Toe victory check

I am writing Python code for a Tic Tac Toe game. I need to write a function that takes in three inputs: board, x, and y. Board being the current display of the board and then x and y being values of ...
4
votes
1answer
13k views

First JavaScript game: Tic Tac Toe

I'm pretty new to programming in general. I work with MySQL at my job but my knowledge of scripting language is rudimentary at best. I've been learning JavaScript via Codecademy but I got bored and ...
7
votes
1answer
740 views

Clojure TicTacToe (logic, no GUI)

I whipped this up last night and was wondering if anyone had any thoughts/comments on it; for example, on: Code organisation Coding style Other improvements Semantic errors ...
12
votes
4answers
6k views

Tic Tac Toe game

I don't have any questions about this piece of code; it compiles just fine in Visual Studio 2010. I just wanted to post it to see if anyone has any good ideas on how to simplify it, or pointing out ...
16
votes
2answers
15k views

Simple Tic-Tac-Toe PHP/Pure HTML

I've been doing a simple Tic-Tac-Toe with PHP, generating only HTML code. A few notes: I didn't bother yet to give an AI to the opponents (the Os), and it is intentional. There is no CSS style to ...

1
8 9 10 11
12