Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Overview The algebraic notation has been used in a few different notation systems to denote the moves made in a game. In our game,

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

1. Overview The algebraic notation has been used in a few different notation systems to denote the moves made in a game. In our game, we are going to predict the wind speed and wind gusts of hurricane Irma when it starts from a point and moves toward its destination. The Irma's moves with its initial wind speed and wind gusts, and its destination is recorded as a series of strings that look something like this: h6 150 100 f4 "h6 and "f4" are the coordination of start and destination points in a board of 8x8 grid of squares, respectively, while the first integer number denotes the wind speed and the second integer number denotes the wind gusts of Ima when it starts its movement. For this assignment, you will write a program that parses through a series of algebraic notation strings and prints out what the map board looks like at the end. To do this, you will first have to leam (or brush up on) how Irma moves (see Appendix A in this document). A complete list of the functions you st implement, including their functional prototypes, is given below in Section 5, "Function Requirements". You will submit a single source file, named IrmaMoves.c, that contains all recuired function definitions, as well as any auxiliary functions you deem necessary- in IrmaMoves.c, you will have to #include any header files necessary for your functions to work, including the custom IrmaMoves.h file we have distributed with this assignment (see Section 4, IrmaMoves.h"). Note: You will not write a main0 function in the source file you submit! Rather, we will compile your source file with our own main) function(s) in order to test your code. We have attached example source files that have main functions, which you can use to test your code. You can write your own main functions for testing purposes, but the code you submit mst not have a main function. We realize this is completely new teritory for most of you, so don't panic. We've included instructions for compiling nmltiple source fles into a single executable (e.g., mixing your IrmaMoves.c with our IrmaMoves.h and testcaseXX.c files) in Sections 6 and 7 of this PDF Although we have included test cases with sample main functions to get you started with testing the functionality of your code, we encourage you to develop your own test cases, as well Ours are by no means comprehensive. We will use nuch more elaborate test cases when grading your submission. 1. Overview The algebraic notation has been used in a few different notation systems to denote the moves made in a game. In our game, we are going to predict the wind speed and wind gusts of hurricane Irma when it starts from a point and moves toward its destination. The Irma's moves with its initial wind speed and wind gusts, and its destination is recorded as a series of strings that look something like this: h6 150 100 f4 "h6 and "f4" are the coordination of start and destination points in a board of 8x8 grid of squares, respectively, while the first integer number denotes the wind speed and the second integer number denotes the wind gusts of Ima when it starts its movement. For this assignment, you will write a program that parses through a series of algebraic notation strings and prints out what the map board looks like at the end. To do this, you will first have to leam (or brush up on) how Irma moves (see Appendix A in this document). A complete list of the functions you st implement, including their functional prototypes, is given below in Section 5, "Function Requirements". You will submit a single source file, named IrmaMoves.c, that contains all recuired function definitions, as well as any auxiliary functions you deem necessary- in IrmaMoves.c, you will have to #include any header files necessary for your functions to work, including the custom IrmaMoves.h file we have distributed with this assignment (see Section 4, IrmaMoves.h"). Note: You will not write a main0 function in the source file you submit! Rather, we will compile your source file with our own main) function(s) in order to test your code. We have attached example source files that have main functions, which you can use to test your code. You can write your own main functions for testing purposes, but the code you submit mst not have a main function. We realize this is completely new teritory for most of you, so don't panic. We've included instructions for compiling nmltiple source fles into a single executable (e.g., mixing your IrmaMoves.c with our IrmaMoves.h and testcaseXX.c files) in Sections 6 and 7 of this PDF Although we have included test cases with sample main functions to get you started with testing the functionality of your code, we encourage you to develop your own test cases, as well Ours are by no means comprehensive. We will use nuch more elaborate test cases when grading your submission

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is focal length? Explain with a diagram and give an example.

Answered: 1 week ago

Question

What is physics and how does it apply in daily life?

Answered: 1 week ago

Question

2. Are you varying your pitch (to avoid being monotonous)?

Answered: 1 week ago

Question

3. Are you varying your speaking rate and volume?

Answered: 1 week ago