讲解:COMP SCI 2ME3、C++、C++、ASCII graphicsR|Haskell

Assignment 4COMP SCI 2ME3, SFWR ENG 2AA4March 29, 2019Assigned: March 22, 2019Spec and Code: April 9, 2019Last Revised: March 29, 2019All submissions are made through git, using your own repo located at:https://gitlab.cas.mcmaster.ca/se2aa4 cs2me3 assignments 2019/[macid].gitwhere [macid] should be replaced with your actual macid. The time for all deadlines is11:59 pm.1 IntroductionThe purpose of this assignment is to design and specify modules for playing Conway’sGame of Life. The modules should cover the Model and View portions of the Model ViewController design pattern. You do not need to write a controller. Your unit tests will takethe role of controller.The rules for Conway’s Game of Life can be found at:RulesAn on-line simulator can be found at:https://bitstorm.org/gameoflife/Your assignment is for the module that stores the state of the game board and thestatus of the game. You also need a module that can display (view) the state of the game1board using text based (ASCII) graphics. You may also include other modules in yourdesign.Your specification should be written using LaTeX. All of your code should be writtenin C++. All code files, except for testing files, should be documented using doxygen.Your test code should use catch, version 2.Part 1Step 1Submit your design specification, written in LaTeX, of the MIS for the game state moduleand view module. If your specification requires additional modules, you should includetheir MISes as well. It is up to you to determine your modules interface; that is, youdecide on the exported constants, access programs, exceptions etc. You also determineyour state variables and specify the semantics for your access progCOMP SCI 2ME3作业代写、C++程序设计作业代做、C++编程语言作业代写、代做ASCII graphics作业ram calls. Your designdoes not need to concern itself with performance.The initial state of your game should be provided through a text file. It is up to youto determine the structure of this file. You also need the ability to output the game stateto a file after any iteration. The output file should be in the format of the input file, sothat a new simulation can be started using the output as initial conditions.Your design specification should include an overview/critique of your own design.Please be specific. In particular, you should self-assess how your design performs withrespect to all of the following qualities: consistency, essentiality, generality, minimality,cohesion and information hiding. You also should use comments in your MIS to explainyour intentions. Your goal is to quickly communicate to the marking TA your designdecisions, so that they can make a fair assessment.Part 2Step 2Submit C++ code that matches the specification given in the previous step. You shouldalso submit code that tests your module(s) using catch 2. Document your source codeusing doxygen. You code should include a makefile, with rules make test and make doc.Performance will not be considered in the grading.2Notes1. Your git repo is organized with the following directories at the top level: A1, A2, A3,and A4. Your specification and code files should be placed in the A4 folder2. Please put your name and macid at the top of each of your source files.3. Your program must work in the ITB labs on mills, as specified for A3.4. Any changes to the assignment specification will be announced in class.It is your responsibility to be aware of these changes. Please monitor allpushes to the course git repo.3转自:http://www.7daixie.com/2019041121959591.html

你可能感兴趣的:(讲解:COMP SCI 2ME3、C++、C++、ASCII graphicsR|Haskell)