This is a picture of my game I made using
Python. The game is programmed to
play rock, paper, scissors against the computer
user. In order to be able to play against the
computer you have to show it all of the possible
chances it has on making a move against it's opponent
and when the game has ended and determine weather you have
won or if you have lost against the computer. You also
need to give the program some strategies on what to do in
some situations like if you were about to win then the computer
would know where to pace it's 'X' or 'O' in the table. If you
can outsmart the computer and go around the way it thinks then
you have a chance at winning a game or too against it. I wanted
program the game to where when it detects the same strategy that
it's opponent used previously and it would be able to predict the
players next move that would be made.
This is a screen shot of my code from the game I made
using scratch an application to teach programming to
new users just learning how to make games. Every different
piece of code and command tells each other piece you created
what to do when the program is running. For example, if I were
to create a sprite (what a character is called when it is first
created) and put in the code a command to tell it to move 10 squares
along the 'X' and 20 squares along the 'Y' it would do so and stop,
but if I also put in another program telling the sprite to go another
(10,20) along the coordinate it would do what it is told then stop
moving. If you want to be able to control your own character then you
have to make a command that says when you push the up arrow move the
sprite 5 on the 'Y' coordinate and the same for every other key you
plan on using to control your sprite.
In this picture is my "Pong" game I made using the
application "Scratch" in my computer. It is easy for
users that are just starting out but it is also easy
for people to make a mistake during the coding process.
That is why it is important to pay close attention to when
you are working on your game. Even though it may get a little
boring to just hit a ball back and fourth it is a start for
someone who is just starting out on working with programming
games. Later as I get more comfortable with the programs I feel
that I can build my way up the ladder to creating improved and
higher quality games for me to test out later on.
This is my video game I made using an application named "Scratch" where
you can design and program a video game of your own. The game I made
is a game of pong and was not as complicated to use compared to other
programs. The way the game works is the left paddle is controlled with
the keys on the keyboard 'W' and 'S' to move it up and down the screen.
To move the other paddle the keys to use is the up and down arrows on
the right side of the computer to also move it up and down the screen
like the other paddle does.
Home