Can you guys do my project by tomorrow at midnight? The file attached has the project description.

C++


sample input:

   *   *
*  *  * 
** ** **
 ***   *


sample output:

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.

Login to view and/or buy answers.. or post an answer
Additional Instructions:

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.

Related Questions

Similar orders to Can you guys do my project by tomorrow at midnight? The file attached has the project description.
18
Views
0
Answers
Nested imbalanced design of expriment using Box-Adjusted wald-type test
I need to provide statistical analysis of a nested design non-balanced design of experiment. I am hoping to have the implementation in either R, SPSS, or both. I will need the answers to be provided as shown in the attached file (Project.docx), and also wo...
32
Views
0
Answers
CMPT 200 Coding Homework
Write a class called Fraction that can store a rational number (reminder: those numbers that can be expressed in the form a/b, where a and b are integers are rational numbers). For example, a variable with a value of ½ would be created using oneHalf ...
15
Views
0
Answers
Artificial Inteligence System Technique
This is a Master Degree course and I have attached example questions, there are 5 questions and only 3 need to be answered. We will get the actual questions on the day of the exam and they need to be completed within 2 hours, which means the expert has to ...
18
Views
0
Answers
Simulating Networks
Here are the details of first assignment for Computer Networks class. This is a pretty basic assignment with very little work but you will have to do initial setup for virtual box on your machine. Here are the details on how to do the setup: Download virt...