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

Username:   Password: 
 RegisterRegister   
 Name Game Program
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Platinum_Playa




PostPosted: Sat Apr 30, 2005 12:33 pm   Post subject: Name Game Program

My girst time posting on compsci.


%Cmore
%Apr 29th,2005
%This program will output any name in the same pattern

color(9)
drawfill(0,0,12,12)
var name : string
var z := 0

%Program Title
locate(1,37)
colorback(14)
put"ThE NaMe GaMe"..

%Program Intro
locate(3,3)
put"This program will output your name in a specially designed program"

%User input
locate(5,4)
put "Please enter your name "..
get name
cls

%Processing
for x : 1 .. length (name)
z := 0
for y : x .. length (name)
locate (12 + (length (name) div 2) - x, 40 + length (name) div 2 - z)
put name (y)..
z := z + 1
end for
end for

%End Of Program
Sponsor
Sponsor
Sponsor
sponsor
Delos




PostPosted: Sat Apr 30, 2005 3:48 pm   Post subject: (No subject)

1)
Hello.

2)
Please use [code] tags in the future.

3)
It's nice to show that you know how to code using the basics. Not to discourage, but please ask yourself before you post next time "Is this post actually going to be meaningful or useful to anyone on this site?"
Hopefully when V3 comes around there will be a specific Newbie forum to post this kind of stuff...
Dylan-182




PostPosted: Thu May 12, 2005 1:07 am   Post subject: (No subject)

nice work i liked it lol it could have been better but w/e its still cool Very Happy
Lazarus




PostPosted: Wed May 18, 2005 1:32 pm   Post subject: (No subject)

He hasn't made another post since you scared him off Delos.

lol, wonder if he'll be back.
*SmilePlease*




PostPosted: Sat May 21, 2005 10:33 pm   Post subject: (No subject)

Dylan-182 wrote:
nice work i liked it lol it could have been better but w/e its still cool Very Happy
Dylan-182




PostPosted: Sun May 22, 2005 5:09 pm   Post subject: (No subject)

Confused SmilePlease, why did u quote me and then not say anything? Confused

lol
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  [ 6 Posts ]
Jump to:   


Style:  
Search: