General Discussions

my first program – bennythebear

bennythebear

Member

Posts: 1225
From: kentucky,usa
Registered: 12-13-2003
don't laugh. i just completed my first program, a calculator. sadly enough, all it does is add and subtract integers, no decimals yet! but considering my track record i'm making improvement

------------------
proverbs 17:28
Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man of understanding.

www.gfa.org - Gospel for Asia

Grant

Member

Posts: 53
From: Melbourne, VIC, Australia
Registered: 09-11-2004
hey we all had to start somewhere ...

"Hello world"

------------------
They say that when you run a Microsoft CD backwards you can hear demonic voices... But that's nothing - When you run it forwards it installs Windows..

bennythebear

Member

Posts: 1225
From: kentucky,usa
Registered: 12-13-2003
oh yes, the "hello world". every book starts off with that. i'm just waiting until i start messing with data bases...i don't see how they could pull that one off. anywho, thanks for the support.

------------------
proverbs 17:28
Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man of understanding.

www.gfa.org - Gospel for Asia

Wacko4X

Member

Posts: 92
From: Bellvue, WA, USA
Registered: 08-21-2002
Way to go Benny! Everyone has to start somewhere... As for me, I'm hoping to upload my first "game" to here. Its just a simple BlackJack game in the console
It may take some time though do to lack of time and some bugs that I am having trouble with.

But excellent job mate!
Wacko

ArchAngel

Member

Posts: 3450
From: SV, CA, USA
Registered: 01-29-2002
"hello world!"

my first program in VB, C++, and Java. heh. why do they like that so much!??
lol.
but hey, one of my first programs was a calculator too!

sweet. I'd like to see black jack.
hmmm.. considering on uploading my first c++ game... Mech Assualt. haha. text adventure. oh yeah!lol.

------------------
Soterion Studios

bennythebear

Member

Posts: 1225
From: kentucky,usa
Registered: 12-13-2003
my first game, if i make one, will prob'ly be something like utopia, earth: 2025, raging universe...the online multiplayer rts type with no graphics. but that's later on. i'd like to check out the blackjack game. and what's the story line for your game arch?

------------------
proverbs 17:28
Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man of understanding.

www.gfa.org - Gospel for Asia

ArchAngel

Member

Posts: 3450
From: SV, CA, USA
Registered: 01-29-2002
benny... start out with something simple. an online multiplayer is too grand for a first game. start just making games that are simple. work your way up. you'll learn the skills necessary for making good games.

um, my plot line is hmmm...let me take the excerpt from the game. mind you, I wrote this in... jr. high. lol.

quote:
It is year 2105. This is the Assault Corp. You have a laser cannon (attack 2) and your speed is 2. Your mission is to retrieve a data card on the new doomsday machine, the K-33 Fury. It is a huge battle ship that is built in orbit. Our starfighters can't penetrate the shield and it's moving to strike the major world cities. The base you are to infiltrate is contaminated with Mechs, mechanical warriors, destroy them! Command out.

------------------
Soterion Studios

bennythebear

Member

Posts: 1225
From: kentucky,usa
Registered: 12-13-2003
keep in mind, no graphics involved, at least nothing harder than puting images in an html document. i'm sure i'll make simple games first, but i mean more of my first game that people might actually play for more than 10 minutes then delete it. i'm getting more interested in programming as i go along.

------------------
proverbs 17:28
Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man of understanding.

www.gfa.org - Gospel for Asia

bennythebear

Member

Posts: 1225
From: kentucky,usa
Registered: 12-13-2003
*update*
i've figured out how to do something besides integers...change the variable declaration from "integer" to "currency"...duh. i've also figured out how to do multiplication and division, and it's actually quicker and simpler than i had it before. anywho...

------------------
proverbs 17:28
Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man of understanding.

www.gfa.org - Gospel for Asia

D-SIPL

Moderator

