I'm making a game but the output is not showing the white square. please someone help me

Question:
<I’m making a game but the output is not showing the white square. please someone help me :pleading_face: >
Repl link:
https://replit.com/@NasrudinAden/My-firts-game-trying

code snippet

1 Like

it did help thanks but is not what I was expecting here’s an image of my preview and a video

[type or paste code here](https://drive.google.com/file/d/1yP9qYdLUw6IIQl1Q3OvCAmvAXGDkhc47/view?usp=drivesdk)

here’s how I wanted it to look like

[type or paste code here](https://drive.google.com/file/d/1eEwtlOzNiXr2-phrAMTHqzEbe2TV6Ng5/view?usp=drivesdk)

I’m new to java so Thanks for your time UMARismyname

1 Like

For me it still shows a blank screen. You can fix quickly through shell:

mv main/*a .
rm -r main
sed -i 1d *java

This moves the project to the root folder so that that is run by replit instead of some old Main.class

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.