• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Evaluated] [Assignment] Week 1, Week 2

Status
Not open for further replies.
Level 7
Joined
Nov 15, 2009
Messages
225
Hey,
sorry for posting so late, but I thought non students are not allowed to post here.

So here are the first three maps.

If I start posting here in this thread, do I have any rules to follow? I mean do I need to post the weekly result?
The problem is, that I have a little daughter and an average time of 30 - 60 minutes each day (not in a row, it's splitted..)


Week 1 is not finished, I don't get the converting part..
All sites post different results, but I don't want you to spoiler this.
I will finish this task over time!

Cheers
 

Attachments

  • Map 1.w3m
    15.8 KB · Views: 10
  • vJASS Student W1.w3m
    21.2 KB · Views: 8
  • vJASS Student W2.w3m
    21.7 KB · Views: 11
I apologize for my lateness.

Week 1

Code:
Lesson 1

    Pass

Lesson 2

    Pass
    
Lesson 3

    Pass

Lesson 4

    Pass

Lesson 5

    Pass
    
Lesson 6

    Fail
    
        Didn't call the first function in the list
    
Lesson 6 P2

    Fail
    
        GetItemY does not take an integer

Lesson 7

    Pass

Lesson 8

    Fail
    
        It is mostly incorrect.
        If a number begins with a 0, it is octal.
        0o also indicates octal.
        Anything that is 1 or 4 characters long and in between '' is ASCII.
        A decimal number is anything that is not octal, ascii, binary or hexadecimal. (In programming)
        
        See the notes.

Lesson 10

    Pass

Project 1

    Pass

Grade: 7.9/10


Week 2

Code:
Lesson 11

    Pass

Lesson 12

    Pass
    
        Only needed the unit variable
    
Lesson 13

    Fail
    
       All are incorrect. Remember: An integer cannot store decimals.
       Refer to the lesson for more information.

Lesson 14

    Pass
    
Lesson 14 P2

    Pass

Lesson 15

    Fail
    
        You converted it to a string and then concatenated back
        If you look at the thing, it did 3 + 6, then 12945, then "12945"
        
        The hello world substring was slightly wrong
        
Lesson 16

    Fail
    
        Didn't print string #2, you forgot the -> and spaces
        
        Tip: didn't need the variable

Lesson 17

    Fail
    
        Didn't do #2 right
        
            Didn't do the "
            Didn't color GO
            etc...
    
Lesson 19

    Pass
    
        Shoulda probably used S2I insead of S2R
    
Project 2

    Fail
        
        Clearly using values other than 5 here
        
            set s[1]
            
        Can use plain integers here as per instructions
            
            call SetUnitUserData(units[S2I(s[0])], S2I(s[0]))
            
            so don't have to use s[0] etc
            
        Can use plain integer here too
        
            set units[S2I(s[0])] = CreateUnit(Player(0), 'hfoo', 0, 0, 270)
            
            not sure why you are using S2I
            
        Try again, you almost have it!

Grade: 3.9/10


So, you passed week 1, and failed week 2.
 
Status
Not open for further replies.
Top