No Code Game + AI

Tic-Tac-Toe Statistics Game

My Tic-Tac-Toe Statistics Game is a basic Tic-Tac-Toe game with a statistics question in the end of each round. There are total of 9 questions.

I used ChatGPT to generate this game. I did not generate it first try and had to have a dialogue with the AI to improve my game, so I cannot provide the prompt.

The green and black style choice was influenced by my recent liking in Fallout 4 which has wrist mounted computers with same black and green visual style. The language for my game is english because I know it better than estonian.

The gameplay is pretty simple:
– User presses the “Start” button.
– Player(s) pick who they want to play X or O
– X always moves first, then players take turns placing their symbol on the 3×3 grid board.
– If a player gets 3 symbols in a row they win.
– If none gets 3 symbols in a row and the grid is filled then it is a draw.
– After the round ends a end-game pop-up window appears. It has restart button to start the game again, but it won’t work until you answer the question correctly.
– There are 9 different questions, they are chosen randomly. Player(s) must answer it before they can restart the game. There is an area where you can enter your answer (Must be numbers) and Submit button.
– If the answer is correct then the restart button will work. If the answer is incorrect the Player(s) must keep trying to answer correctly, only then they can restart the game.

A round of Tic-Tac-Toe Statistics Game in progress.

End Screen. O has won this round. To restart the Player(s) answer(s) the question – “Mean of 2, 4, 6?” The number 4 is the correct answer.

Eesti Keeles

Tic-Tac-Toe Statistikamäng

Minu Tic-Tac-Toe statistikamäng on lihtne Tic-Tac-Toe mäng, mille iga vooru lõpus on statistikaküsimus. Kokku on 9 küsimust.

Selle mängu loomiseks kasutasin ChatGPT-d. Ma ei genereerinud seda esimesel katsel ja pidin oma mängu täiustamiseks tehisintellektiga suhtlema, seega ei saa ma seda teemat anda.

Rohelise ja musta stiili valikut mõjutas minu hiljutine eelistus Fallout 4 vastu, millel on randmele kinnitatavad arvutid sama musta ja rohelise visuaalse stiiliga. Minu mängu keel on inglise keel, kuna ma oskan seda paremini kui eesti keelt.

Mängimine on üsna lihtne:

  • Kasutaja vajutab nuppu “Start”.
  • Mängija(d) valib(id), kellega nad tahavad mängida: X või O.
  • X liigub alati esimesena, seejärel asetavad mängijad kordamööda oma sümboli 3×3 ruudustikule.
  • Kui mängija saab 3 sümbolit järjest, võidab ta.
  • Kui keegi ei saa 3 sümbolit järjest ja ruudustik on täis, on tegemist viigiga.
  • Pärast vooru lõppu ilmub mängu lõpu hüpikaken. Sellel on taaskäivitusnupp mängu uuesti alustamiseks, kuid see ei tööta enne, kui olete küsimusele õigesti vastanud.
  • Mängus on 9 erinevat küsimust, mis valitakse juhuslikult. Mängija(d) peavad neile vastama enne mängu taaskäivitamist. Seal on ala, kuhu saate sisestada oma vastuse (peavad olema numbrid) ja vajutada nuppu „Esita“.
  • Kui vastus on õige, siis taaskäivitusnupp töötab. Kui vastus on vale, peab(id) mängija(d) jätkama õigesti vastamist ja alles siis saab(id) mängu taaskäivitada.