[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.4656778 [View]
File: 34 KB, 620x620, 1327319354345.jpg [View same] [iqdb] [saucenao] [google]
4656778

Any jsfags?

Why isn't this working? 'puzzle' is a 2d array of puzzlepiece objects, 'this' references a puzzlepiece object, and the indices are guaranteed to exist (more specifically, the indices are guaranteed to point to 'null'.

> puzzle[this.x + 1][this.y] = this;

>> No.4628492 [View]
File: 34 KB, 620x620, 1327319354345.jpg [View same] [iqdb] [saucenao] [google]
4628492

>>4628488
I don't know why but this made me giggle like a fucking schoolgirl.

A+ post.

Navigation
View posts[+24][+48][+96]