Treasure-Hunt

버전 1.1.0.0 (1.32 MB) 작성자: Ryan Weinstein
​​This modular courseware teaches students basic programming concepts through game development. These concepts include variables, matrices,
다운로드 수: 147
업데이트 날짜: 2023/10/27

Treasure Hunt Game: Learn to Code

View on File Exchange or Open in MATLAB Online

MATLAB Versions Tested

Curriculum Module

Created with R2022b. Compatible with R2022b and later releases.

Information

This curriculum module contains interactive MATLAB® live scripts that teach fundamental concepts and basic terminology related to programming through the development of an interactive treasure hunting game.

Background

You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. This module covers topics such as variables, matrices, conditional statements, strings, arrays, indexing and functions.

Contact Us

Solutions are available upon instructor request. Contact the MathWorks teaching resources team if you would like to request solutions, provide feedback, or if you have a question.

Prerequisites

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 Fundamentals of Programming.

Getting Started

Accessing the Module

On MATLAB Online:

Use the image_0.png link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.

On Desktop:

Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double-click on TreasureHunt.prj. It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.

Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add-On Explorer. To install an add-on, go to the Home tab and select image_1.png Add-Ons > Get Add-Ons.

Products

MATLAB® is used throughout.

Scripts

If you are viewing this in a version of MATLAB prior to R2023b, you can view the learning outcomes for each script here

TreasureHuntLearn.mlx

image_2.png In this script, students will...
- Create and modify variables
- Create and modify colorful plots
- Design and program an interactive game
Academic disciplines
- Programming
- Basic algebra

TreasureHuntPlay.mlx

image_3.png In this script, students will...
- Use the code they wrote in TreasureHuntLearn.mlx to put together a playable treasure hunting game!
Academic disciplines
- Programming
- Basic algebra

TreasureHuntAdvanced.mlx

image_4.png In this script, students will...
- Play a new version of the game they created in TreasureHuntPlay.mlx where the player can input their guess by clicking on the desired square
Academic disciplines
- Programming
- Basic algebra

Related Courseware Modules

Fundamentals of Programming

image_5.png Available on:image_6.pngimage_7.pngGitHub

Programming: Structuring Code

image_8.png Available on:image_9.pngimage_10.pngGitHub

Programming: Organizing Data

image_11.png Available on:image_12.pngimage_13.pngGitHub

Or feel free to explore our other modular courseware content.

Educator Resources

Copyright 2023 The MathWorks™, Inc

인용 양식

Ryan Weinstein (2024). Treasure-Hunt (https://github.com/MathWorks-Teaching-Resources/Treasure-Hunt/releases/tag/v1.1.0), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2022b
R2022b 이상 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Computer Science에 대해 자세히 알아보기
커뮤니티
 Distance Learning 커뮤니티에 더 많은 파일이 있습니다

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Treasure-Hunt/releases/tag/v1.1.0

1.0.1.0

See release notes for this release on GitHub: https://github.com/MathWorks-Teaching-Resources/Treasure-Hunt/releases/tag/v1.0.1

1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.