+ 2
Hey guys what are the things I need to know before I Start coding and how do I run a code to show up what I have done
It been a long time i have been wishing to create a game, website.. Etc buh the problem is ion know how to code and i hope this app helps me.. I would be so glad
3 Antworten
+ 1
If you're asking how best to learn to make a game or website, get lots of practice building on ideas of interest to you.
- If you want to make something with graphics and sound, start by making a program that nothing but shows a single image or plays a single sound. After that works, make something more complex.
- If you want to make games, start with a simple one like a number guessing game similar to https://www.funbrain.com/games/guess-the-number. After getting that to work, you could make something more complex or make the number guessing game better. Maybe you add a drill sarguent who relentlessly berates the player until guessing the right number.
You can gradually go from making the simplest games to things much more impressive and sophisticated.
If you want to do that using Python, I recommend PyGame since it is well documented and can show images or play sounds without much trouble. After getting little steps like the following working in your own code, see what entertaining things you can build:
- showing an image: https://www.geeksforgeeks.org/python-display-images-with-pygame/
- Playing sound or music: https://nerdparadise.com/programming/pygame/part3
0
It depends on the language you want to program with. Since you did a bit of a Python course, I'll focus on that.
If you type the code into the Code Playground's Python editor, you can just hit "Run" to see it run:
https://code.sololearn.com/#py
If you install Python on your computer, you can run it by command line such as "python yourscript.py" in a terminal window. This might be helpful: https://www.youtube.com/watch?v=cpPG0bKHYKc
0
Alright sir.. I really need to know how to code better... Okay for instance lemme say i'm writing a code for a game.. U know if i run it i would bring the result out on the console.. If i want it to bring it up as an original game.. What do i do