Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • P project02
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cs2-19wi
  • project02
  • Issues
  • #2

Something went wrong while setting issue due date.
Closed
Open
Created 6 years ago by Ethan Ordentlich@eordentlDeveloper
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Spec Comments

Closed

Spec Comments

General:

  • Add the markers for minimum, goal, and stretch goal

RandomHangmanChooser:

  • To facillitate testing -> To facilitate testing
  • Clarify getGuessesRemaining to state "how many more wrong guesses can the player make before the game ends"
  • Test for exceptions in constructor doesn't match spec
  • Passing in -1 for wordLength should yield an IllegalArgumentException in the constructor, not IllegalStateException as expected by the test
  • IllegalStateException should be tested by passing in Integer.MAX_VALUE or some large number for wordLength
  • Move mention of IllegalStateException for the word list from makeGuess to constructor
  • maxGuesses should be restricted to 1 or greater, as by the interpretation of the tests, when you reach the maximum number of guesses wrong, the game ends. If maxGuesses is set to 0, then the game immediately ends without a guess.
  • In makeGuess, not sure if you want to keep assumption of valid input, or add an exception and corresponding tests

EvilHangmanChooser:

  • Mention somewhere that '-' "alphabetically" comes before any letter
  • Mention somewhere the number of guesses the game starts with

AIHangmanGuesser:

  • Why is the second return bolded...?

Interlude: Playing A Game III:

  • How does it fair? -> How does it fare?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information

Linked issues
0


  • Adam Blank
    Adam Blank @blank · 6 years ago
    Owner

    @eordentl this is a project, not a lab -- so it doesn't have the goals

    @jkarras can you fix the spec stuff?

  • Adam Blank @blank closed 6 years ago

    closed

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Due date
None
None
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
0
0 participants
Reference:

Menu

Projects Groups Snippets
Help