Arts >> Magic >> Magic Shows

Fan-Made Java "Code" for Wizards Return: Alex vs. Alex – A Humorous Example

The following is a fan-made Java example, not an official game code. It humorously implies that any wizard named "Alex" automatically wins a duel.

// Import the necessary libraries
import java.util.Scanner;

public class WizardsReturnAlexVsAlex {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("Enter the name of the first wizard:");
        String firstWizard = scanner.nextLine();
        System.out.println("Enter the name of the second wizard:");
        String secondWizard = scanner.nextLine();
        
        String winner;
        if (firstWizard.equals("Alex")) {
            winner = firstWizard;
        } else if (secondWizard.equals("Alex")) {
            winner = secondWizard;
        } else {
            winner = "Tie";
        }
        System.out.println("The winner is: " + winner);
    }
}

This playful snippet reflects the fandom's affection for the character Alex Russo, but it has no connection to any official Disney product or game.

Magic Shows

Related Categories