PLAN: Choose one part of the problem to solve first. What is the goal of the level? What smaller goals do you see along the way? That’s where the Engineering Cycle comes in:ĭECOMPOSE: Understand and break apart the problem. Remind students that engineering is all about solving problems, and the first rule of engineering is that no one gets it right the first time. Once they beat the computer, they can choose "Easy" to play against their classmates.They should keep revising and improving their program until it is good enough to beat the computer. The first time they play, they should choose "Warm-Up" to play against the computer.(We suggest randomly assigning half of the students to each team.) First, they should click to select the Red (Human) or Blue (Ogre) team.Then they should make the changes and submit again, as many times as they like. Encourage them to submit code, observe the output, and look for places where revisions could help a goal to be achieved more quickly, help a player to stay alive longer, etc. They'll test and revise their program over and over the get the best time they can. They'll be writing an artificial intelligence program to beat a complicated level in a race against an opponent. Explain and demonstrate how the Arena works, making sure to cover the following points: Tell students that they're going to put all their learning together today in a special activity called an Arena. Opening Discussion (5 minutes): Introduction to Arenas Explain CCSS-Math: MP.2 Reason abstractly and quantitatively.CCSS-Math: MP.1 Make sense of problems and persevere in solving them.CSTA: 3B-AP-09 Implement an artificial intelligence algorithm to play a game against a human opponent or solve a problem.CSTA: 1B-AP-15 Test and debug (identify and fix errors) a program or algorithm to ensure it runs as intended.CSTA: 1B-AP-13 Use an iterative process to plan the development of a program by including others' perspectives and considering user preferences.Use an iterative process to develop a program that solves a problem.Optional: Python Syntax Guide or JavaScript Syntax Guide.Sequencing, syntax, strings, while True loops, variablesįunctions, if statements, events, parametersīoolean logic, nested conditionals, arithmetic There are four Arenas in CodeCombat: Arena Students can also work collaboratively using a pair programming approach, which may make the competition more comfortable for some students. The friendly competition in this level is intended to motivate students to apply an iterative development process, creating and testing multiple possible solutions. Students first develop an algorithm that will defeat a computer opponent, then they compete against classmates, refining their algorithm to beat the level as quickly as possible. The Arena levels, when used as course-end capstones, provide opportunities for students to creatively apply all the concepts they have learned to develop a program that solves a problem. Time: 1 or 2 x 50 to 60-minute sessions Overview
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |