Final project inspiration
There are many projects you could build to meet the requirements. Below are a few suggestions.
1 - Quiz Game
Use a list to store the questions in your code.
- Display each question to the user
- Accept the user’s answer to the question
- Count the user’s correct answers (and optionally wrong answers)
- At the end of the game, show the results
Stretch Goal: Use Remote Data
Instead of having the questions fixed in code, use a web-based API like Open Trivia to fetch questions and answers for the game. To use the API, select the options you want (e.g., category, difficulty, type) then click “Generate API URL.” This will give you a link like this where you can fetch questions and answers.
2 - Choose Your Own Adventure Game
Design a text-based adventure game that involves writing prompts, then using conditional logic to branch to different parts of the story.
- Display parts of the story to the user, and prompt them for a decision
- Accept input from the user about their decision
- Show the results of their decisions, and the next choice
See this article for some examples of text-based adventure games, or try playing The Dreamhold, or Zork.
3 - Tic Tac Toe Game
Expand on the Tic Tac Toe game you developed in the live classes to add new features that make the game complete.
Some features you might add:
- Add a start menu with different options
- Add New Game option that handles all the win scenarios, and asks users to play another round.
- Add A Previous Games feature, that keeps track of the previous games results.
- Add A Top Score feature, that keeps track of the top score and name of the player who received it.
There’s lots of creative ways to make the game more interesting and fun to play. Come up with some of your own and try them out!
4 - Chatbot
Together with your teammates, write a chatbot program that answers with information about your team, interactively.
Welcome the user, then prompt them with different options. Depending on the option they choose, your program should print out information. Use a combination of loops, list access, and conditional statements to display the information requested by the user. Your chatbot should handle bad inputs gracefully. If the user types in a word when the program wants a number, or enters a number that's out of range, the program should not crash.
Here's a sample of a working chatbot by the Kibo Team: Kibo Chatbot
Be creative! As long as your bot has info about your squad, you can add anything else that you like.
5 - Other Ideas
As long as you are creative and demonstrate all of the concepts covered in the course, you can come up with your own project idea. If you do, remember to message your instructor to get feedback before you start coding. Other ideas might be:
- Use Python Turtle to draw cool graphics, or make a more visual game
- Write a "Mad Libs" style program that fills in the blanks of a story based on user input
- Design an interactive calculator program
- Make a program that picks words from lists to generate poetry
There are tons of other possibilities, so use your imagination!
Examples of Past Student Projects
Here are examples of past student projects, showing what kind of project you can build. Remember, you're not restricted to building a project exactly like these - they are just a starting point.