Computer Science Canada

Final Projects

Author:  Martin [ Thu Apr 10, 2003 9:46 pm ]
Post subject:  Final Projects

It's that time of year again that most of us have final computer science projects coming up. Here's my goal: A collection of ideas and submissions. Please be careful posting source code as A) some teachers'll think that you copied and B) People steal code. Anyway, best of luck.

Author:  Asok [ Thu Apr 10, 2003 11:45 pm ]
Post subject: 

If you are handing work in I would reccomend you do NOT post the source code until either a) you get a mark for it, or b) it's after June

Feel free to post standalone versions though. I say this only to protect the poster, I'm sure we'd all love to see the code Wink

Author:  Tony [ Fri Apr 11, 2003 8:24 am ]
Post subject: 

it might be a good idea to post your standalones so that others can find bugs and give comments about your program.

just dont make a new post for your every version. Ether update the file in previous post and reply to your own post with a new file.

Author:  Martin [ Thu Jun 05, 2003 8:58 am ]
Post subject: 

Alright people, over the next week, I'm expecting people to post a lot of projects, as most computer science classes have a final project due within a week of now. Post them as source code or compiled (source will get you more bits.) Also, make the title of your post whatever the name of your game is. Please include a short description of features of your game, as well as play controls if they aren't outlined in the actual game. Obviously, .zip or .rar multiple files.

Here's how I'm going to be giving out bits:
Your game looks:
Okay - 10 bits
Good - 20 bits
Excellent - 30 bits
*DROOL* - 40 bits


Your controls are:
Crappy - 10 bits
Average - 20 bits
Simple but effective - 30 bits
Complex and effective - 40 bits


Gameplay:
Ran it, looked at it, closed it - 20 bits
Played it for a few minutes - 40 bits
Played it for a while, I'll come back to this when I've got more time - 60 bits
Still playing this. - 80 bits


Complexity:
I'm sure I've seen this before - 15 bits
Kinda complicated, but by no means unique - 30 bits
Some unique concepts - 45 bits
I've never seen anything like this - 60 bits


This only applies of you include source code.
Uncommented, and messy - 10 bits
Commented, messy - 20 bits
Clean but uncommented - 30 bits
Clean and well commented - 40 bits
**Uncommented and poorly commented are the same thing


As I'm sure you can see, that's A LOT of bits Very Happy. This means that your game could get up to 260 bits!!!!

I, or another mod will comment on your game and give you the bits. If you fix up anything that we criticized on and resubmit, you've got the chance to have us re-evaluate your program and award even more bits, although be sure to make note that you resubmitted so that we know. I realize that not everyone will be making a game for their final project, I will adapt these rules for your game on a per-project basis. Keep in mind to make your program's features apparent, because if I can't find it, I can't mark you on it. Also keep in mind that, just by participating, you are guarenteed at least 55 bits, unless it's dead obvious that you put no effort into the game.

NOTE: Please flag all games that you want to be evaluated with the tag [FP], so for example if the game that you are submitting is pong, it would be titled [FP] Pong. Thanks

Author:  Martin [ Thu Jun 05, 2003 8:59 am ]
Post subject: 

Oh, and there MIGHT be an award for the best project....

Author:  PaddyLong [ Thu Jun 05, 2003 3:29 pm ]
Post subject: 

a shame we didn't really have a final project this year (and I had comp science first semester this year too) :/ can I post a few of my ones from past years Laughing

Author:  Asok [ Thu Jun 05, 2003 4:52 pm ]
Post subject: 

Darkness wrote:

Your controls are:
Crappy - 10 bits
Average - 20 bits
Simple but effective - 30 bits
Complex and effective - 40 bits



Shouldn't simple and effective be worth more than complex and effective? simple would be WASD or Arrow keys, complex would be like having to search for keys. It makes more sence to award a better keyboard layout.

Author:  Tony [ Thu Jun 05, 2003 5:13 pm ]
Post subject: 

what I think he means by complex is having more then WASD keys... like in mechWarrior where you got a 40 key controls Shocked Though its still easy to control once you get the hang of it, so it would be awarded "compex and effective".

Author:  Martin [ Thu Jun 05, 2003 8:48 pm ]
Post subject: 

Basically what I was trying to say was this: If your controls are just the arrow keys and maybe a few other keys, well placed and well thought out, then you get 30 bits. If you go a step further and allow for more inputs, but the inputs make sense, are well placed and are easy to use, you will get the full 40 bits.

