LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Previous Japanese Ogiri Winners

Root / Talk About Programs / [.]

12Me21Created:
http://smileboom.com/special/ptcm3/ogiri/nominate/ For some reason this page is really hard to find... My favorite is: 玉にやるăȘらこんăȘ玉ă‚ČăƒŒ ("This ball game If you do the ball") 12KEVWNE The game itself is great, but the physics are amazing. Also good is くさかり (Mowing) LACYV3JJ It looks great and all the code fits on one screen.

Someone needs to make in the ball physics game

A Pachinco machine would be sweet :)

I really want to create a pinball engine at some point. I think I could pull off some pretty good physics, although I worry SmileBASIC might not be fast enough. Never now until you try I guess!

I really want to create a pinball engine at some point. I think I could pull off some pretty good physics, although I worry SmileBASIC might not be fast enough. Never now until you try I guess!
I would recommend using the engine from 12KEVWNE Of course, you should give credit to the creator, and we need to figure out how it works so we can add bouncy things. EDIT: WOW this is the messiest code I've ever seen! There are things like:
GOTO @1

@1
(yes, it only uses GOTO, no other loops!)

Just to show how bad the code is, here is just the GOTO/GOSUB related parts. "..." represents other code: @RET ... GOTO @1 @1 IF GOTO @CLE ... GOSUB @GAMENS IF GOTO @TOBI3 GOTO @TOBI3 @TOBI3 ... @TOBI2 GOSUB @BYOUGA @MEIN ... GOSUB @SHOKIB @2 ... GOSUB @TAMASHOU GOSUB @ATARUNO IF GOTO @ATATTA @3 ... GOSUB @KUIKOMI GOSUB @BYOUGA GOSUB @UGOKASU GOSUB @SOUSA IF GOTO @CLTAMA IF GOTO @OVER IF GOTO @2 ... GOTO @2 @ATARUNO ... IF GOTO @IKU IF GOTO @IKU GOTO @TUGIHE @TUGIHE ... @IKU ... RETURN @ATATTA ... GOTO @3 @SOUSA RETURN @BYOUGA ... IF GOTO @OVER ... IF GOTO @TOBI1 IF GOTO @TOBI1 ... IF GOTO @TOBI1 ... @TOBI1 RETURN GOTO @BYOUGA @D1 .data. @KUIKOMI ... RETURN @KUI .data. @UGOKASU IF GOSUB @4MENG IF GOSUB @7MENG IF GOSUB @8MENG IF GOSUB @9MENG IF GOSUB @10MENG IF GOSUB @11MENG RETURN @4MENG ... RETURN @7MENG ... RETURN @8MENG ... RETURN @9MENG .. IF GOTO @9A ... IF GOTO @9 ... @9 ... @9A RETURN @10MENG ... RETURN @11MENG ... RETURN @GAMENS ... ON GOTO @G0,@G1,@G2,@G3,@G4,@G5,@G6,@G7,@G8,@G9,@G10,@G11 @G0 RETURN @G1 ... RETURN @G2 ... RETURN @G3 ... RETURN @G4 ... RETURN @G5 ... RETURN @G6 ... RETURN @G7 ... RETURN @G8 IF GOTO @7 ... @7 ... RETURN @G9 ... RETURN @G10 ... RETURN @G11 ... RETURN @OVER ... GOTO @RET END @CLE ... END @SHOKIB ... IF GOTO @TO7 ... @TO7 RETURN @CLTAMA ... IF GOTO @1 ... GOTO @2 @TAMASHOU ... @4 ... IF GOTO @4 ... IF GOTO @5 ... @5 ... IF GOTO @4 ... IF GOTO @4 ... GOTO @4 eruivyeoiwry9v5y9r4yq98vya9823y49v5o8yn9WHY????????????????????? Still easier than making a physics engine. I think I'll give up on both so I don't kill myself.

Haha, wow! Are the different numbers just copies of the same loop that control different balls? I guess SmikeBOOM is judging these games on the quality of the code! Anyways, I would definitely start from scratch if I made one. (Especially after seeing that one's code!) Those physics are totally different from what I want anyways. I think I'll look into it more soon. (Plus I'm going to be taking a physics course at the end of the year, which will probably help.)

Haha, wow! Are the different numbers just copies of the same loop that control different balls? I guess SmikeBOOM is judging these games on the quality of the code! Anyways, I would definitely start from scratch if I made one. (Especially after seeing that one's code!) Those physics are totally different from what I want anyways. I think I'll look into it more soon. (Plus I'm going to be taking a physics course at the end of the year, which will probably help.)
Most of the numbered ones seem to be for each level.

Ogiri is not a contest about the conciseness (or lack of) of the code. It's about the presentation and implementation of the creator's idea. A beginner who only knows messy GOTOs has an equal chance of winning as a professional. Well, of course. The winning submissions in the link 12Me21 posted has been and will be made into a standalone eShop title. Ogiri 3rd winning games can be bought on the Japanese eShop for 300 yen, and the codes are obviously hidden. So how the code looks like doesn't even matter.

Ogiri is not a contest about the conciseness (or lack of) of the code. It's about the presentation and implementation of the creator's idea. A beginner who only knows messy GOTOs has an equal chance of winning as a professional.
That's why I love these! Its very much gives everyone an equal shot

The reason it uses GOTOs is because it was originally made in PTC, and copied into SmileBasic.
Ogiri is not a contest about the conciseness (or lack of) of the code. It's about the presentation and implementation of the creator's idea. A beginner who only knows messy GOTOs has an equal chance of winning as a professional.
Not necessarily. It is easier to make a game if you use better loops, so you don't get confused by your own code.

As long as the program runs as intended, whether the coder uses GOTO @1:@1 or clever DEFs has no bearing on Ogiri's evaluation. That's what I meant. It may look "messy" or "bad" to someone else, but not to the coder. Since it's subjective, this part is not evaluated and irrelevant in Ogiri.

I really want to create a pinball engine at some point. I think I could pull off some pretty good physics, although I worry SmileBASIC might not be fast enough. Never now until you try I guess!
Pleeaaase! I would love that.

Just to show how bad the code is, here is just the GOTO/GOSUB related parts. "..." represents other code: I cut this part out so that it wouldn't be so long eruivyeoiwry9v5y9r4yq98vya9823y49v5o8yn9WHY????????????????????? Still easier than making a physics engine. I think I'll give up on both so I don't kill myself.
That is... I don't even know... It's either funny or just sad. I think both.