Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    GIF shows where to locate </> in the thread and or post editor toolbar.
    To learn more about how to use our BBCode feature, review our "How to post your code into threads" here.

    Thank you, Code Forum.

Python Help with making a game with three outcomes??

Ok so I'm new to coding in general and I need to make a project where I input one of three outcomes. So essentially if I had the number 1, 2 and 3 I would need to choose between one of those and then it should count up the amount of times i chose each number. I'm also using a Micro:bit to input the data. The next step would be to graph out the results on a bar chart and then finally I need to be able to let my computer predict what my next move will be.

I'm sorry for not even having any code right now but i'm stressing out about this alot considering i don't even know where to start and I've asked on other forums which wasn't helpful so please if anyone could get me started that would be helpful thank you. (although you are free to do just do the whole project for me lol )
 
Here would be a starting place for some of the things you mentioned.
  • Getting user input from w3schools. They have examples of doing this.
  • Counting from geeksforgeeks have various examples for methods of counting.
  • Pandas is known for data analysis and charting/plotting
  • AI Something a quick search turned up for prediction and ai's
These links should get you started on your journey. If you have trouble with code, post it to a forum and you will have users that will help you figure out the problems. I hope this help.
 
Here would be a starting place for some of the things you mentioned.
  • Getting user input from w3schools. They have examples of doing this.
  • Counting from geeksforgeeks have various examples for methods of counting.
  • Pandas is known for data analysis and charting/plotting
  • AI Something a quick search turned up for prediction and ai's
These links should get you started on your journey. If you have trouble with code, post it to a forum and you will have users that will help you figure out the problems. I hope this help.
Thank you !!
 

Buy us a coffee!

Buy me a coffee.
Back
Top Bottom