Author:  Mephi [ Thu Jun 05, 2003 10:00 pm ]
Post subject: 

wut if our project wuz due a long time ago, and since then weve expanded on it...would it count as a project r just a regular submission?

Author:  Tony [ Thu Jun 05, 2003 10:14 pm ]
Post subject: 

oh great... now Darkness made things all complicated... Mad

Author:  Martin [ Thu Jun 05, 2003 10:44 pm ]
Post subject: 

It doesn't have to be a final project, just has to be a big program, so if you want to, you can submit old projects yes, just so long as they aren't posted on this site.

Author:  Martin [ Fri Jun 06, 2003 1:49 pm ]
Post subject: 

The deadline for this is going to be Friday, June 13. PM me if you have a project that you would like to submit that is due at a later date.

Author:  bugzpodder [ Fri Jun 06, 2003 4:10 pm ]
Post subject: 

where the hell are you, darkness? you are missing out in school!!

Author:  Martin [ Sat Jun 07, 2003 11:55 am ]
Post subject: 

School? Like review and Mr. Romien's Un-math? Hah!

Author:  Andy [ Sat Jun 07, 2003 2:20 pm ]
Post subject: 

darkness, if white catches u skipping, he'll skin you
remember national skip out day?

Author:  Martin [ Sat Jun 07, 2003 7:45 pm ]
Post subject: 

Skipping? I was...uhhh...sick.

Author:  Martin [ Mon Jun 09, 2003 9:52 pm ]
Post subject: 

Sorry I haven't been evaluating projects, I just haven't had time. Don't give up, I'll get back to it by the weekend hopefully.
By the way, if any other mods want to evaluate, be my guest!

Author:  Ravage [ Tue Jun 10, 2003 12:07 pm ]
Post subject: 

Well we're just doing some cheap version of hangman but I'm gonna submit

Author:  DarkHelmet [ Tue Jun 10, 2003 4:53 pm ]
Post subject: 

i'm gonna post my final project from last semester soon. i just need to fix a couple small things first.

Author:  Andy [ Tue Jun 10, 2003 5:06 pm ]
Post subject: 

darkhelmet, you can't prove 2=1, ur dividing by 0

Author:  Tony [ Tue Jun 10, 2003 8:06 pm ]
Post subject: 

dodge, give him a break... we're already discussing this in another topic... called "problems with collisions" or something Laughing

btw, I think DarkHelmet was the first one to post that whole equation, not me.

Author:  Martin [ Tue Jun 10, 2003 11:14 pm ]
Post subject: 

On the ti 83+'s you can prove that 0 = 6. I'll find the proof somewhere and post it. It's a problem with imaginary numbers...

Author:  Martin [ Tue Jun 10, 2003 11:14 pm ]
Post subject: 

Which I guess would be the same as proving that 1=2

Author:  Andy [ Wed Jun 11, 2003 3:31 pm ]
Post subject: 

darkness, the ti 83 + is very screwed up and is very slow, it took me a whole day to get to the millions by adding one in a loop

Author:  SilverSprite [ Sat Jun 14, 2003 2:21 pm ]
Post subject: 

dodge tomahawk has NO life. your the only one i know who would even try to do that.. Razz just kidding cuz

Author:  Andy [ Sat Jun 14, 2003 4:04 pm ]
Post subject: 

shut silversprite, i was bored ok? robotics theory is boring

Author:  Papageorgeo [ Mon Sep 08, 2003 10:34 pm ]
Post subject: 

I'm trying to post my project from last semester but it keeps timing out when I try to do it. Mad

Author:  Dan [ Tue Sep 09, 2003 9:08 pm ]
Post subject: 

dodge_tomahawk wrote:
darkness, the ti 83 + is very screwed up and is very slow, it took me a whole day to get to the millions by adding one in a loop


try the TI-89 it's CPU is atleast 2 times faster, the screen has way better rez and it has a GUI OS wich is realy cool. i got myself one for some grade 12 math clases, it realy helps with some hw and b/c of the better rez it can play some cool games. i got a 3d shouter on it and some other cool stuff.

Author:  PaddyLong [ Wed Sep 10, 2003 11:32 am ]
Post subject: 

I have a TI-10000X7 it owns all other graph0r calgulatros

Author:  krishon [ Wed Sep 10, 2003 5:28 pm ]
Post subject: 

