Assignment 02 (Due: Monday, March 25, 2019, 11 : 59 : 00PMCentral Time)CSCE 3221 InstructionsIn this assignment, you will be required to write Haskell functions that simplify playing of thevariation of Connect Four.1.1 Data File SpecificationAn example of properly formatted file is shown in Figure 1.test03.cnfFigure 1: A properly formatted encoding2 One Player, One MoveThe first part (onePlayerOneMove in the file csce322 assignment 03 part 01.hs) will take in two(2) arguments (a game and a move) and returns the game that is the result of Player 1 droppinga 1 into the column of the game denoted by the move. The 1 should fall (move down through the-’s in the column) until it reaches a space that is not - or reaches the last row in the game. Anexample is provided below1test03.cnf�test03.onePlayerOneMove.solution Result �3 One Player, Many MovesThe second part (onePlayerManyMoves in the file csce322assignment03part02.hs) will take intwo (2) arguments (a game and a list of moves) and returns the game that is the result of Player1 playing each move in succession (following the rules of onePlayerOneMove) until all of the movesin the array have been played, or Player 1 has placed four (4) 1’s in a row horizontally, vertically,or diagonally.test03.cnf� �test03.onePlayerManyMoves.solution Result �4 Many Players , One MoveThe third part (manyPlayersOneMove in the file csce322assignment03part03.hs) will take in two(2) arguments (a game and a list of moves) and returns the game that is the result of each playerin the game making exactly one move until each player has completed a move or a player has wonthe game (placed four of their pieces vertically, horizontally, or diagonally). Player 1 places 1s,Player 2 places 2s, etc. (you may assume the highest number in the provided game is the numberof players in the game). The moves are made in the order they appear in the moves array.test03.cnf,[1 ,4 ,4 ,3 ,4 ,5 ,3 ,6 ,5 ,2 ,4 ,5 ,5 ,2 ,4 ,3 ,6 ,2 ,6 ,1 ,1 ,1 ,5 ,4 ,3 ,5 ,6 ,3 ,6 ,6 ,2 ,3 ,4 ,4 ,4 ,6 ,1 ,5 ,4 ,6 ,6 ,6 ,2 ,6 ,5 ,3 ,4 ,5 ,3 ,5])test03.manyPlayersOneMove.solution Result �5 Many Players , Many MovesThe fourth part (manyPlayersManyMoves in the file csce322assignment03part04.hs) will take intwo (2) arguments (a game and a list of moves) and returns the game that is the result of each playerin the game taking turns making a move until all of the moves in the array have been exhaustedor a player has won the game (placed four of their pieces vertically, horizontally, or diagonally).Player 1 places 1s, Player 2 places 2s, etc. (you may assume the highest number in the providedgame is the number of players in the game).test03.cnf�,Page 4[1 ,4 ,4 ,3 ,4 ,5 ,3 ,6 ,5 ,2 ,4 ,5 ,5 ,2 ,4 ,3 ,6 ,2 ,6 ,1 ,1 ,1 ,5 ,4 ,3 ,5 ,6 ,3 ,6 ,6 ,2 ,3 ,4 ,4 ,4 ,6 ,1 ,5 ,4 ,6 ,6 ,6 ,2 ,6 ,5 ,3 ,4 ,5 ,3 ,5])test03.manyPlayersManyMoves.solution Result 6 Extra Credit (10%)Games will contain an arbitrary number of players.7 Naming ConventionsYour files should follow the naming convention ofcsce322assignment03part01.hs, csce322assignment03part02.hs, csce322assignment03part03.hs,and csce322assignment03part04.hs.7.1 Helpers.hsA file named Helpers.hs has been provided with the functionality to read the .cnf files into lists.If a modified Helpers.hs file is not included with your submission, the default will be used in itsplace.8 webgrader NoteSubmissions will be tested with ghc. cse.unl.edu is currently running version 8.0.2 of ghc.9 Point Allocation10 External ResourcesLearn Haskell Fast and HardLearn You a Haskell for Great Good!Red Bean SoftwareFunctional Programming Fundamentals The Haskell CheatsheetPage 5Component Pointscsce322assignment03part01.hsCompilation 10Test Cases 1 × 10Total 20csce322assignment03part02.hsCompilation 10Test Cases 1 × 10Total 20csce322assignment03part03.hsCompilation 10Test Cases 1 × 20Total 30csce322assignment03part04.hsCompilation 10Test Cases 1 × 20Total 30Total 100�本团队核心人员组成主要包括硅谷工程师、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