CSC 3391 A game of Hangmen Spring 2022
Order ID 53563633773 Type Essay Writer Level Masters Style APA Sources/References 4 Perfect Number of Pages to Order 5-10 Pages Description/Paper Instructions
CSC 3391 A game of Hangmen Spring 2022
CSC 3391 – Spring 2022 – Lab 1
Game of Hangman
Objectives:
Work with multiple processes
Become familiar with Inter-Process Communication
Gain experience with an IDE
Due: Wed. March 2, 2022 10:00 PM (via Blackboard); Must demo on Monday March 7, 2022 (5% for demo)
Format: lab will be done individually.
Grade: 15% of your course grade (12% for lab, 3% of demo)
For Lab 1 you may use any operating system that you prefer however a version of Windows might be easier due to more availability of tools and online support.
You may write the program in any language that is supported under any Integrated Development Environment (IDE). Keep in mind that more help may be available to you in some languages than in others. You will be asked to demo your lab in class, the demo will be 20% of the lab grade (must demo regardless of the working status).
You are to implement a game of Hangman. Your implementation should consist of three processes. Each process must have a visible GUI window as it runs. The main process is the manager. The manager process should start the other two (player1 & player 2) processes and manage the game. The player processes may be two copies of the same program. Use whatever mechanism you wish to coordinate among the manager and the player processes (e.g. shared memory, pass messages, use a shared file, etc.). You can check with the Windows Task Manager to make sure that three processes have indeed been started. You must include enough information in the displays of the player processes to convince me that the three processes are communicating.
Hangman
The manager will randomly select a word for the players to guess. You can build a small table of words into the game if you wish. Games on the web typically have a vocabulary of 50K words or so. The words should be fairly long for a real game, but for purposes of easy debugging you might want to have a table of 20 words with shorter word length (i.e. no more than 4 letters, such as “CAT”, “BOOK”, …). The manager process will then call each of the player processes per the rules of the game so that they can make a move. The player processes will display to the user a series of underscore characters to show the user how many letters are in the word. For example, if the word were “CAT” then the player would initially show “_ _ _” to the user. The users try to guess the word by guessing one letter at a time. The player process will report the letter guessed to the manager, and the manager will check to see if the letter occurs one or more times in the word. If the letter guessed by the player is correct then the word is displayed to the user with that letter filled in. For example: “_ A _”. That user then gets another guess. Incorrect guesses are tracked by having the manager draw a “hangman”. The hangman that is drawn has five parts. It might look like this:
The manager will originally display gallows that has a rope dangling from it (or a simple letter “O”). As the players make incorrect guesses the manager draws one part of the hangman at a time. At that point, it will be the other player’s turn to guess, and he will be shown the word with all the letters filled in that have been correctly guessed so far. If the hangman is completed by a wrong guess, then the manager decides that the two players are not going to guess this word and starts a new game. If one player guesses the last letter of a word, then he gets one point. The first player to get 5 points wins the game.
When the game ends, the manager should ask the first user if he wants to play again or exit. If the user wants to play again then the two player processes should be able to realize this is a new game starting and play again. If the user chooses not to play again then the manager process should notify the player processes and they should shut down in an orderly way.
Write-up:
You should submit a write-up which should include any known bugs and limitations in your programs. If you made any assumptions, document what you decided. This write-up should be submitted along with your code. Ideally, your program will be written with Visual Studio and I will be able to use the instructions in your write-up to run your program without your being there.
Submission:
You should ZIP your source files, executable and write-up into a single file and submit via blackboard. Be sure that you include everything necessary to unzip this file on another machine and compile and run it. This might include forms, modules, classes, configuration files, etc. Please do not include system development environment components such as VB or Java runtime system with code. Please name your submitted zip file as:
CSC3391-Lab1-SP2022-lastname1
Please make sure your names and your student IDs are listed in your write-up, and in a comment in your source code. Late submissions will be accepted at a penalty of 10 points per day. This penalty will apply regardless of whether you have other excuses. If your program is not working by the deadline, send it anyway and review it together for partial credit. Do not take a zero on any lab just because the program isn’t working yet. Feel free to research the web on resources however do NOT copy other people’s work.
RUBRIC
QUALITY OF RESPONSE NO RESPONSE POOR / UNSATISFACTORY SATISFACTORY GOOD EXCELLENT Content (worth a maximum of 50% of the total points) Zero points: Student failed to submit the final paper. 20 points out of 50: The essay illustrates poor understanding of the relevant material by failing to address or incorrectly addressing the relevant content; failing to identify or inaccurately explaining/defining key concepts/ideas; ignoring or incorrectly explaining key points/claims and the reasoning behind them; and/or incorrectly or inappropriately using terminology; and elements of the response are lacking. 30 points out of 50: The essay illustrates a rudimentary understanding of the relevant material by mentioning but not full explaining the relevant content; identifying some of the key concepts/ideas though failing to fully or accurately explain many of them; using terminology, though sometimes inaccurately or inappropriately; and/or incorporating some key claims/points but failing to explain the reasoning behind them or doing so inaccurately. Elements of the required response may also be lacking. 40 points out of 50: The essay illustrates solid understanding of the relevant material by correctly addressing most of the relevant content; identifying and explaining most of the key concepts/ideas; using correct terminology; explaining the reasoning behind most of the key points/claims; and/or where necessary or useful, substantiating some points with accurate examples. The answer is complete. 50 points: The essay illustrates exemplary understanding of the relevant material by thoroughly and correctly addressing the relevant content; identifying and explaining all of the key concepts/ideas; using correct terminology explaining the reasoning behind key points/claims and substantiating, as necessary/useful, points with several accurate and illuminating examples. No aspects of the required answer are missing. Use of Sources (worth a maximum of 20% of the total points). Zero points: Student failed to include citations and/or references. Or the student failed to submit a final paper. 5 out 20 points: Sources are seldom cited to support statements and/or format of citations are not recognizable as APA 6th Edition format. There are major errors in the formation of the references and citations. And/or there is a major reliance on highly questionable. The Student fails to provide an adequate synthesis of research collected for the paper. 10 out 20 points: References to scholarly sources are occasionally given; many statements seem unsubstantiated. Frequent errors in APA 6th Edition format, leaving the reader confused about the source of the information. There are significant errors of the formation in the references and citations. And/or there is a significant use of highly questionable sources. 15 out 20 points: Credible Scholarly sources are used effectively support claims and are, for the most part, clear and fairly represented. APA 6th Edition is used with only a few minor errors. There are minor errors in reference and/or citations. And/or there is some use of questionable sources. 20 points: Credible scholarly sources are used to give compelling evidence to support claims and are clearly and fairly represented. APA 6th Edition format is used accurately and consistently. The student uses above the maximum required references in the development of the assignment. Grammar (worth maximum of 20% of total points) Zero points: Student failed to submit the final paper. 5 points out of 20: The paper does not communicate ideas/points clearly due to inappropriate use of terminology and vague language; thoughts and sentences are disjointed or incomprehensible; organization lacking; and/or numerous grammatical, spelling/punctuation errors 10 points out 20: The paper is often unclear and difficult to follow due to some inappropriate terminology and/or vague language; ideas may be fragmented, wandering and/or repetitive; poor organization; and/or some grammatical, spelling, punctuation errors 15 points out of 20: The paper is mostly clear as a result of appropriate use of terminology and minimal vagueness; no tangents and no repetition; fairly good organization; almost perfect grammar, spelling, punctuation, and word usage. 20 points: The paper is clear, concise, and a pleasure to read as a result of appropriate and precise use of terminology; total coherence of thoughts and presentation and logical organization; and the essay is error free. Structure of the Paper (worth 10% of total points) Zero points: Student failed to submit the final paper. 3 points out of 10: Student needs to develop better formatting skills. The paper omits significant structural elements required for and APA 6th edition paper. Formatting of the paper has major flaws. The paper does not conform to APA 6th edition requirements whatsoever. 5 points out of 10: Appearance of final paper demonstrates the student’s limited ability to format the paper. There are significant errors in formatting and/or the total omission of major components of an APA 6th edition paper. They can include the omission of the cover page, abstract, and page numbers. Additionally the page has major formatting issues with spacing or paragraph formation. Font size might not conform to size requirements. The student also significantly writes too large or too short of and paper 7 points out of 10: Research paper presents an above-average use of formatting skills. The paper has slight errors within the paper. This can include small errors or omissions with the cover page, abstract, page number, and headers. There could be also slight formatting issues with the document spacing or the font Additionally the paper might slightly exceed or undershoot the specific number of required written pages for the assignment. 10 points: Student provides a high-caliber, formatted paper. This includes an APA 6th edition cover page, abstract, page number, headers and is double spaced in 12’ Times Roman Font. Additionally, the paper conforms to the specific number of required written pages and neither goes over or under the specified length of the paper. GET THIS PROJECT NOW BY CLICKING ON THIS LINK TO PLACE THE ORDER
CLICK ON THE LINK HERE: https://www.perfectacademic.com/orders/ordernow
Also, you can place the order at www.collegepaper.us/orders/ordernow / www.phdwriters.us/orders/ordernow
Do You Have Any Other Essay/Assignment/Class Project/Homework Related to this? Click Here Now [CLICK ME]and Have It Done by Our PhD Qualified Writers!!