![]() The rows are labeled 1 - 6 and the columns are labeled 1 - 6. The game board is a 6-column by 6-row suspended grid. Please use ‘P’ as player’s penguin and ‘A’ to represent the AI’s penguin. In this project, you only need to implement this game for two players and each only has 1 penguin to play in this game. In your implementation you will use P (for Player) and A (for AI) characters in place of the colors. Please see the Wikipedia entry for more details. The objective of the game is to collect the most points in the game to win. ![]() ![]() The hexagons has 1-3 points and will be collected when player’s penguin move out from it. Traditionally, Hey’ that my Fish! game is a 2-4 player game in which the players first choose a color of penguins and then take turns moving one of his/her penguins in a straight line as far as he/she wishes, as long as there is a continuous line of vacant hexagons between the penguin's starting and destination hexagons. This semester, all projects are individual work (not done in groups), unlike the challenges and labs! The focus of this project is primarily on exercising an introductory understanding of the C programming language including basic data types, looping and conditional constructs, arrays, iteration, basic I/O, formatted output, and functions. The game will be interactive and played between a human user and an AI (artificial intelligence). The goal of this project is to implement the game Hey, that’s my Fish! using the C programming language. INSTRUCTIONS TO CANDIDATES ANSWER ALL QUESTIONS C Programming The goal of this project is to implement the game Hey, that’s my Fish! using the C programming language.
0 Comments
Leave a Reply. |