ye the ti 89 is better than the 83...much better games....all bout the games Very Happy

Author:  shorthair [ Wed Dec 17, 2003 11:00 pm ]
Post subject: 

Finals ARE COMIN UP

Author:  poly [ Sun Apr 11, 2004 11:13 am ]
Post subject: 

Yes they are....and well I cant make up my damn mind on what kind of game I want to do. I'd like to make a pretty big game, but I am starting to get sick of coding and could careless for it....but than i dont want to make a simple small game cause id get bored of it easily....argh I cant decide

Author:  Paul [ Sun Apr 11, 2004 12:10 pm ]
Post subject: 

ppl in my class think making a red circle move and bouce around is pretty cool... like "wow! that is soooo cool!" (The teacher gave them the code to do it)
so I don't think my teacher is expecting much from us.

Author:  TheFreshPrince [ Thu Apr 29, 2004 1:45 pm ]
Post subject: 

only a red circle move?!?! we already had to make 3 things move and bounce just for an assignment!

Author:  jonos [ Thu May 20, 2004 7:20 pm ]
Post subject: 

Yeah, well my class just got to learning arrays. This means that I had to go and learn things like getch(), strint, intstr, and all that stupid stuff by myself. Not to mention functions and procedures.

Our final project was a quiz with 10 or something questions. Now do you feel stupid?

Author:  joman [ Mon May 24, 2004 6:47 am ]
Post subject: 

Asok wrote:
Darkness wrote:

Your controls are:
Crappy - 10 bits
Average - 20 bits
Simple but effective - 30 bits
Complex and effective - 40 bits



Shouldn't simple and effective be worth more than complex and effective? simple would be WASD or Arrow keys, complex would be like having to search for keys. It makes more sence to award a better keyboard layout.


wow really because i dont give a sh*t

there is something iv wanted to say to u guys for a long time u guys have no lives. go outside what r u afraid of... wait wait let me guess the sun will hit my skin at a 45 degree angle causeing a sunburn on my arm exactualy 4.32 cm long.

i am very ashamed of u and everyone who postes on this message board u people should go outside go do something else with your time then site in front of your computer a and talk about programming u people make me sick... i get enough of computer programming during the day at school i think i get too much.

and i cant stand it let alone read what u people talk about on these messsage boards.

i feel like gaging over each and evryone of u.

Author:  omni [ Mon May 24, 2004 8:23 am ]
Post subject: 

well then what do u do with your spare time @$$hole?
How can you stereotype that every programmer is just a pale skined nerd, mofugger?

Author:  Mazer [ Mon May 24, 2004 8:37 am ]
Post subject: 

joman wrote:
wow really because i dont give a sh*t

Well, nubcake, you obviously do if you actually bothered to reply to this topic. Here's me with my hand on my forehead making an 'L'.

joman wrote:
there is something iv wanted to say to u guys for a long time u guys have no lives. go outside what r u afraid of... wait wait let me guess the sun will hit my skin at a 45 degree angle causeing a sunburn on my arm exactualy 4.32 cm long.

No man, it's all about the SARS. Rolling Eyes

joman wrote:
i am very ashamed of u and everyone who postes on this message board u people should go outside go do something else with your time then site in front of your computer a and talk about programming u people make me sick... i get enough of computer programming during the day at school i think i get too much.

Well...
Obi-wan Kenobi wrote:
Who is more foolish? The fool, or the fool that follows?

We are, for the most part, big geeks. You are, officially, uber-l4m3 for coming here to read the posts and then bitch about what we do.

joman wrote:
i feel like gaging over each and evryone of u.

Well, I feel like teaching you to spell just so I can figure out what the hell you're talking about.

Just curious, did you ever consider what things would be like if nobody took an interest in computer science? You wouldn't be able to come here and bitch about us geeks. You wouldn't be able to sign onto MSN Messenger and whine about our geeky exploits to your homosexual friends. You wouldn't be able to turn on your computer. I guess you'd be forced to go outside and get that sunburn. Oh no, what now?!

Author:  Andy [ Mon May 24, 2004 10:08 am ]
Post subject: 

dats some whoop@ss pwnage rite there... gj mazer

Author:  MyPistolsIn3D [ Sat May 29, 2004 9:49 am ]
Post subject: 

Hmmm, I wonder where he'll be in 15 years when everyone on this website is making the big bucks in the programming world. He'll prob be serving us at McDonalds on our lunch break....

