Lab 11: BYOW Introduction

Lab assignments continue with Lab 11 (after Lab 8), Lab 9 and Lab 10 were days dedicated to working on Project 2.

Prerequisites to running the code.

Instructions: https://fa22.datastructur.es/materials/lab/lab11/

Solution: https://github.com/tomthestrom/cs61b/tree/master/lab11/PlusWorld

This lab served as an intro to the Tile Rendering engine which we will use to build our own world (BYOW - Build Your Own World) in Project 3.

As such, it's not really an exercise in using DS&A, more like a tutorial on how to draw various types of tiles.

Part 1 - Meet the tile rendering engine explains how the rendering engine works.

Part II: Use the Tile Rendering Engine

Plus World Intro

Above, we’ve seen how we can draw a world and generate randomness. Your task for the first half of lab is to use the tile generator we’ve seen to make a plus shape, like below.

Implementation

Last updated