CDAT - Computer Science‎ > ‎2015-16‎ > ‎CSP‎ > ‎News and Assignments‎ > ‎

30 NOV & 1 DEC

posted Nov 30, 2015, 9:32 AM by Tom Culpepper   [ updated Dec 1, 2015, 8:49 AM ]
Today we'll be in Minecraft again.  The address for the server is on the board.


If you don't already know, you'll learn the following in Lua today.  You already know how to do these in Python.
- for loops
- if statements
- print

We'll also talk about the following computercraft-specific topics.
- review what we learned so far
- How to use the API
- the select functions and inventory slot system of turtles.


You'll receive a grade on writing the following program...

Create a program that will build a tower at least 8 blocks high with a length of width of 3 blocks
- Your turtle must build the tower entirely on it's own with no help from you. 
- You will earn a 50 for doing the above.
If you want more than a 50, add the following...
    o Use more than 64 blocks in the construction (+15)

    o Have a multi-block pattern (+10 for 2 different types, +15 for 2 different types)

    o Add stairs for climbing up to the top (+20)

    o Something else "cool" (+X) 

You can do as many of these as you want.  Score maxes out at 100.


Primary AKS:  Design and create computer programs to process and extract information to gain insight and knowledge.(IT-CSP-4)
                and  Develop, express, implement, and analyze algorithms analytically and empirically.(IT-CSP-5)



ċ
TowerSample.txt
(0k)
Tom Culpepper,
Dec 1, 2015, 8:49 AM
Comments