CodeBlanks Logo Icon CodeBlanks

Project overview

Learn what to build in this project and in which order.

The project plan

A project plan turns the tasks for your first scene into an ordered list. With a plan you always know which step you are on, and you never move on before finishing the current step. Your first scene plan has four steps.

// Ilk sahne plani
1. Kamera ve isigi yerlestir
2. Kupu sahneye ekle
3. Malzeme olustur ve ata
4. Play ile test et

This order makes the scene visible first, then colored, and finally tested.

Scope

Scope defines what the project includes. The scope of your first scene is deliberately kept small: a single camera, a single light, a single cube, and a single material. A small scope makes the work easier to finish and easier to debug.

// Kapsam
Kamera: 1 adet
Isik: 1 adet
Kup: 1 adet
Malzeme: 1 adet

Adding more objects may look tempting; finish the current scene first and add new ones later.

Practice Print the plan

Define a string[] array named plan holding "Kamera ve isik", "Kup ekle", "Malzeme ata", and "Test et". With a loop, print every step on its own line using Console.WriteLine. Expected output:

Kamera ve isik
Kup ekle
Malzeme ata
Test et

Starter code

Player.cs
using System;

class Plan {
    static void Main() {
        // 1) "Kamera ve isik", "Kup ekle", "Malzeme ata", "Test et"
        //    elemanlarini iceren bir plan dizisi olustur
        // 2) Dongu kur ve her adimi ayri satirda yazdir
    }
}

Sample solution

Player.cs
using System;

class Plan {
    static void Main() {
        string[] plan = { "Kamera ve isik", "Kup ekle", "Malzeme ata", "Test et" };
        foreach (string adim in plan) {
            Console.WriteLine(adim);
        }
    }
}

Expected output

Kamera ve isik
Kup ekle
Malzeme ata
Test et

Questions and answers

Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.

1 What is a project plan for?

  • Shrinking the file size of the game
  • Speeding up the computer
  • Coloring scene objects automatically
  • Putting the steps in order Correct answer

Explanation: A project plan turns the tasks into an ordered list, so you complete every step in order.

2 Complete the plan step

Question
string[] plan = { "Kamera ve isik", "____", "Malzeme ata", "Test et" };
Answer
string[] plan = { "Kamera ve isik", "Kup ekle", "Malzeme ata", "Test et" };

Explanation: The second step of the plan is adding the cube to the scene; saving, menu, and sound steps are outside this plan's scope.

3 Project plan and scope

Term Meaning
project_plan Ordered list of steps
scope What project includes — boundary
Küçük kapsam Start with single object
Sıralı ilerleme Complete steps in order

All lessons in Beginner