From 62104ce06da86439d7b1f9baa49c3c076e0d8850 Mon Sep 17 00:00:00 2001 From: pramukhnayak7 Date: Sat, 8 Nov 2025 16:08:31 +0530 Subject: [PATCH 1/4] first push to testing branch --- src/App.java | 17 +++++++++++++---- src/DBConnection.java | 4 ++-- src/message.java | 17 +++++++++++------ 3 files changed, 26 insertions(+), 12 deletions(-) diff --git a/src/App.java b/src/App.java index 05ca0ab..8e132c1 100644 --- a/src/App.java +++ b/src/App.java @@ -1,13 +1,16 @@ -import java.time.LocalDateTime; +import java.io.*; import java.sql.*; +import java.time.LocalDateTime; import java.util.*; class MessageFetch extends Thread { private Connection conn; private static String SELECT_QUERY = "SELECT * FROM messages WHERE id > ? ORDER BY id ASC"; + private String CurrentUser; - public MessageFetch(Connection conn) { + public MessageFetch(Connection conn,String CurrentUser) { this.conn = conn; + this.CurrentUser=CurrentUser; } public void run() { @@ -22,8 +25,9 @@ public void run() { LocalDateTime time = rs.getObject("timestamp", LocalDateTime.class); String color = rs.getString("color_code"); String text = rs.getString("message_text"); + message msg = new message(username, text, color, time); - msg.fetchmessage(); + msg.fetchmessage(CurrentUser); App.id = rs.getInt("id"); } @@ -69,16 +73,21 @@ public static void main(String[] args) throws InterruptedException { Scanner sc = new Scanner(System.in); System.out.print("Enter username: "); String uname = sc.nextLine(); + String CurrentUser = uname; String ucolor = getRandomColor(); + Console console = System.console(); try (Connection conn = DBConnection.getConnection();) { System.out.println("--- Chat room (Live) ---"); - MessageFetch reciever = new MessageFetch(conn); + MessageFetch reciever = new MessageFetch(conn, CurrentUser); reciever.start(); while (true) { + String text = sc.nextLine(); + //String text = console.readLine("msg:"); + if (text.equalsIgnoreCase("exit")) break; // allow quitting diff --git a/src/DBConnection.java b/src/DBConnection.java index 2959ea8..3b773c1 100644 --- a/src/DBConnection.java +++ b/src/DBConnection.java @@ -4,9 +4,9 @@ public class DBConnection { - private static final String DB_URL = "jdbc:mysql://localhost:3306/Chatapp"; + private static final String DB_URL = "jdbc:mysql://0.0.0.0:3306/chat"; private static final String USER = "root"; - private static final String PASS = "devdat"; + private static final String PASS = "1234"; public static Connection getConnection() throws SQLException { diff --git a/src/message.java b/src/message.java index 032ebd5..9cedd07 100644 --- a/src/message.java +++ b/src/message.java @@ -1,7 +1,6 @@ +import java.sql.*; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; -import java.util.*; -import java.sql.*; public class message { private String username; @@ -9,8 +8,9 @@ public class message { private String colorCode; private LocalDateTime timestamp; - public message(String username, String message, String colorCode) { + public message(String username,String message, String colorCode) { this.username = username; + this.messageText = message; this.colorCode = colorCode; @@ -18,21 +18,26 @@ public message(String username, String message, String colorCode) { public message(String username, String messageText, String colorCode, LocalDateTime timestamp) { this.username = username; + this.messageText = messageText; this.colorCode = colorCode; this.timestamp = (timestamp != null) ? timestamp : LocalDateTime.now(); } - public void fetchmessage() { + public void fetchmessage(String CurrentUser) { + final String BOLD = "\u001B[1m"; final String RESET = "\u001B[0m"; System.out.print("\r"); // move cursor to line start System.out.print("\033[K"); // clear line String time = timestamp.format(DateTimeFormatter.ofPattern("HH:mm:ss")); + if(!(username.equals(CurrentUser))){ String output = "[" + time + "] " + BOLD + colorCode + username + RESET + " : " + messageText; - System.out.println(output); + + System.out.println(output);} + System.out.print("[" + time + "] " + BOLD + colorCode +username+ RESET + " : "); + System.out.flush(); - System.out.print("> "); } From fcf2b7f5cbceb61f9d59291f470292fd5f3cbdcf Mon Sep 17 00:00:00 2001 From: pramukhnayak7 Date: Sat, 8 Nov 2025 16:49:22 +0530 Subject: [PATCH 2/4] seconf push to testing branch --- src/App.java | 12 ++++++++---- src/message.java | 8 +++++--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/App.java b/src/App.java index 8e132c1..c09605f 100644 --- a/src/App.java +++ b/src/App.java @@ -7,10 +7,13 @@ class MessageFetch extends Thread { private Connection conn; private static String SELECT_QUERY = "SELECT * FROM messages WHERE id > ? ORDER BY id ASC"; private String CurrentUser; + private String CurrentColor; - public MessageFetch(Connection conn,String CurrentUser) { + public MessageFetch(Connection conn,String CurrentColor,String CurrentUser) { this.conn = conn; + this.CurrentColor=CurrentColor; this.CurrentUser=CurrentUser; + } public void run() { @@ -27,7 +30,7 @@ public void run() { String text = rs.getString("message_text"); message msg = new message(username, text, color, time); - msg.fetchmessage(CurrentUser); + msg.fetchmessage(CurrentColor,CurrentUser); App.id = rs.getInt("id"); } @@ -73,13 +76,14 @@ public static void main(String[] args) throws InterruptedException { Scanner sc = new Scanner(System.in); System.out.print("Enter username: "); String uname = sc.nextLine(); - String CurrentUser = uname; + String CurrentUser =uname; String ucolor = getRandomColor(); + String CurrentColor = ucolor; Console console = System.console(); try (Connection conn = DBConnection.getConnection();) { System.out.println("--- Chat room (Live) ---"); - MessageFetch reciever = new MessageFetch(conn, CurrentUser); + MessageFetch reciever = new MessageFetch(conn, CurrentColor,CurrentUser); reciever.start(); while (true) { diff --git a/src/message.java b/src/message.java index 9cedd07..f4a9f8b 100644 --- a/src/message.java +++ b/src/message.java @@ -24,18 +24,20 @@ public message(String username, String messageText, String colorCode, LocalDateT this.timestamp = (timestamp != null) ? timestamp : LocalDateTime.now(); } - public void fetchmessage(String CurrentUser) { + public void fetchmessage(String CurrentColor,String CurrentUser) { final String BOLD = "\u001B[1m"; final String RESET = "\u001B[0m"; System.out.print("\r"); // move cursor to line start System.out.print("\033[K"); // clear line String time = timestamp.format(DateTimeFormatter.ofPattern("HH:mm:ss")); - if(!(username.equals(CurrentUser))){ + + + if((!(colorCode.equals(CurrentColor)))&&(!(username.equals(CurrentUser)))){ String output = "[" + time + "] " + BOLD + colorCode + username + RESET + " : " + messageText; System.out.println(output);} - System.out.print("[" + time + "] " + BOLD + colorCode +username+ RESET + " : "); + System.out.print("[" + time + "] " + BOLD + colorCode +"YOU"+ RESET + " : "); System.out.flush(); From 466b80246acebdb5f7543ff58a71c737413782db Mon Sep 17 00:00:00 2001 From: pramukhnayak7 Date: Sat, 8 Nov 2025 21:14:19 +0530 Subject: [PATCH 3/4] pussy push to testing branch --- src/App.java | 102 ++++++++++++++++++++++++++++++++++++++++++++--- src/message.java | 26 ++++++++++-- test/test.java | 36 +++++++++++++++++ 3 files changed, 154 insertions(+), 10 deletions(-) create mode 100644 test/test.java diff --git a/src/App.java b/src/App.java index c09605f..ee06428 100644 --- a/src/App.java +++ b/src/App.java @@ -30,7 +30,9 @@ public void run() { String text = rs.getString("message_text"); message msg = new message(username, text, color, time); - msg.fetchmessage(CurrentColor,CurrentUser); + msg.fetchmessage(CurrentColor,CurrentUser); + + App.id = rs.getInt("id"); } @@ -51,6 +53,7 @@ public void run() { } public class App { + public static int id = 0; private static final String[] COLORS = { "\u001B[31m", // Red @@ -72,7 +75,25 @@ public static String getRandomColor() { return COLORS[rand.nextInt(COLORS.length)]; } - public static void main(String[] args) throws InterruptedException { + // ANSI CODES + private static final String SAVE = "\u001B[s"; + private static final String REST = "\u001B[u"; + private static final String CLR = "\u001B[K"; + + private static StringBuilder input = new StringBuilder(); + + public static synchronized void printIncoming(String msg) { + System.out.print(SAVE); // save cursor + System.out.print("\r\n"); // move to new line + System.out.println(msg); // print message + System.out.print(REST); // restore cursor + System.out.print(CLR); // clear junk + System.out.print("> " + input); // redraw input + System.out.flush(); + } + + + public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); System.out.print("Enter username: "); String uname = sc.nextLine(); @@ -85,19 +106,88 @@ public static void main(String[] args) throws InterruptedException { System.out.println("--- Chat room (Live) ---"); MessageFetch reciever = new MessageFetch(conn, CurrentColor,CurrentUser); reciever.start(); - + // String text; while (true) { + // if (System.in.available()>0){ + // char c = (char) System.in.read(); + + // if(c=='\n'){ + // text = input.toString(); + // input.setLength(0); + + // if (text.equalsIgnoreCase("exit")){ + // break; // allow quitting + // } + + // message msg = new message(uname, text, ucolor); + // msg.writemessage(conn); + // System.out.println(); + // continue; + // } + + // if(c==127 || c==8){ + // if (input.length()>0){ + // input.setLength(input.length()-1); + // System.out.print("\b \b"); + + // } + // continue; + // } + // input.append(c); + // System.out.print(c); + + + // } + + // Thread.sleep(10); String text = sc.nextLine(); //String text = console.readLine("msg:"); - - if (text.equalsIgnoreCase("exit")) + if (text.equalsIgnoreCase("exit")){ break; // allow quitting + }else if (text.equalsIgnoreCase("/list")){ + System.out.println("/red /butterfly"); + } + else if (text.equalsIgnoreCase("/butterfly")) { + text = "\n⣠⣤⣤⡤⠤⢤⣤⣀⡀⠀⠐⠒⡄⠀⡠⠒⠀⠀⢀⣀⣤⠤⠤⣤⣤⣤⡄\n" + // + "⠈⠻⣿⡤⠤⡏⠀⠉⠙⠲⣄⠀⢰⢠⠃⢀⡤⠞⠋⠉⠈⢹⠤⢼⣿⠏⠀\n" + // + "⠀⠀⠘⣿⡅⠓⢒⡤⠤⠀⡈⠱⣄⣼⡴⠋⡀⠀⠤⢤⡒⠓⢬⣿⠃⠀⠀\n" + // + "⠀⠀⠀⠹⣿⣯⣐⢷⣀⣀⢤⡥⢾⣿⠷⢥⠤⣀⣀⣞⣢⣽⡿⠃⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠈⢙⣿⠝⠀⢁⠔⡨⡺⡿⡕⢔⠀⡈⠐⠹⣟⠋⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⢼⣟⢦⢶⢅⠜⢰⠃⠀⢹⡌⢢⣸⠦⠴⣿⡇⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠘⣿⣇⡬⡌⢀⡟⠀⠀⠀⢷⠀⣧⢧⣵⣿⠂⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠈⢻⠛⠋⠉⠀⠀⠀⠀⠈⠉⠙⢻⡏⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⢰⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠄⠀⠀⠀⠀⠀⠀"; + System.out.println(text); + + }else if(text.equalsIgnoreCase("/red")){ + text = "\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⢻⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠀⠀⢤⣄⣀⣀⣀⣰⡇⠈⣧⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⢦⡀⠀⠀⠀⠀⢀⣠⠾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣹⠃⠀⡀⠀⢿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⣠⠔⠂⠀⠀⠀⢠⣏⣴⠞⠛⢦⣜⣧⠀⠀⠀⠀⠢⣄⡀⠀⠀⠀⠀\n" + // + "⠀⠀⢠⣖⡿⡋⠀⠀⠀⠀⠀⠾⠋⠀⠀⠀⠀⠉⠻⡄⠀⠀⠀⠀⢝⢿⣱⣄⠀⠀\n" + // + "⠀⡜⣿⣨⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠲⣤⡀⠀⠀⠀⠀⠀⠈⢳⣇⣿⢡⠀\n" + // + "⢰⣇⣟⣵⠃⠀⠀⠀⠀⠀⠀⢀⣴⣦⡤⠀⠀⠈⠻⣷⡀⠀⠀⠀⠀⠈⣯⡻⢸⡆\n" + // + "⡆⣿⡾⡅⠀⠀⠀⠀⠀⢀⣴⣿⣿⣏⠀⠀⠀⠀⠀⠹⣿⡆⠀⠀⠀⠀⢨⢻⣾⢱\n" + // + "⣷⡘⣱⠇⠀⠀⠀⠀⠀⠀⠹⠋⠈⠻⣷⣄⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠘⣧⢋⣾\n" + // + "⡼⣷⡿⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣷⣄⠀⢀⣿⣿⠀⠀⠀⠀⢰⢻⣾⢇\n" + // + "⢳⣌⠇⣿⠀⠀⠀⠀⠀⠀⣴⢶⣤⣀⡀⠀⠈⢻⣷⣾⣿⠏⠀⠀⠀⠀⣿⠸⣡⡞\n" + // + "⠀⡿⢷⣿⡸⣄⠀⢀⣴⡾⠉⠀⠈⠛⠿⢿⣿⣿⡿⠿⣷⣄⠀⠀⢠⡇⣿⡾⢛⠀\n" + // + "⠀⠘⢦⣝⡣⢿⡦⡈⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠋⢀⣴⡿⣘⣭⡶⠃⠀\n" + // + "⠀⠀⠀⠹⣛⠿⠷⡹⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⢟⠾⠟⣛⠝⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠈⠛⡿⠿⠶⢛⣫⣤⡶⣒⡶⠶⣖⠶⣶⣍⣛⠚⠿⣟⠛⠁⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠈⠙⠛⠛⠋⢡⠞⠁⠀⠀⠈⠻⣮⠙⠛⠛⠋⠁⠀⠀⠀⠀⠀⠀"; + System.out.println(text); + } - message msg = new message(uname, text, ucolor); + message msg = new message(uname, text, ucolor); msg.writemessage(conn); + + } } catch (SQLException e) { diff --git a/src/message.java b/src/message.java index f4a9f8b..763adee 100644 --- a/src/message.java +++ b/src/message.java @@ -24,6 +24,23 @@ public message(String username, String messageText, String colorCode, LocalDateT this.timestamp = (timestamp != null) ? timestamp : LocalDateTime.now(); } + //public String buff(){ + + // } + + public String format(String currentColor, String currentUser) { + final String BOLD = "\u001B[1m"; + final String RESET = "\u001B[0m"; + String time = timestamp.format(DateTimeFormatter.ofPattern("HH:mm:ss")); + + if(colorCode.equals(currentColor) && username.equals(currentUser)) { + return null; + } + + return "[" + time + "] " + BOLD + colorCode + username + RESET + " : " + messageText; +} + + public void fetchmessage(String CurrentColor,String CurrentUser) { final String BOLD = "\u001B[1m"; @@ -33,12 +50,13 @@ public void fetchmessage(String CurrentColor,String CurrentUser) { String time = timestamp.format(DateTimeFormatter.ofPattern("HH:mm:ss")); - if((!(colorCode.equals(CurrentColor)))&&(!(username.equals(CurrentUser)))){ + if(! ( (colorCode.equals(CurrentColor)) && (username.equals(CurrentUser)) )){ String output = "[" + time + "] " + BOLD + colorCode + username + RESET + " : " + messageText; - System.out.println(output);} - System.out.print("[" + time + "] " + BOLD + colorCode +"YOU"+ RESET + " : "); - + System.out.println(output); + } + System.out.print("[" + time + "] " + BOLD + CurrentColor +"YOU"+ RESET + " : "); + // buff(); System.out.flush(); } diff --git a/test/test.java b/test/test.java new file mode 100644 index 0000000..17a5d2f --- /dev/null +++ b/test/test.java @@ -0,0 +1,36 @@ +else if (text.equalsIgnoreCase("/list")){ + System.out.println("/red /butterfly"); + } + else if (text.equalsIgnoreCase("/butterfly")) { + text = "\n⣠⣤⣤⡤⠤⢤⣤⣀⡀⠀⠐⠒⡄⠀⡠⠒⠀⠀⢀⣀⣤⠤⠤⣤⣤⣤⡄\n" + // + "⠈⠻⣿⡤⠤⡏⠀⠉⠙⠲⣄⠀⢰⢠⠃⢀⡤⠞⠋⠉⠈⢹⠤⢼⣿⠏⠀\n" + // + "⠀⠀⠘⣿⡅⠓⢒⡤⠤⠀⡈⠱⣄⣼⡴⠋⡀⠀⠤⢤⡒⠓⢬⣿⠃⠀⠀\n" + // + "⠀⠀⠀⠹⣿⣯⣐⢷⣀⣀⢤⡥⢾⣿⠷⢥⠤⣀⣀⣞⣢⣽⡿⠃⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠈⢙⣿⠝⠀⢁⠔⡨⡺⡿⡕⢔⠀⡈⠐⠹⣟⠋⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⢼⣟⢦⢶⢅⠜⢰⠃⠀⢹⡌⢢⣸⠦⠴⣿⡇⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠘⣿⣇⡬⡌⢀⡟⠀⠀⠀⢷⠀⣧⢧⣵⣿⠂⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠈⢻⠛⠋⠉⠀⠀⠀⠀⠈⠉⠙⢻⡏⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⢰⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠄⠀⠀⠀⠀⠀⠀"; + System.out.println(text); + + }else if(text.equalsIgnoreCase("/red")){ + text = "\n⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⢻⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠀⠀⢤⣄⣀⣀⣀⣰⡇⠈⣧⣀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⢦⡀⠀⠀⠀⠀⢀⣠⠾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣹⠃⠀⡀⠀⢿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⣠⠔⠂⠀⠀⠀⢠⣏⣴⠞⠛⢦⣜⣧⠀⠀⠀⠀⠢⣄⡀⠀⠀⠀⠀\n" + // + "⠀⠀⢠⣖⡿⡋⠀⠀⠀⠀⠀⠾⠋⠀⠀⠀⠀⠉⠻⡄⠀⠀⠀⠀⢝⢿⣱⣄⠀⠀\n" + // + "⠀⡜⣿⣨⡾⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠲⣤⡀⠀⠀⠀⠀⠀⠈⢳⣇⣿⢡⠀\n" + // + "⢰⣇⣟⣵⠃⠀⠀⠀⠀⠀⠀⢀⣴⣦⡤⠀⠀⠈⠻⣷⡀⠀⠀⠀⠀⠈⣯⡻⢸⡆\n" + // + "⡆⣿⡾⡅⠀⠀⠀⠀⠀⢀⣴⣿⣿⣏⠀⠀⠀⠀⠀⠹⣿⡆⠀⠀⠀⠀⢨⢻⣾⢱\n" + // + "⣷⡘⣱⠇⠀⠀⠀⠀⠀⠀⠹⠋⠈⠻⣷⣄⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠘⣧⢋⣾\n" + // + "⡼⣷⡿⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠻⣷⣄⠀⢀⣿⣿⠀⠀⠀⠀⢰⢻⣾⢇\n" + // + "⢳⣌⠇⣿⠀⠀⠀⠀⠀⠀⣴⢶⣤⣀⡀⠀⠈⢻⣷⣾⣿⠏⠀⠀⠀⠀⣿⠸⣡⡞\n" + // + "⠀⡿⢷⣿⡸⣄⠀⢀⣴⡾⠉⠀⠈⠛⠿⢿⣿⣿⡿⠿⣷⣄⠀⠀⢠⡇⣿⡾⢛⠀\n" + // + "⠀⠘⢦⣝⡣⢿⡦⡈⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠋⢀⣴⡿⣘⣭⡶⠃⠀\n" + // + "⠀⠀⠀⠹⣛⠿⠷⡹⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⢟⠾⠟⣛⠝⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠈⠛⡿⠿⠶⢛⣫⣤⡶⣒⡶⠶⣖⠶⣶⣍⣛⠚⠿⣟⠛⠁⠀⠀⠀⠀\n" + // + "⠀⠀⠀⠀⠀⠀⠈⠙⠛⠛⠋⢡⠞⠁⠀⠀⠈⠻⣮⠙⠛⠛⠋⠁⠀⠀⠀⠀⠀⠀"; + System.out.println(text); + } From f20f80649d98e313008eff92106ec48f3fb4dce5 Mon Sep 17 00:00:00 2001 From: pramukhnayak7 Date: Sun, 16 Nov 2025 13:14:18 +0530 Subject: [PATCH 4/4] balls --- src/extra.java | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/extra.java diff --git a/src/extra.java b/src/extra.java new file mode 100644 index 0000000..4c71864 --- /dev/null +++ b/src/extra.java @@ -0,0 +1,3 @@ +public class extra { + +}