Get Instant Help From 5000+ Experts For
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing:Proofread your work by experts and improve grade at Lowest cost

And Improve Your Grades
myassignmenthelp.com
loader
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!
Free Quote
wave
COMP 1405/1005 (Fall 2022) - Assignment 06: Introduction to Computer Science I

COMP 1405 /1005 (Fall 2022 ) − "Introduction to Computer Science I" Specification for Assignment 06 Your submission for this assignment must include your full name and you r nine -digit student number as a comment at the top of the source file you submit . All source code files must be written using the Python 3 programming language . Submissions that crash (i.e., terminate with an error) on execution will receive a mark of 0 . Officially, the Due Date f or this Assignment is: Friday, November 4 , 202 2 , at 11:59pm EST . Late Submissions are Accepted Without Penalty Until Sunday, November 6, by 11:59pm EST. Submissions received after that will not be accepted and will receive a mark of 0. For this assignment you will design and implement a simple board game, and then animate a random playthrough (using pygame) by two computer -controlled opponents , updating the display after each player's turn . An observer "watching" the game should see the dice value s rolled by the current player, and if the game requires additional elements (e.g., "snakes " and "ladders ") then these must also be depicted. This assignment will allow you to work with more complex nested loop ing structures, and will also help you recognize the need for functions (coming soon, but not required here). In order to complete this task, y ou will need to: • choose the grid 1 for your game board from these options 2: 42, 56, 72, 90, 110, 132, 156 • choose how many (at least 2) and what type of "dice" will be used 3 to play your game • choose and implement at least two of the board game "features " from Table 1, below Your submission for this assignment : • must be a source code file with filename 'comp14 05_f2 2_#########_ assignment _0 6.py' • must use a WHILE loop for the game, terminating when either player reaches the end • must draw a checkerboard pattern for your board game using pygame and nested FOR loops • must draw the players on the board and use variables to store the location of each player • must alternate "turns" between the two players • must roll "dice" (using random .randint ) each iteration, for the player whose "turn" it is Table 1. Board Game "Features" to Consider "Ladder Connections" reaching certain squares advances player to others "Snake Connections" reaching certain squares returns player to others "Numbered Tiles" all squares numbered using a pygame.font "Double Moves" permit a double move on certain conditions "Extra Turns" grant an extra turn on certain conditions "Missed Turns" force a lost turn on certain conditions "Exact Requirements" players can't move past the end of the board "Sorry Collisions" if player lands on other, send it back to start …other features might also be acceptable - contact your instructor if you want to try something more complex ! 1 Please note that the available options are all "pronic numbers", meaning they can be easily arranged on a rectangular grid . 2 A grid with height or width less than four (e.g., a 1 x 42 grid) is not acceptable; b oth height and width must be at least four 3 For example, y ou migh t use two 6 -sided dice (i.e., 2d6) , three 4-sided di ce (i.e., 3d10), two 2-sided dice (i.e., coins) , etc.

support
close