+ 5
How do we create a program that shows the comparison between two teams and get the final outcome will be the match winner
I want to create a program that compares 2 team that play cricket matches and send it outcome how can I create a software like this
14 Respostas
+ 8
Do you need to make it not-stop until it someone's team loses?
+ 7
Try to make how the program will flow and how the game would have finish with, and then we'll start coding
+ 7
I can vision what I create! :)
+ 6
that's really a good question bro it can be dynamic changing its value and percentage while the match is running but let us assume it takes predefined variables such as previous win records average batting score average ground score player comparison etc and produces match out come before the match
+ 6
your question is good bro we can program it into two ways first the result and the prediction of the match before the match and it won't change with the match going on or in other words the match prediction is pre decided before the match by using algorithms we have defined..
the second we can be predicting a match winner before the match and change dynamically according to the situation of matches I want the first way how it can be done what factors do we need to include and how to make it possible through programming
+ 6
Oh I've created a thing like this, in your code do:
Make a while true loop first and print a statement saying something like "What action" then user-input happens whenever you do a user-input, it will print "What action" and shows a user-input again if an enemy's score reached zero, print a statement who lose the game and who wins, then add a break statement.
+ 6
Alot of algorithms will be put there thou! Good luck ask a help when you need to :)
+ 6
exactly that's what I was expecting you just need to define what you want to achieve first and think of it as a practical situation before you can go and call it out its not programming its logical thinking that's what rocket science is
+ 6
programming can help me to create what I vision but it can't help me to vision what I create
+ 5
thanks for your answer Complex I know you can create what you vision you are so good at it and fortunately I am not
+ 5
that's really impressive answer Kyle!! can you please tell me how to create a web crawler that gets data from other sites
+ 3
I would make a webcrawler that would goto a site that keeps stats on cricket teams. I would use run those stats thru an algorithm and decide the likely winner
+ 2
you are not.... YET
+ 2
https://m.youtube.com/watch?v=SFas42HBtMg
there are alot of tutorials out there for webcrawlers. They are alot of fun