So I'm taking a college programming intro course, and I'm having a lot of fun with it. Just built my first keyboard-controlled "game" (it's Pong, so that hardly counts as a game, but whatevs, lolz)!
It may not seem like a very cool project, but it took me about 4-5 hours and I had a lot of fun with it (although I seriously feel like I made the code a lot more complicated than need-be). It really made me appreciate how much freaking work must go into coding something like BC O.o
Anyways, here's my code. All you have to do is press the start triangle in the upper left.
http://www.codeskulptor.org/#user23_GvT7ZlbTKW_5.py (http://www.codeskulptor.org/#user23_GvT7ZlbTKW_5.py)
ps: see if you can find the changes I made to the classic game/controls to make it a bit more.....interesting ;D ;D ;D
Also: DON'T USE INTERNET EXPLORER. Soz folks, for some reason it messes it up. Try Firefox, Chrome, or Safari...
uh oh i think somethings wrong
(http://puu.sh/5dwPx.png)
That's pretty cool nice job.
Quote from: Cooky on November 09, 2013, 06:35:14 PM
uh oh i think somethings wrong
(http://puu.sh/5dwPx.png)
if you're using IE that screws up this program...
For reference, our event that we worked on for 2 days took a good 30ish hours of work between the two of us.
That small event that barely looked like a few hours of work went in.
well done sir :P
Quote from: Allie on November 09, 2013, 06:38:20 PM
For reference, our event that we worked on for 2 days took a good 30ish hours of work between the two of us.
That small event that barely looked like a few hours of work went in.
Yeah, I figured it must be pretty tedious :P
And @cooky make sure your pop-up blocker doesn't block the game from opening, too...
damn internet explorer :(
Nice :P
I made similair programs while at school on my calculator when I had nothing to do :).
Let me know if you find the changes I made to the original game (This isn't the version I submitted for grading >:D)
Since nobody prolly wants to go through my code to see what I added, I'll give you a hint.
Is it possible to cheat at Pong? Yes...yes it is 8)
fkin internet explorer >:( >:( >:( >:(
Made one of these as well in class.
Well done.
Cool, good job
nicely done
ikr coding takes alot of work
Looks confusing as ****. When I was watching Kenny code I had no ****ing idea what was going on.
Quote from: Selene on November 09, 2013, 07:36:39 PM
Looks confusing as ****. When I was watching Kenny code I had no ****ing idea what was going on.
If you know what to do, and what you are doing, and what you need to do, it's pretty simple.
You need to understand everything, then have an idea in your head, and just follow as you go
Would be pretty cool to learn.
Quote from: Selene on November 09, 2013, 07:40:31 PM
Would be pretty cool to learn.
Not so much as you'd think
Quote from: Selene on November 09, 2013, 07:40:31 PM
Would be pretty cool to learn.
I found it amazing, what i could make as an end-result, from just words and numbers.
Thanks guys!
And since nobody has mentioned it yet, see what happens when you press z, x, e, or d. I coded cheat keys into player one's control scheme. lolol
Quote from: Princess_Cutie on November 09, 2013, 07:40:31 PM
Would be pretty cool to learn.
I agree, it would be fantastic.
I'm going to play pong
^ lol princess cutie :-*
Your professor/teacher didn't catch you for plagiarism?
https://bitbucket.org/salmanmanekia/python/src/dfb37ae3e75ed3b722a32af324f7f8a5320da63f/Pong_game.py?at=master
Quote from: Santa on November 10, 2013, 08:47:29 AM
Your professor/teacher didn't catch you for plagiarism?
https://bitbucket.org/salmanmanekia/python/src/dfb37ae3e75ed3b722a32af324f7f8a5320da63f/Pong_game.py?at=master
I didn't
It's an online class of about 10,000. And They start you out with a template with most of the global varibales, like ball radius, and names for all the functions. I had to suplly all the actual code though, from scratch. And with 10k ppl, there are only so many different ways to write a 200 line code. Lol
Quote from: Thornz on November 10, 2013, 08:59:04 AM
Quote from: Santa on November 10, 2013, 08:47:29 AM
Your professor/teacher didn't catch you for plagiarism?
https://bitbucket.org/salmanmanekia/python/src/dfb37ae3e75ed3b722a32af324f7f8a5320da63f/Pong_game.py?at=master
I didn't
It's an online class of about 10,000. And Rey start you out with a template with most of the global varibales, like ball radius and such. And with 10k ppl, there are only so many different ways to write a 200 line code. Lol
ah okey.
Quote from: Santa on November 10, 2013, 09:06:33 AM
Quote from: Thornz on November 10, 2013, 08:59:04 AM
Quote from: Santa on November 10, 2013, 08:47:29 AM
Your professor/teacher didn't catch you for plagiarism?
https://bitbucket.org/salmanmanekia/python/src/dfb37ae3e75ed3b722a32af324f7f8a5320da63f/Pong_game.py?at=master
I didn't
It's an online class of about 10,000. And Rey start you out with a template with most of the global varibales, like ball radius and such. And with 10k ppl, there are only so many different ways to write a 200 line code. Lol
If you notice, the way that person did their code actually had quite a few differences in te main body of code
ah okey.
Quote from: Thornz on November 10, 2013, 09:10:19 AM
Quote from: Santa on November 10, 2013, 09:06:33 AM
Quote from: Thornz on November 10, 2013, 08:59:04 AM
Quote from: Santa on November 10, 2013, 08:47:29 AM
Your professor/teacher didn't catch you for plagiarism?
https://bitbucket.org/salmanmanekia/python/src/dfb37ae3e75ed3b722a32af324f7f8a5320da63f/Pong_game.py?at=master
I didn't
It's an online class of about 10,000. And Rey start you out with a template with most of the global varibales, like ball radius and such. And with 10k ppl, there are only so many different ways to write a 200 line code. Lol
If you notice, the way that person did their code actually had quite a few differences in te main body of code
ah okey.
I didn't look at anything below the 10th line before, so I didn't realize it was changed.
Quote from: Santa on November 10, 2013, 09:15:26 AM
Quote from: Thornz on November 10, 2013, 09:10:19 AM
Quote from: Santa on November 10, 2013, 09:06:33 AM
Quote from: Thornz on November 10, 2013, 08:59:04 AM
Quote from: Santa on November 10, 2013, 08:47:29 AM
Your professor/teacher didn't catch you for plagiarism?
https://bitbucket.org/salmanmanekia/python/src/dfb37ae3e75ed3b722a32af324f7f8a5320da63f/Pong_game.py?at=master
I didn't
It's an online class of about 10,000. And Rey start you out with a template with most of the global varibales, like ball radius and such. And with 10k ppl, there are only so many different ways to write a 200 line code. Lol
If you notice, the way that person did their code actually had quite a few differences in te main body of code
ah okey.
I didn't look at anything below the 10th line before, so I didn't realize it was changed.
::)
i made one too, its the average program for beginners xd