0

Live console output?

Is there any way on SoloLearn to have a live output and input. What I mean is take for example a Tic Tac Toe game versus a simple AI. Normally you would have to just put all your turns blindly and hope to win. Any way around this?

25th Nov 2020, 6:13 AM
CandyApple8
CandyApple8 - avatar
2 Réponses
+ 5
The simple answer is no.(if you are not talking about HTML+CSS+Js) The simple reason behind it is that your code runna on a remote server which only gives limited time(3-5 seconds) for it to run, so in order to not destroy that time waiting for input from user, it takes it beforehand.
25th Nov 2020, 7:06 AM
Arsenic
Arsenic - avatar
+ 1
Okay, I shall continue to use an app called DCoder for codes such as these. It has 35 languages and has a run time of 200 seconds.
25th Nov 2020, 1:41 PM
CandyApple8
CandyApple8 - avatar