8000 GitHub - RicardoGWill/TicTacToe: This is a Kotlin app of my own design. It is a classic Tic-Tac-Toe game. It has nine buttons (one for each move choice on the board), plus a "Start New Game" button. Upon the first press (and all "odd" presses) of a button, an "X" is placed on it. An "O" is placed on all "even" turns. Upon being pressed, the button is disabled, to disallow repeat pressing. After every turn, a "Win" is checked for, which would be if three buttons in a row have either an "X" or an "O". If 9 turns are taken and all buttons filled, but there is no winner, it will say "Tie!". If there is a winner, it will say "X wins!" or "O wins!", and all further button presses will be disabled, except for the "Start New Game" button, which will reset the board, making all buttons blank "" and clickable, removing the winning text, and making the move count go back to zero, awaiting the first move again.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This is a Kotlin app of my own design. It is a classic Tic-Tac-Toe game. It has nine buttons (one for each move choice on the board), plus a "Start New Game" button. Upon the first press (and all "odd" presses) of a button, an "X" is placed on it. An "O" is placed on all "even" turns. Upon being pressed, the button is disabled, to disallow repea…

Notifications You must be signed in to change notification settings

RicardoGWill/TicTacToe

Repository files navigation

TicTacToe

This is a Kotlin app of my own design. It is a classic Tic-Tac-Toe game. It has nine buttons (one for each move choice on the board), plus a "Start New Game" button. Upon the first press (and all "odd" presses) of a button, an "X" is placed on it. An "O" is placed on all "even" turns. Upon being pressed, the button is disabled, to disallow repeat pressing. After every turn, a "Win" is checked for, which would be if three buttons in a row have either an "X" or an "O". If 9 turns are taken and all buttons filled, but there is no winner, it will say "Tie!". If there is a winner, it will say "X wins!" or "O wins!", and all further button presses will be disabled, except for the "Start New Game" button, which will reset the board, making all buttons blank "" and clickable, removing the winning text, and making the move count go back to zero, awaiting the first move again.

About

This is a Kotlin app of my own design. It is a classic Tic-Tac-Toe game. It has nine buttons (one for each move choice on the board), plus a "Start New Game" button. Upon the first press (and all "odd" presses) of a button, an "X" is placed on it. An "O" is placed on all "even" turns. Upon being pressed, the button is disabled, to disallow repea…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0