Add a Challenge button in desktop mode? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Add a Challenge button in desktop mode?

9th May 2017, 12:59 PM
TotoMan1441
TotoMan1441 - avatar
14 Answers
+ 18
Trust me, you don't want to challenge someone via Web. it is suicide.
9th May 2017, 1:26 PM
Agus Mei
Agus Mei - avatar
+ 9
Ohh...Got it
9th May 2017, 1:30 PM
Nikhil
Nikhil - avatar
+ 8
@Agus : But why?
9th May 2017, 1:27 PM
Nikhil
Nikhil - avatar
+ 5
@Nikhil because most of the time desktop user doesn't have to read the question. simply copy - paste - paste - done
9th May 2017, 1:29 PM
Apel Mahmod
Apel Mahmod - avatar
+ 4
wouldn't be a good idea. user will copy challenge code, run on the desktop and paste the answer.
9th May 2017, 1:17 PM
Apel Mahmod
Apel Mahmod - avatar
+ 4
it's not possible
9th May 2017, 1:36 PM
Siddharth Saraf
+ 4
@TotoMan we are not robot. we have think first then write the answer. so do you think it will be a good idea to kick you out while you are thinking?
10th May 2017, 2:23 PM
Apel Mahmod
Apel Mahmod - avatar
+ 4
@TotoMan disabling paste wont work because we can paste answer directly in the DOM from the Developer tools
10th May 2017, 2:24 PM
Apel Mahmod
Apel Mahmod - avatar
+ 3
Even after disabling pasting text, the users may move to another tab and search the answer. I still think that a separate application for the computers would be the only best solution.
10th May 2017, 11:52 AM
Param Siddharth
Param Siddharth - avatar
+ 2
Well, TotoMan, an application for the computer would do this a lot better. When the application-window goes inactive, the round will be considered lost. This is the simplest and best way.
10th May 2017, 2:26 PM
Param Siddharth
Param Siddharth - avatar
+ 1
It would be good, but in desktop version easier to cheat. For example copy the code snippet and run ,google the question etc.. So I think it wouldn't be able.
9th May 2017, 1:18 PM
Szabó Gábor
Szabó Gábor - avatar
+ 1
That may be perfectly possible only by building an application for the computers!
10th May 2017, 4:51 AM
Param Siddharth
Param Siddharth - avatar
0
Just disable the paste option in the text field
10th May 2017, 11:29 AM
TotoMan1441
TotoMan1441 - avatar
0
How about detecting if the user is typing the answer in 1 millseconds and the user will be kicked out of the challenge
10th May 2017, 12:03 PM
TotoMan1441
TotoMan1441 - avatar