C代写 EEE101 : ASSESSMENT 4代写R实验、R程序代做

IntroductionC语言,实现四子棋游戏,用二维数组模拟棋盘,根据用户输入将用户的棋子放入棋盘,电脑玩家随机放置棋子,游戏过程中在每一步之后判断是否有玩家的4个棋子连成一条直线或斜线,如果有,该玩家获胜。主要涉及的知识是二维数组的操作以及处理用户的输入,根据用户的输入执行相应功能。Requirementimage from: www.amazon.comEEE101 C Programming and Software Engineering 1 – ASSESSMENT 4Assessment Number 4Contribution to Overall Marks 25%Issue Date 14/11/2016Submission Deadline 28/11/2016 at 0900 (9am)Assessment OverviewThis assessment aims at testing some concepts of C programming in particular the use oftwo-dimensional arrays, and the use of pointers to pass them between functions, as well asthe routine of code development using the software development process (SDP) presented inLecture 1, namely the five main steps of the software development process:1. Problem statement: formulate the problem.2. Analysis: determine the inputs, outputs, variables, etc3. Design: define the list of steps (the algorithm) needed to solve the problem.4. Implementation: the C code has to be submitted as a separate file. Just indicate here thename of the file.5. Testing: explain how you have tested and verified your C program.EXERCISE 1 (10 POINTS OUT OF 10)Connect 4 is a game of strategy for 2 players. Each player chooses a counter colour and thenthey take turns to place the counters into a rectangular grid of size M x N (typically 6 x 7).Counters are placed into the top of a column and fall down to occupy the next available slotin that column (see the photo in Figure 1). The game is won when either player is able tocreate a line of 4 counters vertically, horizontally or diagonally.Figure 1: Connect 4 GameThis assignment requires you to use a 2 dimensional matrix together with a modularprogramming strategy to recreate this game using C programming. Your game will allow youto play either against another person, or against the computer who will place counters atrandom.Program Requirements Offer the user a choice between playing the computer or another player. Display the current state of the board to each player You should use one or more 2 dimensional matrices to represent the Connect 4 playingboard declared inside function main() as a local variable and passed to other functions asneeded. As a minimum you should create your own functions to perform. the following tasks:1. input counters;2. check the board for a win;3. display the board;Programming ConstraintsAll variables used must be local.IdeasTry to keep your program as flexible as possible e.g. use constants to define matrix sizes sothat these could be easily changed.Program in small sections, getting each part to work before integrating them all.Consider how to deal with invalid inputs to avoid crashing the program.Consider providing an option to change the matrix size and the winning length (e.g. connect 5)Don’t forget that this is an interactive game, it should be easy to use and look tidyNote: The programme requirements are becoming more vague (less well defined) with eachassignment to allow you the opportunity to interpret the problem in your own way anddevelop your own solution.What should be submitted?You should submit the followings:1) A short report (up to a few pages of text plus C source codes) detailing for each question:a) SDP steps 1 to 3 in the report (Report + Specification + Analysis + Algorithm Design)(40%)b) SDP step 4 (Implementation(35%) + Robustness(10%)): your C source code includingthe comments. (45%)c) SDP step 5 in the report (testing): you will explain your testing methodologyincluding: what you wanted to test, how you have tested it and the outcome of yourtests. (15%). Note: you do not need to include screenshots of resultsPlease refer to the file “EEE101 Marking Guidelines Assignments 4-5” on ICEfor a detailed marking scheme.2) The report in Microsoft Word or pdf format and C source code of your implementationfor each question should be zipped into a single file, i.e. the zip file will contain 4 files,two reports and two source codes. (It is a good practice to include comments in yourcode stating the aim of the program, what are the inputs, what are the outputs, whichalgorithm is used, who is the author and so on.)The naming of Report ( .doc or .pdf), Source Code (.c) and Compressed file (.zip, or .rar) StudentID_LastName_FirstNameAssignmentNumber-QuestionNumber.docx or .pdf StudentID AssignmentNumber-QuestionNumber.c StudentID_LastName_FirstName_AssignmentNumber.zip or .rarFor example 10115085_Zhang_Hanqing_4-1.docx 10115085_4-1.cZipped together into: 10115085_Zhang_Hanqing_4.zipHow the work should be submitted?Should be submitted electronically through ICE so that the marker can run your programsduring marking. Feedback and your grade will also be given through ICE.Remember that you are responsible for ensuring that your C code will run in Visual Studio2013 and that if it does not without documentary explanation you may get a 0 mark for yourimplementation.本团队核心人员组成主要包括BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(C代写 EEE101 : ASSESSMENT 4代写R实验、R程序代做)