Computer Science Canada

Turing game: Breakout

Author:  Sie_Kensou [ Sat Jan 04, 2003 9:06 pm ]
Post subject:  Turing game: Breakout

Hi, I wrote this game 2 years ago when I was taking turing at school. I thought I would share it here if anyone is interested.

I have attached 2 files.
One is the source code of the "original" program (I learned the ms-dos based turing... never had the change to learn OOT) and it's compiled binary since I realize many of you don't have the old ms-dos turing. It used to work perfectly, but for some reason, the colour creates an error while executing on WinXP (windows... sigh); however, it used to work perfectly on my old winME. I already modified it to fix this colour crash. If you don't have XP and would like to "experience" the game with full colours, simply delete all the "mod 15" I added in the source code and it should be back to normal.
The other file is the OOT-modified source code. I did some basic modifications just so it could run in OOT. You might find the alignment QUITE ugly and no comments about the colour. But at least it will give you the idea of how it works; maybe you could rewrite the code to fix this alignment/colour problems.

Have Fun.

Author:  Tony [ Sat Jan 04, 2003 9:44 pm ]
Post subject: 

thx a lot for your submission Very Happy

Intro:
Also known as 'pong'. Heck, don't even try to steal this game. If you can do something like this, you don't need to Wink Its really good

Review:
Game is great. What else can I say?
Great graphics (for DOS)
Smooth animation
Both keyboard and mouse control
Even comes with cheats Wink

You should take a look at this game if you wanna do something interesting.

If its missing anything, its some powerups (or maybe I just missed them)

If there's anything to be improved, I'd like to have a round piece to move instead of a box and have a realistic bouse back. Such as from the 'pool game' tutorial.

Tony's final words
If you played in StarCraft, try some cheatcodes from there Wink

Note:
Game is destributed for personal education/entertainment use only. All rights reserved. A sujestion : don't try to cheat on your comp sci assigments... its bad.

Author:  Sie_Kensou [ Sat Jan 04, 2003 11:35 pm ]
Post subject:  Old Starcraft Player

yeah.. haha "there is no cow level" and "show me the money"

haha.. I wrote this game when I used to play sc broodwars like crazy Laughing

about the "realistic" ball like pool... yeah, I considered that... even my turing teacher told me some methods to solve that problem with collision detection... but since he said the program was good enough I was too lazy to recode the collision part.. hehe (this was our 2nd last project... if I find my last program which was a graphing calculator, I'll submit it)

also... if you noticed, the level creation is pretty flexible, I was thinking of "expanding" the game by making a level creator and even save levels in text files... but again, too much work, too little time... heh.

the "cheats" part is very easy to expand... simply adding a line to the proc "setCheats" and then whatever the cheat does in "checkCode" should do the job.

I'm glad you liked it Very Happy

Oh yeah, almost forgot... about the title of the game, I did not "steal" it... that's the original title of the original nintendo 8 bit game (been a videogamer a long time). Pong in nintendo was the game with the two bars where you hit the ball from one side to the other to "score" on the opponent.

Ps. use "there is on cow level" until you reach lvl 15 .. hehe.. I didn't know what to do with the levels after that so that came up right from the game Razz

Author:  Tony [ Sun Jan 05, 2003 1:48 pm ]
Post subject: 

i didn't mean you stealing title, I ment that others should not try to steal the source code Confused

sorry for the confusion

Author:  krishon [ Sun Jan 05, 2003 2:23 pm ]
Post subject: 

Speaking of starcraft won't it be really cool if someone could somehow make the game? Shocked OF course it'll be at least a million lines long Confused , lol, but it would be sweet Very Happy . And the lag will be another problem, lol.

Author:  Sie_Kensou [ Sun Jan 05, 2003 8:25 pm ]
Post subject: 

Making Starcraft in Turing?? Shocked

Starcraft is a great game. Blizzard always makes best quality games (yeah, I love Blizzard.. Laughing )

Ps. A friend tried to apply as programmer at Blizzard... He told me they are so strict with who they hire. The requirements to be able to join them is extremly high (no wonder of their excellent games).

Author:  Tony [ Sun Jan 05, 2003 9:18 pm ]
Post subject: 

i suppose you can make RTS in turing if you want to... Confused

you'd just have to limit the numbers and make it 2D.

The tough part would be to program unit AI and even tougher - computer oppononet AI.

This has gone offtopic Confused

Author:  Alcatraz [ Thu Jun 14, 2012 9:02 pm ]
Post subject:  RE:Turing game: Breakout

I don't get it...I try to run this thing on my Turing program and this is the reply:
the environment has experienced an unexpected internal error
Error = unable to load

I downloaded Turing model 4.1.1
This thing works on all of my school computers but not home ones...you guys know what's wrong?

Author:  SNIPERDUDE [ Thu Jun 14, 2012 10:23 pm ]
Post subject:  RE:Turing game: Breakout

Turing 4.1.1 has a problem compiling, use 4.1
Has the same features anyway.

Author:  Alcatraz [ Fri Jun 15, 2012 7:35 am ]
Post subject:  RE:Turing game: Breakout

oh aright thanks I will try


: