<s>[INST] import pygame
import random

pygame.init()

def main():
    window_width, window_height = 800, 600
    window = pygame.display.set_mode((window_width, window_height))

    font = pygame.font.Font(None, 30)
    text = font.render("Welcome to the game!", True, (255,255,255))

    pygame.draw.rect(window, (0,0,0), (0, 0, window_width, 50))
    window.blit(text, (20, 10))
    pygame.display.update()

    clock = pygame.time.Clock()

    running = True
    while running:
        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                running = False

        clock.tick(60)

    pygame.quit()

if __name__ == "__main__":
    main()

This code will show a black bar at the top of the window, with the white text "Welcome to the game!" in it. How can I make the text appear to move smoothly to left as the game runs, while keeping the window and the color of the text the same?[/INST]