Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please answer all the question both 7 and 8 fully. the info for number nine is below the picture. (number 9 info from proj1.txt) JSON
please answer all the question both 7 and 8 fully. the info for number nine is below the picture.
(number 9 info from proj1.txt)
JSON output for 'info' :
{"size": 15, "strategies": ["Smart", "Random"]}
JSON output for 'new' :
{"response": true, "pid": "55ed3eb95f5a3"}
JSON output for 'play' :
{"response": true, "ack_move": { "x": 4, "y": 5, "isWin": false, // winning move? "isDraw": false, // draw? "row": []}, // winning row if isWin is true "move": { "x": 4, "y": 6, "isWin": false, "isDraw": false, "row": []}}
please answer all parts of each question. and will rate
7. (total 25 points) You are to define the syntax of BNF itself. (a) (10 points) Write a BNF grammar describing the syntax of BNE single quotes to use meta symbols like | and ->as terminal i.e., define the syntax of BNF itself using BNF. Use a pair of '->'. You may assume that non-terminals h asStep 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