Skip to content

Latest commit

 

History

58 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

StarWarsGame

StarWars Logo

This is a quiz game that asks the user about the Star Wars series. It asks if you want to play a character, movie, planet, or rapid-fire quiz about the star wars world. The player can start over after they finish a quiz. It includes a win statement, start staement, and end statement.

Developer

Jackson Payne

UML Document:

StarWarsGame UML

Pseudo Code:

For each quiz:

  • Set names, movies, and planets in other classes
  • Set questions for each variable
  • Display "Welcome to the StarWars quiz Game!"
  • For each question in questions:
    • Display question
    • Get playerInput
    • If playerInput is equal to correctAnswer:
      • say "correct"
    • if playerInput isnt equal to correctAnswer:
      • say incorrect and the right answer
  • AskPlayer "Do you want to play again? (yes/no)"
  • If player wants to play again:
    • Restart the quiz *Else:
    • Display "Thank you for playing. Goodbye!"

Link to Repl Page/Source Code

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages