Tagged articles
5 articles
Page 1 of 1
ITPUB
ITPUB
Jan 18, 2016 · Databases

Mastering Tic‑Tac‑Toe with Oracle SQL: Generate All Endgames & Find Forced Wins

This article presents two Oracle SQL challenges from the 3rd ITPUB "Shengtou Media Cup" Tic‑Tac‑Toe contest, detailing how to generate every possible terminal game sequence for insertion into a table and how to compute forced win strategies for any given board using pure SQL techniques.

Database ProgrammingGame TheoryOracle
0 likes · 14 min read
Mastering Tic‑Tac‑Toe with Oracle SQL: Generate All Endgames & Find Forced Wins
ITPUB
ITPUB
Jan 14, 2016 · Databases

SQL Tic‑Tac‑Toe Challenge: Generate All Endgames and Find Forced Wins

Presented are two Oracle‑SQL challenges from the 3rd ITPUB “Shengtou Media Cup” Tic‑Tac‑Toe contest: (1) generate every possible terminal move sequence and board state, inserting them into a TICTACTOE table without PL/SQL in WITH clauses, and (2) given any valid board, compute the forced winner and the minimal remaining moves using recursive SQL and minimax logic.

Game TheoryOracleSQL
0 likes · 8 min read
SQL Tic‑Tac‑Toe Challenge: Generate All Endgames and Find Forced Wins
ITPUB
ITPUB
Jan 13, 2016 · Databases

SQL Challenge: Generate All Tic‑Tac‑Toe Endgames and Determine Winning Strategies

The article details the ITPUB "Shengtou Media Cup" SQL contest, presenting two Oracle‑based Tic‑Tac‑Toe problems—one to list every possible terminal game sequence and insert it into a table, and another to compute forced wins from any valid board—along with solution approaches and extra challenges.

Game TheoryOracleRecursive query
0 likes · 9 min read
SQL Challenge: Generate All Tic‑Tac‑Toe Endgames and Determine Winning Strategies
ITPUB
ITPUB
Dec 3, 2015 · Databases

SQL Tic‑Tac‑Toe Challenge: Generate Endgame Boards and Find Forced Wins

The ITPUB community revived its SQL Database Programming Contest, outlining judges, prize tiers, and detailed rules, then presenting two Oracle‑SQL puzzles—one to generate every possible tic‑tac‑toe endgame board and another to determine a forced winning strategy for a given board—plus an optional extension for larger m,n,k games.

ContestPL/SQLSQL
0 likes · 9 min read
SQL Tic‑Tac‑Toe Challenge: Generate Endgame Boards and Find Forced Wins