Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-21-2012, 05:13 PM   PM User | #1
Vicious
New to the CF scene

 
Join Date: Jun 2012
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Vicious is an unknown quantity at this point
The right way to get started

Let me first start off by introducing myself. Hello, I go by the name of Vicious, 16 years of age and reside in Oklahoma City, Oklahoma.

*Additional Info*
I attend a school (South-east High School of Technology) that doesn't teach any sort of coding and I have to rely on the Internet and a programming PHP book to learn any sort of codes.(Written by Rasmus Lerdorf, Kevin Tatroe & Peter MacIntyre).

(Also, Yeah a Technology school that doesn't teach coding? What the hell..)

Alright, what I'm looking to accomplish is to create a text based game. Such as "http://www.theninja-rpg.com" for example. I have my idea of what I want to do but I have no idea what I'm doing. What direction should I start in first? Do I create the page's template or do I create the log in and register functions? What about the battle system? When do I place that? What codes to I use? What's the best place to learn them?

So basically, I want to know the fundamentals of creating a text based game.



Hope I given you enough information to work with. If not reply with your questions and I will answer the best I can. Thank you for your time.
Vicious is offline   Reply With Quote
Old 06-21-2012, 08:26 PM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,454
Thanks: 0
Thanked 498 Times in 490 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
I'd start by planning out how the game is supposed to work. break it up into separate processes and then break them down further until you get to the point where you fully understand what each individual process needs to do. You can then code each separately.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Users who have thanked felgall for this post:
Vicious (06-22-2012)
Old 06-24-2012, 06:57 PM   PM User | #3
lynnietjuh
New to the CF scene

 
Join Date: Jun 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
lynnietjuh is an unknown quantity at this point
Hi guys, I'm new to programming and studying Software Development Fundamentals. Do any of you know anything about C#?

The assessment says to write the following code snippet:
int n = 20;
int d = n++ + 5;
What will be the value of d after this code snippet is executed?
a) 25
b) 26
c) 27
d) 28

How do i work this out?
lynnietjuh is offline   Reply With Quote
Old 06-24-2012, 07:41 PM   PM User | #4
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,045
Thanks: 8
Thanked 1,029 Times in 1,020 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
B

++ means to add one to itself (or increment it) ... so n would be 21

then add 5.

Now the part I'm not sure about is the order of operations.
I think the increment happens first and the add happens 2nd.


.
mlseim is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:00 PM.


Advertisement
Log in to turn off these ads.