treasure-hunt
115.0 次下载
更新时间 2023/1/30
来自 github
treasure-凯发k8网页登录
or
curriculum module
created with r2022b. compatible with r2022b and later releases.
description
this curriculum module contains interactive that teach fundamental concepts and basic terminology related to programming computers. this includes discussion of variables, matrices, conditional statements, strings, arrays, indexing and functions.
these lessons can be used as part of a lecture, as activities in an instructional setting, or as interactive assignments to be completed outside class.
please contact the with any feedback or questions.
get started with the treasure hunt game: learn to code interactive examples
option 1: download to desktop download and unzip the repository. then, double-click the treasurehunt.prj file inside matlab®.
option 2: log in to your mathworks account to access your license. if you are associated with a university, use your university email to access a license.
- the instructions inside the live scripts will guide you through the exercises and activities.
- get started with each live script by running it one section at a time.
- to stop running the script or a section midway (for example, if a loop is running longer than intended), click the stop button in the run section of the live editor tab in the matlab toolstrip.
prerequisite domain knowledge
this module assumes an ability to identify and plot x,y points on a grid. it is also intended for those who have an understanding of basic computer science concepts, such as syntax, variables, and arrays. if you would like more practice with these concepts, we recommend trying the set of exercises in .
details
treasurehuntlearn.mlx
this script walks the learner through the necessary steps to build the treasure hunting game, while teaching the relevant computer science concepts along the way.
treasurehuntlearnsoln.mlx
this script contains the solutions for the treasurehuntlearn.mlx script.
treasurehuntplay.mlx
this script contains a barebones version of the playable treasure hunt game, with guidance for the learner to paste their code from treasurehuntlearn.mlx in order to make the game playable.
treasurehuntplaysoln.mlx
this script contains the solutions for the treasurehuntplay.mlx script.
learning goals
- recognize and assign values to variables
- recognize and use built-in matlab functions and live controls
- interpret messages about syntax errors
- write comments in code and explain their importance
- use documentation to learn new functionality in a programming language
- assign values to the elements of a matrix and manipulate matrices
- identify and use conditional statements
- create and use custom functions
products
matlab®
license
the license for this module is available in the license.txt file in this github repository.
support
if you would like to provide feedback or have a question, contact the .
凯发官网入口首页 copyright 2023 the mathworks, inc.
引用格式
ryan weinstein (2023). treasure-hunt (https://github.com/mathworks-teaching-resources/treasure-hunt/releases/tag/v1.0.1), github. 检索来源 .
matlab 版本兼容性
平台兼容性
windows macos linux标签
社区
community treasure hunt
find the treasures in matlab central and discover how the community can help you!
start hunting!探索实时编辑器
创建集代码、输出和格式化文本于一体的可执行脚本文档。
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.1.0 | see release notes for this release on github: |
|
|
1.0.0 |
|