+ 1

[OFF-TOPIC] Gameloops on SoloLearn?

I wrote a game in Java and it works, but after a while it stops, because it took to long. Are loops not allowed? I see a ton of web games etc and I guess they all use loops, but it's not possible with Java in SoloLearn?

18th Feb 2018, 12:20 AM
Finni
Finni - avatar
3 Answers
0
That's only for Web games. All console languages don't support that
18th Feb 2018, 9:50 PM
Private [GER]
Private [GER] - avatar
+ 1
oh yes there is, there are a lot games where you can press buttons etc, the clash of tanks thing for example
18th Feb 2018, 9:48 PM
Finni
Finni - avatar
0
No, SL runs the code without you seeing it and after successful execution dumps all output into the console you see. There is no way to get live user input.
18th Feb 2018, 9:43 PM
Private [GER]
Private [GER] - avatar