Posts: 1345
From: Maesteg, Wales
Registered: 07-21-2001
Nice one. You'll probably be moving onto different data types around now... float, double etc etc

--D-SIPL

------------------
If at first you don't succeed, destroy all evidence that suggests you tried

ArchAngel

Member

Posts: 3450
From: SV, CA, USA
Registered: 01-29-2002
char... long...

learn them well. one programmer got 17 years of criminal negligence because he used an "int" instead of "long" in his program. no joke.
he was coding for this nuclear facility, and the numbers used were to big for the "int" data type, so the doors ended up opening. which is a bad thing.

------------------
Soterion Studios

bennythebear

Member

Posts: 1225
From: kentucky,usa
Registered: 12-13-2003
that's messed up. criminal negligance over a program. remind me to never get a government job.

------------------
proverbs 17:28
Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man of understanding.

www.gfa.org - Gospel for Asia

Klumsy

Administrator

Posts: 1061
From: Port Angeles, WA, USA
Registered: 10-25-2001
arrgh, they should have put away the dimwit project manager / risk analyser that choose to choose a language/enviroment where such a small error could produce such drastic results, without proper testing etc

well actually put away the Tester, everybody knows Testers are the root of all evil

------------------
Karl /GODCENTRIC
Visionary Media
the creative submitted to the divine.
Husband of my amazing wife Aleshia
Klumsy@xtra.co.nz

bennythebear

Member

Posts: 1225
From: kentucky,usa
Registered: 12-13-2003
blah! as i begin to make it more useful i'm realizing it's going to take me a while to finish it. i'm trying to figure out how to make it do something. like, when clicking "+" finishing the last command, clearing the textbox, and setting it up to add the number the user is fixing to put it. right now i can't think strait so i'm going to wait until later, going on a lack of sleep. anywho...

------------------
proverbs 17:28
Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man of understanding.

www.gfa.org - Gospel for Asia

CoolJ

Member

Posts: 354
From: ny
Registered: 07-11-2004
quote:
my first game, if i make one, will prob'ly be something like utopia, earth: 2025, raging universe...the online multiplayer rts type with no graphics. but that's later on. i'd like to check out the blackjack game.[/B]

I've been thinking of doing a game like this too. I've played Utopia a little and I'm reading a book PHP Game Programming. It guides you through putting together a game like this, and learning some PHP, mysql database, and includes a fully sourced sample game called Kiddy Kartel, where your a kid and you set up your neighborhood and compete against other kids and their neighborhoods by mowing lawns, selling lemonade and baking cookies (in simple bake ovens). Then you can hire bullies and paperboys to steal and sabatoge the other neighborhoods. Its a funny game idea, but original.

I would like to do a christian turned based game, like Utopia, Kings of Chaos, etc.. but so far I haven't been inspired with a good game idea yet. If you got any ideas let me know.

bennythebear

Member

Posts: 1225
From: kentucky,usa
Registered: 12-13-2003
you could have it set up like a war game. instead of being a military leader you're a missionary leader. your goal would be to organize sources and stuff to evangelize. like training evangelist, missionaries, pastors, teachers and that sort of thing instead of different military units, and each have their unique gifts. building hospitals, churches, schools, houses, instead of the typical kind of buildings in other games. your population would be the amount of people converted, and the conversion rate would take place of the birth rate. as for the research i'm not sure what to put there. it could be in strict biblical knowledge/training(quicker training of units), witnessing techniques(higher conversion rate), and some other stuff. that's all i got for now. hope it's some help.

------------------
proverbs 17:28
Even a fool, when he holdeth his peace, is counted wise: and he that shutteth his lips is esteemed a man of understanding.

www.gfa.org - Gospel for Asia

d000hg
Member

Posts: 144
From: Durham, UK
Registered: 07-27-2004
My first game, in early development, can be found here. Read the readme.txt for controls, and if anyone has a friend they could try the split-screen with I'd love to hear your impressions.

[This message has been edited by d000hg (edited September 21, 2004).]