Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
2 added 31 characters in body
source | link

SmileBASIC, 7676 57 bytes

FOR I=0TO 1INPUTINPUT X,Y,W
SPSET I,0,0S,WT,WU
SPOFS ISPSET.,X,Y,W,W
SPCOL I
NEXT.?SPHITSP!SPHITRC(0S,T,U,U)+1

Could beCreates a lot shorter, but I wanted to use sprite collision..with the size/position of the first square, then checks if it collides with the second square.

SmileBASIC, 76 bytes

FOR I=0TO 1INPUT X,Y,W
SPSET I,0,0,W,W
SPOFS I,X,Y
SPCOL I
NEXT?SPHITSP(0)+1

Could be a lot shorter, but I wanted to use sprite collision...

SmileBASIC, 76 57 bytes

INPUT X,Y,W,S,T,U
SPSET.,X,Y,W,W
SPCOL.?!SPHITRC(S,T,U,U)

Creates a sprite with the size/position of the first square, then checks if it collides with the second square.

1
source | link

SmileBASIC, 76 bytes

FOR I=0TO 1INPUT X,Y,W
SPSET I,0,0,W,W
SPOFS I,X,Y
SPCOL I
NEXT?SPHITSP(0)+1

Could be a lot shorter, but I wanted to use sprite collision...