Author:  Paul [ Sat May 29, 2004 12:47 pm ]
Post subject: 

lol, "big bucks" in the "programming world" Laughing

Author:  Fonzie [ Thu Jan 20, 2005 9:55 pm ]
Post subject: 

I actually have the opposite opinion of the uber lame joman. I respect the "nerds" on this site that have such an incredible understanding of something. Not only that, but they are incredibly lucky that they can get a job in a field that they enjoy. You call them lame joman, I fucking WISH I was as awesome as these guys.

Author:  zomg [ Thu Jan 20, 2005 9:57 pm ]
Post subject: 

lol the post u are replying to happened last spring Laughing

Author:  Fonzie [ Thu Jan 20, 2005 10:03 pm ]
Post subject: 

hey man, I got jet lag....yah....jet lag....that'll explain it.

Author:  Andy [ Fri Jan 21, 2005 7:51 am ]
Post subject: 

for a whole 7 months? Rolling Eyes

Author:  Flikerator [ Sat Jan 29, 2005 3:11 pm ]
Post subject: 

This isnt the BEST of my final project because its at school. This is the last one I could transfer. Its not as good but I still like it. I suggest NOT using obstacles, but they do look neat. Obstacles were just for marks. Lots of stuff I wanted to add but teacher is messed and won't allow some of it.

Notes:
I don't have music file so only play Mus1.
I have 10 dif Mus at school.
Ball can ge stuck behind paddle, its supposed to happen so be carful Wink

THIS ONLY works if you have a SLOW computer. I play it at home and the ball moves really fast. If you put a delay the ball moves slowly and the ai moves at the same speed.

Author:  person [ Tue Feb 01, 2005 4:00 pm ]
Post subject: 

Quote:

a = x
a² = ax
a² - x² = ax - x²
(a + x) (a - x) = x(a - x)
a + x = x
x + x = x
2x = x
2x / x = x/x
2 = 1


i know this was posted like 2 years ago, and the mods probably also figured out that it was wrong..but.....

a^2 - x^2 = ax - x^2 = 0
(a + x) (a - x) = x(a - x) = 0
a + x = x = 0
x + x = x = 0
2x = x = 0

since 2x = x = 0
then x must = 0

thus this equation is incorrect

EDIT: or the fact the a-x=x-x=0
and that var*0=0

Author:  RaPsCaLLioN [ Wed Feb 02, 2005 10:27 pm ]
Post subject: 

Quote:
since 2x = x = 0
then x must = 0

thus this equation is incorrect

EDIT: or the fact the a-x=x-x=0
and that var*0=0


Wow this is old stuff.. Actually the issue is in this step:
Quote:
a² - x² = ax - x²
(a + x) (a - x) = x(a - x)

To achive this step you have to divide each side by 'a-x'. Now if we already know that a=x then a-x=0. SO if we divide each side by 'a-x' we're dividing by 0. And I'm sure we've all gotten errors in Turing and Windows about div by 0. Anything div 0 is an undefined amount and can be argued to be infinity but .. it just makes things bonkers.

And how is this related to this topic? Shouldn't this be locked?

Author:  cycro1234 [ Wed Feb 02, 2005 10:59 pm ]
Post subject: 

Sooo random Shocked

Author:  _ [ Wed Mar 09, 2005 3:52 pm ]
Post subject: 

Robbit, wat's wrong with being random? UR random....

hey, the pong is pretty cool.... more creativity would help...like this psychopong on http://www.ertdfgcvb.ch/... that's pretty cool, but harder to make...

...also, check out some of the other games there, just for fun...

but yeah... god i'm rily gonna screw up my fianl project, once i get it... Sad

Author:  ssr [ Sun Mar 13, 2005 9:56 pm ]
Post subject: 

nothign''s wrong with being random

random
random random
random random random
random random random random
random random random random random
I liek teh Pong
u knwo we might not even have a final project
I asked my teacher abotu it and he's like

duh, I dont know
what do u want
I said I wanted to do a game (even a simple one like Pong)
he's like we'll see may be its too hard!! Shocked

Author:  Token [ Sun Mar 13, 2005 10:54 pm ]
Post subject: 

wow this was an old post lmao, and yah to that flamer, he must have been pretty pissed to go and sign up for an account just to try and get acrost the stereotipical message he wanted to portrey to us

