@KB idk if this works in XP, but I used to have fun with this (though this means it goes to specific language learning)
Code:
$sprite = Sprite.new
$sprite.bitmap = Bitmap.new(24,24)
$sprite.bitmap.fill_rect($sprite.bitmap.rect, Color.new(255,255,255))
loop do
Graphics.update
Input.update
$sprite.x += 5 if Input.press?(Input::RIGHT)
end