Pascal Project : The Scissors-Paper-Stone Game (This program must look good and be well commented with (detailed structured diagram with identifer list in a word document which can be oped in microsoft word 2000) This program must be done with either Borland Pascal for windows version 7 or Turbo Pascal 1.5 for windows only. Procedures with Parameters must be used in the source code. The Program must do the following: Design and implement the SPS game in which one player plays against the computer. The rules are as follows: The player of the game chooses either Scissors or Paper or Stone. The computer also chooses one of these at random. If scissors and paper are chosen, scissors wins (scissors cut paper). If scissors and stone are chosen, stone wins (stone blunts scissors). If paper and stone are chosen, paper wins (paper wraps stone). If both choose the same object, it is a draw. The game is repeated and both player and computer are given 2 points for a win or 1 point for a draw. The first to gain 10 points is the overall winner. The specification for the program is as follows: 1) When the program starts, a suitable welcome screen is displayed 2) The player is then asked to enter their name and given brief instructions as to how to play the game. 3) The game now starts and the player is asked to choose: Scissors (X) or Paper (P) or Stone (S) 4) The computer then makes its random choice. (1: represents Scissors, 2: Paper and 3:Stone) 5) The screen display then shows the two choices and the program works out who has won (or drawn) using the rules in the introduction above and displays the result 6) The appropriate points are added to the scores and the current scores are displayed for computer and player. 7) The game is repeated until someone's score reaches 10. When this happens a final message is displayed saluting the Winner.
SPS Game Extension Work 1) Get the game to repeat so that any number of players can play the game 2) All names and scores achieved are stored in an array and at the end, these are all displayed, with the best and worst scores clearly shown. 3) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 4) Complete ownership and distribution copyrights to all work purchased. 5) Must work on windows 98 and xp 6) In the comments it must say that Leslie Welch designed this program and have no trace that someone else wrote it as this is a piece of course work for college.
Windows 98 and windows XP pro