wow i used a lot of big words there, and most of them arent spelled right... oh well, and yes nothings wrong with being random... PORK CHOP SANDWICHES!@#!@!@#!@#, anyone who has any clue what i'm talking about, GIJoe rocks! lmao

Author:  illu45 [ Mon Mar 14, 2005 10:05 am ]
Post subject: 

I'll post mine at the end of the semester (when I finish it Very Happy)... Though I think its a great idea to send it in and get people to play with it and make sre there are no bugs.

Author:  gohan [ Tue May 10, 2005 11:19 am ]
Post subject: 

I kno this was a long time ago, but i'm scratching my head and wondering what the bits are for..
someone be nice and tell me...lol...and how do i get a pic under my name like most of u guys have....yea i kno...totally off topic and way off on the date..but hey whatcha gonna doo!!!

Author:  jamonathin [ Tue May 10, 2005 11:24 am ]
Post subject: 

http://www.compsci.ca/v2/viewtopic.php?t=3974 - bits

The picture has to be from a website. You simply fidn an image, right click it, look at its properties, and copy it's url to your profile.
such as this
http://www.compsci.ca/v2/images/smiles/icon_surprised.gif

Quote:
but hey whatcha gonna doo!!!

There's plenty the mods can do. Razz

Author:  Aziz [ Sun Jun 19, 2005 9:54 pm ]
Post subject: 

joman wrote:
Asok wrote:
Darkness wrote:

Your controls are:
Crappy - 10 bits
Average - 20 bits
Simple but effective - 30 bits
Complex and effective - 40 bits



Shouldn't simple and effective be worth more than complex and effective? simple would be WASD or Arrow keys, complex would be like having to search for keys. It makes more sence to award a better keyboard layout.


wow really because i dont give a sh*t

there is something iv wanted to say to u guys for a long time u guys have no lives. go outside what r u afraid of... wait wait let me guess the sun will hit my skin at a 45 degree angle causeing a sunburn on my arm exactualy 4.32 cm long.

i am very ashamed of u and everyone who postes on this message board u people should go outside go do something else with your time then site in front of your computer a and talk about programming u people make me sick... i get enough of computer programming during the day at school i think i get too much.

and i cant stand it let alone read what u people talk about on these messsage boards.

i feel like gaging over each and evryone of u.


You know guys, he's right, maybe we have no lives. But um, who's the one coming to the forums where the group of people with no lives are and make fun of them. He's ashamed. Sad aww dat wittle poor muffin. Why am I talking about him now? He's not even going to be here again! I need sleep Sad

Author:  ZeroPaladn [ Mon Jun 20, 2005 9:23 am ]
Post subject: 

uh, wasnt this a topic where you can post your summative projects??? lolz. this is the one my teacher forced us to do, i wasnt even allowwed to do anything else.

EDIT

I agree with you aziz. And to whoever started flaming just about everyone on this site, we do other things with our lives. Hell, when im not on my computer im usually out with my friends or getting drunk at some all nighter party. Rolling Eyes So before you start telling us off, close your mouth, and sew it up.

Author:  Aziz [ Mon Jun 27, 2005 10:20 am ]
Post subject: 

Recommender that I enter this:

My Battleship game Very Happy

Done for end of the year project, anything we wanted, but had to be educational of some sort :S

So here it is: Battleship: General Aziz

[eer: this link, quota reached or something?]
http://www.compsci.ca/v2/viewtopic.php?t=9281

Author:  Dartans [ Tue May 23, 2006 10:09 am ]
Post subject: 

joman wrote:
Asok wrote:
Darkness wrote:

Your controls are:
Crappy - 10 bits
Average - 20 bits
Simple but effective - 30 bits
Complex and effective - 40 bits



Shouldn't simple and effective be worth more than complex and effective? simple would be WASD or Arrow keys, complex would be like having to search for keys. It makes more sence to award a better keyboard layout.


wow really because i dont give a sh*t

there is something iv wanted to say to u guys for a long time u guys have no lives. go outside what r u afraid of... wait wait let me guess the sun will hit my skin at a 45 degree angle causeing a sunburn on my arm exactualy 4.32 cm long.

i am very ashamed of u and everyone who postes on this message board u people should go outside go do something else with your time then site in front of your computer a and talk about programming u people make me sick... i get enough of computer programming during the day at school i think i get too much.

and i cant stand it let alone read what u people talk about on these messsage boards.

