import chess.Chess;
import chess.Screen;
import chess.Turtle;
import java.awt.Color;
import java.awt.Font;

public class Marquee {
    
    public static void main(String[] args) {
        /* here you go */
        
        Screen g= Chess.newScreen(563,411);
        Turtle tom= g.newTurtle();
        
        g.drawImage( "EnglertNightMarquee.jpg",0,0 );
        
        tom.setPosition(100,130);
        tom.right(90);
        tom.push();
        
        tom.right(1);
                
        tom.setFont( new Font( "SansSerif", Font.BOLD, 22 ));
        tom.setColor( Color.getHSBColor( 0, 0.8f, 0.5f ) );
        
        String line1= Chess.readString("Enter the top line");
        String line2= Chess.readString("Enter the bottom line");
        
        tom.forward(100);
        tom.text( line1 );
        
        tom.pop();
        
        tom.right(90);
        tom.forward(25);
        tom.left(90);
        
        tom.push();
        
        tom.right(1);
        tom.forward(100);
        tom.text(line2);
        
        /* two braces below */
    }
    
}
