People, what do you think is better to do for the first project, tic tac toe or stone, scissors, paper? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

People, what do you think is better to do for the first project, tic tac toe or stone, scissors, paper?

Need help with choosing a project for the first job, and for checking yourself

6th Apr 2019, 8:07 AM
Ян Попитич
Ян Попитич - avatar
7 Respuestas
+ 1
Go with Rock (stone) paper scissors. You only need to randomly choose one to three player results based on three possible outcomes. You can determine if same outcome is possible or there is an elimination aspect in the random process. In tic tac toe you need to develop a deeper decision function if players face the machine. If you are making pvp only then you need only to make a board and draw the pieces placed in addition to observing for end of game condition.
6th Apr 2019, 11:06 AM
Michael Williams
Michael Williams - avatar
+ 4
Try with stone ppr.. Cause it essy to randomize the output in stone .. Rather than to calculate algorithm to user moves in tictac
6th Apr 2019, 8:10 AM
a freak
a freak - avatar
+ 3
type @ and sololearn will show you options like this Ян Попитич 😊
6th Apr 2019, 9:25 AM
Daljeet Singh
Daljeet Singh - avatar
+ 2
Yeah. Try to do rock paper scissors because it's easier. Try to do a player 1 player 2, score. Reset. If you are doing it in javascript try to add some animations
6th Apr 2019, 8:33 AM
ztonaz
ztonaz - avatar
+ 2
I think, rock, scissors, paper is a lot easier. Get a random value, write a single if-elseif-else and it's already over.
6th Apr 2019, 8:41 AM
HonFu
HonFu - avatar
+ 2
Thank you very much for the answer, how to answer personally not I know that I am writing this way)
6th Apr 2019, 9:21 AM
Ян Попитич
Ян Попитич - avatar
+ 2
Daljeet Singh Many thanks for the reply, I am very grateful to you)
6th Apr 2019, 9:28 AM
Ян Попитич
Ян Попитич - avatar