import java.util.*;
import java.lang.*;
import java.io.*;
// The main method must be in a class named "Main".
class Game {
//String n;
static void turnLeft (){
System.out.println("turning left");
}
static void turnRight (){
System.out.println("turning right");
}
static void beat(){
System.out.println("beating enemies");
}
}
class Main {
public static void main(String[] args) {
System.out.println("Hello world!");
Game boy = new Game();
//finish
boy.turnLeft();
boy.turnRight();
boy.beat();
}
}
To embed this program on your website, copy the following code and paste it into your website's HTML: