Build an iPhone game in your browser
Edit code for a basic turn-based game. The code uses the Swift programming language, but the concepts you learn will apply to all programming languages. You will use variables to store data and functions to define pieces of code. You will also use if-then-else statements to decide which piece of code to run and for-loops to run a piece of code multiple times. Start off by creating a critter to compete with other critters. Your critter knows some moves, but it's up to you to train it when to use them -- using code! Follow the steps closely and your critter's training will be complete in no time!
Additional details
Year band(s) | 7-8, 9-10 |
---|---|
Content type | Course or tutorial |
Format | Web page |
Core and overarching concepts | Implementation (programming) |
Technologies & Programming Languages | other programming languages |
Keywords | Computer science, Coding, Programming, Computational Thinking, Swift, Programming language, Online code editor, Edit code, Remix, Game creation, Gaming |
Organisation | Make school |
Copyright | 2016 Make School. May be subject to Copyright Act statutory licence. |
Related resources
-
A matter of style
In this lesson sequence, students using the Zen Garden website reflect on criteria for effective design.
-
Google CS First: Storytelling
CS First: Storytelling guides students to use block-based coding in Scratch projects through a series of themed activities.
-
Scope and sequence overview
This resource provides a possible set of sequenced topics that could be used in teaching the Australian Curriculum Digital Technologies curriculum to address the content descriptions of the curriculum.
-
F-2: Digital systems: Hardware and software
At the F-2 level, students develop understandings of digital systems (hardware and software) when they use some key functions to undertake authentic curriculum tasks.
-
F-2: Digital systems: Changes in Technology
Changes to technology over time has affected many aspects of life.