![]() Now doing the same above method,I have created a Scorecard for player1 and player2.I give name playerscore1 and playerscore2 for the labels as shown in figure. Now, Put a label on your form set backcolor according to your wish(here i choose skyblue color from properties), set textalign to middlecenter and set text to "Turn".Actually We are creating a box for showing the player's Turn.Īdd Another Label below above label.Remove text from it,leave it blank.Give it name="displayturn".Now our Application looks something like that. button1,button2).Actually we want no text on buttons. Select button then delete the text from properties(i.e. Now add 9 buttons on your form using tools. Let's Start:Ĭreate a New project and select windows application.Give it name and then press enter.(All of us know this step).Īfter that you see a blank form like that: The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the game. Tic-tac-toe (or Noughts and crosses, Xs and Os) is a paper and pencil for two players, X and O, who take turns marking the spaces in a 3×3 grid. Hello Guys, I am going to show you How to Create Tic Tac Toe for 2-Players.īefore Going to start, a short description on What is Tic Tac Toe? ![]() ![]() ![]() Download Tic_Tac_Toe_by_Anoop.zip - 34.9 KB.Download Tic_Tac_Toe_by_Anoop-noexe.zip - 9.3 KB. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |