What you will learn
- Recall project planning basics from last semester
- Identify factors to use when choosing between project ideas
- Rank a group of proposed project ideas using the identified factors
Do Now
In your Notebook
Write the following
Pitch - describe the basic functionality of the app in one paragraph of less
Define - List the features/scenarios the app will support
Sketch - Draw a very basic wireframe sketch of the main “screens” of the app
Expand - Build a comprehensive spec document, leaving out steps or requirements will make it difficult to plan effectively and will likely force major changes or cuts later.
Plan - Based on the feature list and spec, create a full development plan making sure to keep an eye on the total amount of time required and to include buffer for things going wrong. Be sure to prioritize tasks so that cuts can be made if necessary.
Start Coding - once you have your plan written begin to implement the project according to your plan.
Project Ideas
Racetrack Game
3 sprites (characters) start at the left side. User picks a winner. For each of the 3 sprites, a random number 1-5 is generated for each sprite. After the three numbers are generated, the sprite are moved to the right (blanks insert before sprite). First sprite to cross 100 spaces from left wins. If more than one, the one farthest to left wins. If still tied, the winner is picked by a random number.
Adventure game
3 floors, 3 rooms on each floor. Rooms can have dragons, stairs up, treasure, etc. Have to kill dragon and get treasure to win. Use enters a room, can get inventory of things in room.
Battle
Battle different monster with different super powers (pokemon)
Card game war
where a deck of 52 cards (1-13) are shuffled and dealt out to two players. The cards are played one from each deck and the higher card wins and is added to the winners deck. If a tie, filip over cards until one player wins all the cards in the war. The game continues until one player has all cards,
Card games - Old Maid, Fish
Convert numbers to/from Roman Numerals
Rock/paper/scissors
Simple baseball/soccer game
Use random numbers and batting averages for two teams, probabilities of hits, outs, double play, errors, etc., play for 9 innings or until a team wins
Additive persistence
Additive Persistence is a property of the sum of the digits of an integer. The sum of the digits is found, and then the summation of digits is performed on the sum, repeating until a single integer digit is reached. The number of such cycles is that integer’s additive persistence. Consider the following example: 1. The beginning integer is 1234 2. Sum its digits is 1+2+3+4 = 10 3. The integer is now 10 4. The sum of its digits is 1 + 0 = 1 5. The integer is 1. When the value reaches a single digit, we are finished. This final integer is the additive root The number of cycles is the additive persistence. The integer 1234 has an additive persistence of 2 (first sum was 10, then the second sum was 1). The final digit reached is called the integer’s additive digital root. The additive digital root of 1234 is 1. The multiplicative persistence and resulting multiplicative root are determined the same way, only multiplying the digits of an integer instead of adding. For example 1. The beginning integer is 1234 2. The product of 1234 = 24 3. The integer is now 24 4. The product of 24 = 8 5. The integer is now 8. When the value reaches a single digit, we are finished. This final integer is the multiplicative root. As before, the number of cycles is the multiplicative persistence. For 1234, the multiplicative persistence is 2, and its multiplicative root is 8.
Some Other Ideas
- A 2-player game
- A single-player game (player vs computer)
- A calculator with buttons
- A choose your own adventure novel (use buttons to make a choice.)
- A jigsaw puzzle (or other type of puzzle)
- Tic-tac-toe [we have since made this Project 3]
- A shopping list (With choice to add items and to mark them as purchased)
- A program that randomly picks a person from the class, using bouncing balls to represent each person (does this ring a bell?)
- A car racing simulation where you can put a bet on one of the cars
- A physics simulation showing the effect of gravity on different (real) planets
- A Jeopardy-style gameshow quiz
- A virtual pet
- A “spin-the-wheel” app that does something depending on where the w4eel randomly spins
- A recipe book which lets you click on a recipe to show the steps, with multiple possible recipes (and images)
- A command-line calculator program using Python.
- A quiz game with multiple wacky and nonsensical questions (basically a guessing game) which also had a bunch of random minigames like “catch the ball” to cleverly incorporate some of the block requirements we expected.
- A science trivia game
Check your understanding
Pick an answer for each question. You can try again until you get it right.
1. Why rank project ideas using factors before choosing one?
- Ranking guarantees every project is easy
- It compares ideas on the same criteria, so the choice is based on reasons rather than guesses
- The highest-ranked idea never needs planning
- It lets you skip the design steps
Using shared factors helps you pick an idea that fits your skills and time.
2. Which factor is most useful when comparing project ideas?
- How impressive the name sounds
- How many words are in the pitch
- Whether it can realistically be finished in the time available
- Whether another student picked it
A project that is too big to finish is a risk, so feasibility is a key factor.
3. What is the purpose of the Pitch step?
- Describe the app’s basic functionality briefly so others can understand and evaluate it
- Write all of the code
- Build the full schedule
- Draw every screen in detail
A pitch is a short summary, and later steps add detail.