Hướng Dẫn Nghiên Cứu Trường Hợp GridWorld Trong Lập Trình Máy Tính

Trường đại học

San Jose State University

Chuyên ngành

Computer Science

Người đăng

Ẩn danh

2007-2008

80
0
0

Phí lưu trữ

30 Point

Mục lục chi tiết

Table of Contents

1. I. “Content-Enrichment” Articles

1.1. A. The Design of the GridWorld Case Study

1.2. Instructional Units/Lessons

1.2.1. A. Early Exercises with GridWorld

1.2.2. Board Game Projects

1.2.3. Ant Farm Project

1.2.4. Save My Heart

1.3. About the Authors

2. Introduction

3. Special Focus: GridWorld Case Study

3.1. The Design of the GridWorld Case Study

3.1.1. Abstract

3.1.2. A Brief History of GridWorld

3.1.3. Design Decisions

3.1.3.1. Actors Store Their Location
3.1.3.2. The Out-Of-Subset instanceof Operator
3.1.3.3. Grid Types are Generic
3.1.3.4. No Direction class
3.1.3.5. Eight neighbors
3.1.3.6. No Random Singleton
3.1.3.7. You Can’t Save the World
3.1.3.8. Actors Are Concrete
3.1.3.9. Critter Methods Have Restrictive Postconditions

3.1.4. Under the Hood

3.1.4.1. How a World Is Displayed
3.1.4.2. How Grid Occupants Are Painted
5886 2 computer science pp ii 76 indd