Two option, do either one of them is fine. USE MASM 6.13 tp complie Option A: Write an x86 program that plays a 3x3, 1-player game (the player -vs- a "computer player") of Tic-Tac-Toe, using the symbols "X" and "O" to mark players' positions. You should use some sort of graphical representation of the game (text graphics are fine), and should allow the user 2 choices at the beginning of the game. Difficulty (easy or hard). Player's Symbol (X or O - X always goes first) Your "easy" opponent should be simple and easy to beat. Your "hard" player should be as close to impossible to beat as you can make it. You can either run a single game per run of your program, or give the player the option of playing again - at your option. Option B: Write an 8086 (no 386 instructions allowed) program that functions as a 80-bit floating point calculator. It should accept numbers in decimal, including fractions, and print them in decimal, also including fractions, but rounded off to 6 decimal places. It should implement all of the following functions: "+" = Addition, "-" = Subtraction, "x" or "X" or "*" = Multiplication, "/" Division, "ESC" = Clear. It should allow the user to enter a value, then an operation (one of the above keys), and then another value without ever having to press the enter key or otherwise terminate these numbers. Then the user may press any other operation and the result should be displayed - and used as the first number in another computation of that type. The user may instead press ENTER to just get the result, after which the user may press another operation key to operate on this result as the first number of this next computation. At any time the user can press the "ESC" key to clear the state of the calculator and start a new computation, or press "Q" or "q" to quit the program immediately. If any invalid number results from a computation (a number with all 0s or 1s in the biased exponent field), you should output an appropriate error and clear the state and start a new computation. Note that due to the way floating point numbers work, this includes zero. If the user enters a zero, the number should be ignored, an error should be printer, and a new computation should be started. No invalid input should be allowed. If a character that would make the input invalid is entered, it should be ignored and not displayed.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) should run on any windows. 3) have comment in the code, code should be easy to understand. 3) Complete ownership and distribution copyrights to all work purchased.
Windows Xp, 2000/98/ME option a: looks and ease-of-use of your program, so design it well. It must never crash. It must not allow invalid input. You should not be required to hit enter for every move or choice. You should not display keys as pressed, just the game output. Hint: To show the board, you can easily clear the screen a number of ways. One is to just output enough letters to scroll all data off of the screen. Keep in mind that some screens may be as long as 50 lines. Hint: Use the number pad numbers to allow the player to chose a place on the tic-tac-toe board (7 is top left, 5 is middle, etc...).