Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Turing game: Breakout
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Sie_Kensou




PostPosted: 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.



breakout - oot.t
 Description:
OOT version (crappy)

Download
 Filename:  breakout - oot.t
 Filesize:  39.14 KB
 Downloaded:  7786 Time(s)


Breakout.zip
 Description:
Ms-dos version

Download
 Filename:  Breakout.zip
 Filesize:  124.3 KB
 Downloaded:  5428 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Jan 04, 2003 9:44 pm   Post subject: (No 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sie_Kensou




PostPosted: 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
Tony




PostPosted: Sun Jan 05, 2003 1:48 pm   Post subject: (No 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
krishon




PostPosted: Sun Jan 05, 2003 2:23 pm   Post subject: (No 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.
Sie_Kensou




PostPosted: Sun Jan 05, 2003 8:25 pm   Post subject: (No 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).
Tony




PostPosted: Sun Jan 05, 2003 9:18 pm   Post subject: (No 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
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Alcatraz




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
SNIPERDUDE




PostPosted: 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.
Alcatraz




PostPosted: Fri Jun 15, 2012 7:35 am   Post subject: RE:Turing game: Breakout

oh aright thanks I will try
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 10 Posts ]
Jump to:   


Style:  
Search: