Order the answer to: you will write two complete python programs that will allow two players to play the game of…

Academic Writing python programming Order the answer to: you will write two complete python programs that will allow two players to play the game of…

python programming

Order the answer to: you will write two complete python programs that will allow two players to play the game of…

Question In this assignment, you will write two complete python programs that will allow two players to play the game of network tic-tac-toe. It will include two programs, a server and a client. The server will allow two clients to connect and then will begin the game. The client programs accept input from the player and transmits the command to the server which will execute the commands and send a reply back to the client programs. The client and server programs are to communicate via the Internet (network) using TCP sockets. Your server should be able to handle commands from either client in any order. Your clients should be able to handle responses from the server or the player. (hint: use select) The game is for two players on a 3×3 grid. The player who moves first uses X marks. The second player uses O marks. Each player takes turns placing their mark (X/O) on an empty spot on the grid. The game ends when all spots have a mark or either player has 3 marks in a row. REQUIREMENTS: • Your code should be well documented in terms of comments. For example, good comments in general consist of a header (with your name, course section, date, and brief description), comments for each variable, and commented blocks of code. • Your server should be named “minor5server.py”, without the quotes. • Your client should be named “minor5client.py”, without the quotes. • Your programs will be graded based largely on whether it works correctly on the CSE machines (e.g., cse01, cse02, …, cse06), so you should make sure that your scripts do not have any runtime errors and runs on a CSE machine. • This is an individual programming assignment that must be the sole work of the individual student. Any instance of academic dishonesty will result in a grade of “F” for the course, along with a report filed into the Academic Integrity Database.
Subject python programming
Ready to try a high quality writing service? Get a discount here