i feel like gaging over each and evryone of u.


^
||
myspace user

Author:  Cervantes [ Tue May 23, 2006 3:29 pm ]
Post subject: 

As stupid as joman's comment was, this is an 11 month old thread.
But it's a sticky, and you're new here, so I won't eat your soul. Wink

*cough*
Be sure to read [The Rules]

Welcome to the site, Dartans.

Author:  Nick [ Sun Aug 12, 2007 3:57 am ]
Post subject:  Re: Final Projects

My game is an RPG called The Gauntlet...
its about 2 (later find out 3) men who escape from a colissiuem and find out the law is after them... although not quite finished

the controls are...

map:
arrow keys- move
enter - enter menu

menu (battle and non battle)
mouse-enter submenus

scenes
any key (homer- wheres the any key?) - move foward in scene

battle
same as menu

have fun and enjoy... also be amused

Author:  AtoZ [ Thu Oct 15, 2009 4:49 am ]
Post subject:  Re: Final Projects

Quote:
As I'm sure you can see, that's A LOT of bits . This means that your game could get up to 260 bits!!!!


So how long does it take to judge a game?

http://compsci.ca/v3/viewtopic.php?t=18309
http://compsci.ca/v3/viewtopic.php?t=18798

The top link is the code released, and the bottom is the 1st copy of the original game ever posted. It has been updated several times so try for the newest version.

Author:  Cezna [ Fri Jun 04, 2010 2:42 pm ]
Post subject:  Re: Final Projects

I have a project that I might post here after I've handed it in (so my teacher doesn't see it and think I got it from here), which will be in maybe a week.

But is this too old to post to? Last post was October 2009, but it's sticky.... wouldn't someone have taken it down if it was done?
Anyway, if no one answers, I'll probably just post it here anyway, but if anyone out there is reading this, please inform me on the rules so I don't have to ask a similarly nubby question in the future.

Author:  Insectoid [ Fri Jun 04, 2010 4:20 pm ]
Post subject:  RE:Final Projects

This thread is stale. Nobody has updated it in a long, long time. I don't think it's really worth your time to post here, your projects will receive more attention in their own thread in Turing Submissions.

Author:  Conrad13 [ Sat Jan 14, 2012 11:39 am ]
Post subject:  Re: Final Projects

Okay so here it is my Helicopter game, you should adjust the delays to your computers graphics card capabilities however, I tried to make this as well as I could, I am not a master at using turing so this was quite the challenge for me and so no harsh criticism please.
Enjoy Smile
Regards to Aange10 and Alex C. for greatly contributing to my game!!

Turing:

% My Variables
var xpositiona, y1, y2, dummy : int
xpositiona := 400
y1 := Rand.Int (200, 400)
y2 := Rand.Int (200, 400)

var icolor, icolor2, iXposition, iYposition, xdirection, ydirection, font, font1, font2, font3, xmouse, ymouse, button : int
% Helicopter Controls
var yaltitude, mx, my, btn : int

var ch : string (1)

% Text Fonts
font := Font.New ("serif:50")
font1 := Font.New ("serif:25")
font2 := Font.New ("serif:15")
font3 := Font.New ("serif:9")

% Colors
icolor2 := 21
icolor := 1


% Positions
iXposition := 0
iYposition := 0
xdirection := 1
ydirection := 1
yaltitude := 0
View.Set ("graphics,offscreenonly,nocursor")


