saw this earlier today, thought it was just for show :haw:
I saw the logo and thought "thats pretty cool"
THEN IT MADE NOISES
[QUOTE=Pery;22083331][media]http://www.youtube.com/watch?v=behyrvx0V28[/media]
:smug:[/QUOTE]
The end of that video was like: "OH FUCK OH FUCK OH FUCK"
I just tried to eat two ghosts but I went straight through them both :(
The code for the game is here: [url]http://pastebin.com/Lax0g5yS[/url]
Check out line 2223:
[code]g.level == 256 && g.killScreen()[/code]
Nice
Wow the 2 player thing blew my mind.
All the walls are out of whack - Must Try Harder.
This is so awesome :keke:
I can only get around 3k points.
[QUOTE=Appox;22084880][code]g.level == 256 && g.killScreen()[/code][/QUOTE]
So if the level isn't 256 it doesn't bother evaluating everything past the &&? That's a crazy way of doing an if statement, never thought of that.
[QUOTE=Robert64;22085125]So if the level isn't 256 it doesn't bother evaluating everything past the &&? That's a crazy way of doing an if statement, never thought of that.[/QUOTE]
Pretty clever :V
Not sure if it would make much of a performance difference, but still. Programmers like these little things :D
If you control pac-man and mrs. pac-man in the same exact spot and you both pick up a super dot, it lasts until you eat all the ghosts.
Oh nevermind, it lasts forever even if only one eats it.
I suck at pac-man:geno:
This is awesome :razz:
I love Google.
I found this out at school, but then our teacher found it and told us all to stop cause "it was breaking school policy by playing a game." Oh well it was a fun 5 minutes.
[QUOTE=Robert64;22085125]So if the level isn't 256 it doesn't bother evaluating everything past the &&? That's a crazy way of doing an if statement, never thought of that.[/QUOTE]
I used this method in java class last semester. I'm glad I took intro to computer programming even though it doesn't count for my major. I think it gave me some great basic building blocks that will help in the long run.
Ah classic game i hope google keep the game up after this
It's also the 30th anniversary of Star Wars Episode V Empire Strikes Back
[quote=99$-plate;22086275]i found this out at school, but then our teacher found it and told us all to stop cause "it was breaking school policy by playing a game." oh well it was a fun 5 minutes.[/quote]
NO FUN FOR YoU!
Sorry, you need to Log In to post a reply to this thread.