Create a simple tic-tac-toe program

Assignment Help Basic Computer Science
Reference no: EM13761483

For the Mid-Term assignment we are going to create a simple Tic-Tac-Toe program. You can design the user interface any way that you would like to. It should allow two places to put X's or O's down on the board and determine if a player as won or if there is a draw.

Here are some of the features needed that it will be graded upon.

  • It must let an X be placed on the board followed by and O. It cannot let 2 X's be placed one after the other.
  • The users must have some way to indicate which square they want their symbol put into.
  •  It must stop the game and indicate a winner if a player wins.
  •  It must stop the game and indicate a draw if all of the squares are filled in and there is no winner.

 

 

Reference no: EM13761483

Questions Cloud

Horizontal analysis of the income statement : Prepare a three-year horizontal analysis of the income statement and balance sheet of your selected company.  Discuss the importance and meaning of horizontal analysis.  Discuss both the positive and negative trends presented in your company.
Should modern book distribution implement a push strategy : Should Modern Book Distribution implement a push strategy? A pull strategy? A push-pull strategy? What would it require to implement the strategy? What is the impact?
Amount to record in the purchases account : On April 30, Miller's Bike Goods purchased $600 of merchandise on account from the Spark Company. The goods were shipped F.O.B. shipping point. The freight charge of $40 was paid by Spark Company and added to the invoice. The amount to record in t..
What is the cultural phenomenon at play : What is the cultural phenomenon at play here and how do you explain the lack of intercultural communication and interaction?
Create a simple tic-tac-toe program : For the Mid-Term assignment we are going to create a simple Tic-Tac-Toe program. You can design the user interface any way that you would like to. It should allow two places to put X's or O's down on the board and determine if a player as won or..
Apply to organization as a security professional : CIA, or confidentiality, integrity, and availability (I know the book says authentication, but it is not a part of the triad), are three terms that you will have to apply to your organization as a security professional.
Efforts to better protect the nation against digital crimes : Discuss how the U.S. could align these efforts to better protect the nation against digital crimes and terrorism
Simplifying expressions assignment description : Plan the logic necessary to complete the problem before you begin writing. For examples of the math required for this assignment, please review Elementary and Intermediate Algebra and the example of how to complete the math required for this assig..
Resource center to research aspects of biology : Select an article from a magazine or newspaper that has something in it that pertains to biology. This will serve as the "target article" for this assignment.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Laws and regulation in telecommunications field

Do you believe we require laws and regulation in telecommunications field at all? Why or why not?

  Write a select statement determines has any invalid values

Write a Select statement that determines whether the PaymentDate column of The Invoices table has any invalid values.

  Review and discuss methods for it manager

Review and discuss methods for IT managers to maintain their skills while gaining new managerial skills

  Passing an "in out" parameter to a procedure

In Ada, when passing an "in out" parameter to a procedure, the system is allowed to use either pass-by-reference or pass-by-value-result as it sees fit. Why?

  Generate an array of 20 random integers from 0 to 9

generate an array of 20 random integers from 0 to 9. Search for the first occurrence, if any, of the number 7, and report its position in the array.

  Write the code for invoking a method named sendobject

Write the code for invoking a method named sendObject . There is one argument for this method which is of type Customer . Assume that there is a reference to an object of type Customer , in a variable called John_Doe . Use this reference as your a..

  Write a program that computes the area of trapezoid

Write a program that computes the area of Trapezoid. Unknown values should be input by user.

  How code an interactive hangman game using string method

How do you code an interactive hangman game using the string method

  Which of these conditions returns true

Which of these conditions returns true? Check the Java documentation for the inheritance patterns.

  Design a modular pro-gram

There are three seating categories at a stadium. For a softball game, Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Design a modular pro-gram that asks how many tickets for each class of seats were sold, and then dis-p..

  Designing a program before you create it is beneficial

Why do you think designing a program before you create it is beneficial?

  Describe the major components of a datawarehouse

Briefly describe the major components of a datawarehouse architecture. Explain how the volatility of a datawarehouse is different from the volatility of a database for an operational information system. Please cite sources if any used.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd