Indlela yokudlala i-tic-tac-toe
Context:Awukho umthetho ovunyelwene emhlabeni wonke wokuthi ubani odlala kuqala, kodwa kulesi sihloko kusetshenziswe isimiso sokuthi u-X udlala kuqala.  Ngokushesha abadlali bathola ukuthi ukudlala okuhle kunakho konke okuvela kuzo zombili izinhlangothi kuholela empikiswaneni. Ngakho, i-tic-tac-toe ivame ukudlalwa yizingane ezincane okungenzeka azikalitholi isu elihle kakhulu.  Ngenxa yobulula be-tic-tac-toe, ivame ukusetshenziswa njengethuluzi lokufundisa lokufundisa imiqondo yobuhle bezemidlalo kanye negatsha lobuhlakani bokufakelwa elibhekene nokucinga kwezihlahla zomdlalo. Kulula ukubhala uhlelo lwekhompyutha ukudlala i-tic-tac-toe ngokuphelele noma ukubala izikhundla ezihlukene ezingu-765 (ukuyinkimbinkimbi kwesikhala sesimo) noma imidlalo engu-26,830 engenzeka kuze kube ukujikeleza nokucabanga (ukuyinkimbinkimbi komuthi womdlalo) kulesi sikhala. Uma kudlalwa kahle yibo bobabili abadlali, lo mdlalo uphela njalo ngokushayisana, okwenza i - tic-tac-toe ibe umdlalo ongasizi ngalutho.
I-Tic-tac-toe idlalwa emgqeni ongu-3x3 wabadlali ababili, abenza ngokulandelana bafake izimpawu u-X no-O kwenye yezindawo eziyisishiyagalolunye emgqeni. I-Tic-tac-toe (American English), zeroes and crosses (Commonwealth English), noma i-Xs ne-Os (Canadian noma i-Irish English) ngumdlalo wephepha nepensela wabadlali ababili abaphendukayo ukumaka izikhala ku-grid ezintathu-ngesithathu nge-X noma i-O. Umdlali ophumelelayo ekubekeni amamaki abo amathathu emgqeni ovundlile, ovundlile, noma ovundlile uwina. Kuwumdlalo ophenduliwe, ngokudonswa okuphoqelelwe okucabanga ukudlala okuhle kakhulu kubo bobabili abadlali.