Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 - Game Problem statement Simulate the working of TicTacToe game extended to two players with coins ' X And ' T ' with
Question 1 - Game Problem statement Simulate the working of TicTacToe game extended to two players with coins ' X And ' T ' with the below sample larger game board of dimension 55. The first player to match any four consecutive coins in the same row or same column or same diagonal wins. A sample state of the game board is given below for reference. Your program must start from empty configuration. a. You are free to choose your own static evaluation function. Justify your choice of static evaluation value design and explain with a sample game state. Do not use any machine learning model for the evaluation function. b. Similar to the virtual lab example, one of the players must be a human ie., it must get dynamic inputs from us. The other player must be simulated using the program. c. Implement Python code for the design under part a, using Minimax Algorithm. Question 2 - Logic Problem statement Given the following decision tree derived from the raisin classification dataset, derive if-then rules from this tree and code them as Prolog rules. The Prolog code must take the attribute values as input and classify the raisin type. The details of the dataset along with the variable details if required is available in the announcement section. Evaluations will be based on the following. 1. Use Min-Max algorithm and implement the game in PYTHON (35\% marks) 2. Derive the rules from the given decision tree and code as Prolog rules. ( 35% marks) 3. Interactive implementation. Dynamic inputs-based run of the game with step wise board display and error free game ending. (15\% marks) 4. Interactive implementation. Dynamic inputs-based run of the logic expert system with step wise options display and error free recommendation \& ending. (15\% marks) Important Note: - You are provided with the python notebook template which stipulates the structure of code and documentation. Use well intended python code. - Use a separate MS word document for explaining the theory part. Do not include the theory part in the Python notebook except Python comments. - The implementation code must be completely original and executable. - Please keep your work (code, documentation) confidential. If your code is found to be plagiarized, you will be penalized severely. Parties involved in the copy will be considered equal partners and will be penalized severely
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started