Can you guys do my project by tomorrow at midnight? The file attached has the project description.
* * * * * ** ** ** *** *
GENERATION 1 ** * ** * **** ** ** ** GENERATION 2 ** * ** ** * GENERATION 3 *
Get Help With a similar task to - Can you guys do my project by tomorrow at midnight? The file attached has the project description.
CS/CE 1337 – PROJECT 2 – SimMold Pseudocode Due: 2/17 by 11:59 PM (No late submission) Implementation Due: 2/25 by 11:59 PM (No late submission) Final Code Due: 3/3 by 11:59 PM KEY ITEMS: Key items are marked in red. Failure to include or complete key items will incur additional deductions as noted beside the item. Submission and Grading: • The pseudocode will be submitted in eLearning as a Word or PDF document and is not accepted late. • All project source code will be submitted in zyLabs. o Projects submitted after the due date are subject to the late penalties described in the syllabus. • Programs must compile using gcc 7.3.0 or higher with the following flags enabled o -Wall o -Wextra o -Wuninitialized o -pedantic-errors o -Wconversion • Type your name and netID in the comments at the top of all files submitted. (-5 points) Objectives: • Allocate memory dynamically • Utilize pointers to directly manipulate memory Problem: Simulation games remain a popular genre of video games and you have decided to capitalize on their success by designing SimMold. Given an area randomly populated by single mold spores, players will be able to watch their cultures thrive (or die) throughout many generations of bacteria. Your program will drive the simulation and display each generation before recording the last generation into a file. Pseudocode: Your pseudocode should describe the following items • Main.cpp o List functions you plan to create ▪ Determine the parameters and return type ▪ Detail the step-by-step logic that the function will perform o Detail the step-by-step logic of the main function SimMold Rules • Each cell has at most 8 neighbors (cells on the edge of the world will have fewer): 1 2 3 4 Cell 5 6 7 8 • If a cell contains a mold spore and has fewer than 2 neighbors, the mold spore dies. o A neighbor is a mold spore in one of the 8 spots (or fewer if on the edge) around a cell • If a cell contains a moldspore and has more than 3 neighbors, it dies from overcrowding. • If an empty location has exactly three neighbors, a mold spore is born in that location. • All births and deaths happen simultaneously. o No changes should be made to the world until all cells have been tested. Details • The world in which the mold lives will be implemented as a 2 dimensional array. • The array will be dynamic o The size of the array will be determined by the file containing the initial mold generation. o You may create a dynamic multi- or single dimension array ▪ Dynamic multi-dimensional arrays require double pointers (which we will not cover) ▪ This is an option for students with a more advanced skill set. o Remember that standard multi-dimensional arrays in C++ are stored as single dimension arrays in memory ▪ This may be easier to work with than the double pointers. • The initial mold generation will be read from a file. • The use of pointers is required to traverse the array. • You must use smart pointers to interact with the array. o Bracket notation (-20 points if used) is not allowed for accessing the array Input: Prompt the user for the name of the file containing the initial generation of mold. Each line in the file will represent a row in the 2D array. The array you create is to be no bigger than the initial mold generation presented in the file. You will need to determine how many rows and columns are in the file before creating the array. Each row will contain two types of characters – an asterisk (*) or a space. An asterisk represents a mold spore and the space represents an empty cell. Each line of the file will end with a newline character, except the last line. The last line may or may not have a newline character at the end Once the file has been read into memory, prompt the user to enter the number of generations to simulate. The maximum number of generations allowed for simulation is 10. You must validate that the user only enters an integer from 1 – 10. If the user enters invalid data, display an error message and prompt the user for correct input. Output: After the user has entered a valid number, display each generation to the console. Include a header before each generation: Generation <number>. For readability, display a blank line between generations. Use an asterisk (*) to indicate a mold spore during output and a space to indicate an empty cell.
Tutlance Experts offer help in a wide range of topics. Here are some of our top services:
- Math homework help
- Nursing homework help
- Statistics homework help
- Nursing coursework help
- Capstone project writing services
- Essay writers for hire
- Case study writing help
- Buy college papers online
- Buy college research papers
- College homework help
- Professional resume writing services
- Programming homework help
- Coursework writing help
- Term paper writing help
- Biology homework help
- Do my physics homework
- Dissertation data analysis help
- PhD Dissertation writing services
- Chemistry homework help
Post your project now for free and watch professional experts outbid each other in just a few minutes.