loop
    yaltitude := 0
    % Menu
    loop
        Mouse.Where (xmouse, ymouse, button)

        Draw.Cls
        % Background
        drawfillbox (300, 240, 350, 260, 41)


        % Background
        drawfillbox (0, 0, maxx, maxy, 100)


        % Cloud 1
        drawfilloval (90, 350, 130, 80, white)
        drawfilloval (70, 280, 80, 40, white)
        drawfilloval (200, 310, 60, 50, white)
        drawfilloval (230, 380, 60, 50, white)

        % Cloud 2
        drawfilloval (400, 150, 130, 80, white)
        drawfilloval (380, 80, 80, 40, white)
        drawfilloval (410, 220, 80, 40, white)
        drawfilloval (520, 110, 70, 50, white)
        drawfilloval (520, 190, 80, 50, white)
        drawfilloval (300, 180, 60, 50, white)
        drawfilloval (300, 120, 40, 30, white)


        % Helicopter
        drawfillbox (iXposition + 85, iYposition + 5, iXposition + 155, iYposition + 10, black) % Base Connected to Legs
        drawfillbox (iXposition + 100, iYposition + 10, iXposition + 105, iYposition + 20, black) % Base leg 1
        drawfillbox (iXposition + 135, iYposition + 10, iXposition + 140, iYposition + 20, black) % Base leg 2
        drawfillbox (iXposition + 118, iYposition + 80, iXposition + 123, iYposition + 65, black) % Main Rotor
        drawfillbox (iXposition + 25, iYposition + 40, iXposition + 130, iYposition + 50, black) % Rotor rectangle
        drawfilloval (iXposition + 120, iYposition + 85, 70, 5, icolor2) % Rotor Blades
        drawfilloval (iXposition + 120, iYposition + 45, 40, 30, black) % Cockpit
        drawfillbox (iXposition + 10, iYposition + 40, iXposition + 15, iYposition + 70, black) % Rotor rectangle
        drawfilloval (iXposition + 15, iYposition + 48, 15, 15, icolor2) % Rear Rotor
        drawfilloval (iXposition + 85, iYposition + 45, 20, 15, black) % Smaller circle from main body of helicopter



        % Menu Selections
        Draw.Text ("Super-Heli", 190, 325, font, icolor - 1)
        Draw.Text ("Play", 300, 180, font1, icolor - 1)
        Draw.Text ("Controls", 275, 120, font1, icolor - 1)


        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%              If Played                 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
        if xmouse > 290 and xmouse < 370 and ymouse > 170 and ymouse < 220 and button = 1 then
            Draw.Cls
            View.Update

            %%% Background %%%
            loop

                drawfillbox (0, 0, maxx, maxy, 100)
                drawfillbox (0, 0, 640, 50, white)
                drawfillbox (0, 350, maxx, maxy, white)
                drawfillbox (xpositiona, y1, xpositiona + 40, y2, white)
                xpositiona := xpositiona - 1

                if xpositiona < 0 then
                    xpositiona := 640
                    dummy := Rand.Int (50, 350)
                    if dummy <= 200 then
                        y1 := 50
                        y2 := dummy
                    else
                        y1 := 350
                        y2 := dummy
                    end if
                end if

                %Helicopter
                drawfillbox (75, 192 + yaltitude, 125, 196 + yaltitude, black) % Base Connected to Legs
                drawfillbox (90, 192 + yaltitude, 95, 200 + yaltitude, black) % Base leg 1
                drawfillbox (107, 192 + yaltitude, 112, 210 + yaltitude, black) % Base leg 2
                drawfillbox (97, 240 + yaltitude, 102, 249 + yaltitude, black) % Main Rotor Rectangle
                drawfillbox (25, 218 + yaltitude, 110, 223 + yaltitude, black) % Rotor rectangle
                drawfilloval (100, 248 + yaltitude, 50, 5, icolor2) % Rotor Blades
                drawfilloval (100, 220 + yaltitude, 30, 20, black) % Cockpit
                drawfillbox (24, 215 + yaltitude, 27, 238 + yaltitude, black) % Rotor rectangle
                drawfilloval (24, 223 + yaltitude, 10, 10, icolor2) % Rear Rotor Blades
                drawfilloval (75, 220 + yaltitude, 15, 10, black) % Smaller circle from main body of helicopter
                View.Update

                icolor2 := icolor2 + 1

                mousewhere (mx, my, btn)
                if btn = 1 then
                    yaltitude += 1
                else
                    yaltitude -= 1
                end if
                if icolor2 = 31 then
                    icolor2 := 21
                end if

                if whatdotcolor (125, 192 + yaltitude) = white then
                    exit
                end if

                if whatdotcolor (12, 192 + yaltitude) = white then
                    exit
                end if
               
                if whatdotcolor (150, 253 + yaltitude) = white then
                    exit
                end if

                delay (3)
            end loop
        end if

        if whatdotcolor (125, 192 + yaltitude) = white then
            exit
        end if
        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% End Background %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

       




        %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% If Controls selected %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
        if xmouse > 270 and xmouse < 390 and ymouse > 100 and ymouse < 150 and button = 1 then
            Draw.Cls
            View.Update

            loop
                drawfillbox (0, 0, maxx, maxy, 100)

                % Cloud 1
                drawfilloval (90, 350, 130, 80, white)
                drawfilloval (70, 280, 80, 40, white)
                drawfilloval (200, 310, 60, 50, white)
                drawfilloval (230, 380, 60, 50, white)

                % Cloud 2
                drawfilloval (400, 150, 130, 80, white)
                drawfilloval (380, 80, 80, 40, white)
                drawfilloval (410, 220, 80, 40, white)
                drawfilloval (520, 110, 70, 50, white)
                drawfilloval (520, 190, 80, 50, white)
                drawfilloval (300, 180, 60, 50, white)
                drawfilloval (300, 120, 40, 30, white)
                Draw.Text ("Controls", 265, 335, font1, black)
                Draw.Text ("Press B to go Back", 15, 360, font2, black)
                Draw.Text ("Welcome to Super-Heli, the classic game that never gets boring!", 70, 285, font2, black)
                Draw.Text ("The controls of this game are basic, to raise your helicopter,", 80, 255, font2, black)
                Draw.Text ("simply click your mouse to ascend your helicopter vertically,", 77, 225, font2, black)
                Draw.Text ("to descend your helicopter, let go of the mouse button.", 100, 195, font2, black)
                Draw.Text ("But be careful don't touch the white sections or its game over!", 70, 165, font2, black)
                Draw.Text ("Good luck and have fun!", 230, 125, font2, black)
                Draw.Text ("Trademark to the IGC (International Gaming Corporation) Do not copy this game.", 115, 15, font3, black)

                View.Update
                getch (ch)
                if ch = "b" then
                    exit
                else
                end if

            end loop


        else
        end if

       
        %drawfillbox (290,170,370,220,41)
        %drawfillbox (270,100,390,150,41)




        icolor := icolor + 1
        if icolor = 62 then
            icolor := 1
        end if
        icolor2 := icolor2 + 1
        if icolor2 = 31 then
            icolor2 := 21
        end if
        iXposition := iXposition + xdirection
        iYposition := iYposition + ydirection

        if iXposition > 455 or iXposition < 0 then
            xdirection := -xdirection
        end if

        if iYposition > 215 or iYposition < 0 then
            ydirection := -ydirection
        end if


        %delay (5)
        View.Update

    end loop
   
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% GAME OVER SCREEN %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                cls
                drawfillbox (0, 0, maxx, maxy, 100)

                % Cloud 1
                drawfilloval (90, 350, 130, 80, white)
                drawfilloval (70, 280, 80, 40, white)
                drawfilloval (200, 310, 60, 50, white)
                drawfilloval (230, 380, 60, 50, white)

                % Cloud 2
                drawfilloval (400, 150, 130, 80, white)
                drawfilloval (380, 80, 80, 40, white)
                drawfilloval (410, 220, 80, 40, white)
                drawfilloval (520, 110, 70, 50, white)
                drawfilloval (520, 190, 80, 50, white)
                drawfilloval (300, 180, 60, 50, white)
                drawfilloval (300, 120, 40, 30, white)
                Draw.Text ("Game Over", 190, 200, font, black)
                View.Update
                delay (2000)
