Search
New Code
AnyGantt JS Gantt Charts 8.1.0
PHP Scripts Mall Pvt Ltd 1.0.2
Bytescout PDF To HTML SDK 8.7.0.2980
JavaScript Framework Shield UI 1.7.34
Fortune Car Rental Script 3.4
Fortune Stackoverflow Clone 3.4
VintaSoft Imaging .NET SDK 8.6
wolfSSL 3.12.2
Bytescout BarCode Generator SDK 4.62.0.964
ThomasNet Clone Script 2.0
Easy Button & Menu Maker 5.0
Entrepreneur News Portal 1.6
Fortune Quibids Clone 3.4
Database Workbench Pro 5.3.4
Extensibility Studio 2.0
Top Code
Output Messenger - company chat software 1.7.6
Indiegogo Clone 3.0
PHP Image Resize Script 1.0
Jango Clone Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Readymade MLM Products 2.01
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Code Listing by Samir & Nathir Rawashdeh

Code 1-1 of 1   






This is an XO game (tic tac toe) compacted into one M-file. On the number key pad, the user plays against the computer, which uses simple rules.

The computer is not unbeatable, so the challenge can be to beat it in as little time as possible. The game time is displayed after each game, and the user has a 50% chance of playing first.

There are sound effects for each of the three possible game outcomes.