
Rock, Paper, Scissors, Star Wars
The coding is strong with these classes! Game-U’s Teen.Coders and Kids.Coders both hit milestones this month, with Teen.Coders embarking on a new project – Rock Paper Scissors, the human vs. AI edition! – and Kids.Coders kicking off their own newest assignment, a Star Wars themed personality quiz! (I got Ahsoka Tano. I win!)
Rock Paper Scissors
Meet the human vs. AI edition of Rock Paper Scissors, where the AI selects a random choice (Rock, Paper, or Scissors, which are represented by 1, 2, or 3) and then the human selects a choice. That’s what our Teen.Coders are working on this month! Input is validated, so that the user can only enter 1, 2, or 3. You can play endless rounds (rounds are tracked) and the winner of each round is always determined and announced. Right now, our students are burning through the program, already halfway through and focusing on the if-else statements (very nested if-else statements, apparently!) that go through all the logical comparison possibilities for both the human’s and the AI’s selections. Next, they plan on tackling the input validation with a custom-built method – and then, when they’re done, maybe even writing up a customized variation of the program with some cool adaptations, like a version where the AI is cheating (gasp!) or where you can win the best out of three!
Star Wars Personality Quiz
Game-U’s Kids.Coders are also excited and ready to go to work – on their Star Wars Personality Quiz! This particular game has no fewer than three Star Wars characters in the running, and each character has a “score” variable. Each question asked in the quiz has an answer that adds 1 point to each character. Each quiz question has 3 questions total, and each character has the possibility of getting 1 point from that question, depending on what the user answers. Once you reach the end of the quiz, your results (percentages) are printed. Rather than being assigned a particular character you must resemble, you’re given a score sheet of the percentage you resemble each character! Our gleeful Kids.Coders covered adding the questions and overall program structure for now; next up, they plan to continue working on the methods that support quiz function (attributing question answers to the right variable, validating user input, and calculating and printing the quiz results).
Amazing work, all of you! Don’t stop now – keep reaching higher!