end loop

Author:  mirhagk [ Sat Jan 14, 2012 12:32 pm ]
Post subject:  RE:Final Projects

It's a pretty good project, good job. Only suggestion I have is to look into Time.DelaySinceLast() as that will help with different computers going at different speeds.

Author:  Raknarg [ Sat Jan 14, 2012 2:55 pm ]
Post subject:  RE:Final Projects

One thing I would do is include realistic gravity. What you have is your y value changing by a linear amount. Lets say 5 or something. Instead of saying its 5 if you go up and -5 if you go down, you should say the value that is changing y should increase by 0.1 when going up and decrease by 0.1 when going down. That way instead if moving in zigzags, it'll move in curves, which is more realistic.

Author:  Beastinonyou [ Sat Jan 14, 2012 9:29 pm ]
Post subject:  Re: Final Projects

On a side note, you should've posted this in a new thread in the Submissions... This thread is quite old if you look at the dates =P

Author:  schliefenmeister [ Wed Jun 08, 2016 10:06 am ]
Post subject:  Re: Final Projects

I have made a simple (ish) Turing game of hangman. Suggestions and criticism would be greatly appreciated. Very Happy

Author:  5c0r910n [ Tue Jan 17, 2017 2:21 pm ]
Post subject:  RE:Final Projects

kinda depressing nobody posted anything here...Sad


: