Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 11-10-2008, 12:43 AM   #1
Fully Optimized
 
Š88's Avatar
 
Join Date: May 2005
Posts: 4,775
Send a message via MSN to Š88
Default Java help

I have to create a program in java that's about 250 lines in length and also something that's not too difficult but still uses a lot of java elements. I was thinking of creating a Black Jack game. Do you think that would meet the requirements?

Also, if i run into trouble i would like to have someone i could ask questions (this is my first time programming in java).
__________________

__________________
Killing under the cloak of war is no different than murder

Kein Alkohol ist auch keine Lösung!
Š88 is offline   Reply With Quote
Old 11-10-2008, 04:42 PM   #2
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Java help

From what I've seen Java resembles C++. I can give you a hand while talking about specific functions and such, however I won't be able to type out code b/c of my lack of knowledge in syntax.

As far as what you should program, I think Black Jack would work. Is Java like VB in which it allows you to create forms? B/c the only trouble I see with Black Jack is that if Java is more like C++ in which it runs on the command console, the game would look a bit boring.

On my C++ final, I created a little mini command console arcade. It had games such as Simon Says, Guess-the-number, and simple memorization games. Although it is pretty boring, it's the most life I could bring out of that black box.
__________________

JogaBonito1502 is offline   Reply With Quote
Old 11-10-2008, 05:12 PM   #3
Fully Optimized
 
Š88's Avatar
 
Join Date: May 2005
Posts: 4,775
Send a message via MSN to Š88
Default Re: Java help

it will be quite basic, ya. I'm not going for something that will look pretty. So without any sort of amazing visual elements (cards will likely be constructed from ascii characters) do you think it's a reasonable project? I have about 3 weeks to code it and write a short paper.
__________________
Killing under the cloak of war is no different than murder

Kein Alkohol ist auch keine Lösung!
Š88 is offline   Reply With Quote
Old 11-10-2008, 05:23 PM   #4
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Java help

3 weeks! Definitely. My final took me around a week and a half and it was barely over a thousand lines of code. If you have a cap on how many lines you can use you might have to do a lot of loops and arrays to save lines. On mine, I evened out everything; it was all nice and neat. The meat was probably around 300-400 lines of code.
JogaBonito1502 is offline   Reply With Quote
Old 11-10-2008, 05:29 PM   #5
Fully Optimized
 
Š88's Avatar
 
Join Date: May 2005
Posts: 4,775
Send a message via MSN to Š88
Default Re: Java help

all right, i feel a little more confident already with my choice. It's just a matter of getting started. I have a lot of other things to do including a program in Scheme and a larger one in C++. Thanks! (i'd rep, but says i can't yet)

Also, still looking for someone who could help me with errors if I run into them.
__________________
Killing under the cloak of war is no different than murder

Kein Alkohol ist auch keine Lösung!
Š88 is offline   Reply With Quote
Old 11-10-2008, 05:31 PM   #6
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Java help

Hahah..no problem. What's kind of language is Scheme? And what are you doing for C++? I seriously gotta find something to program b/c I'm growing bored.
JogaBonito1502 is offline   Reply With Quote
Old 11-10-2008, 05:37 PM   #7
Fully Optimized
 
Š88's Avatar
 
Join Date: May 2005
Posts: 4,775
Send a message via MSN to Š88
Default Re: Java help

Scheme is a functional programming language. Quite basic but because of being so basic it lacks a lot of the features that i became reliant on in C++ for instance (like loops). It also uses a lot of brackets which gets tedious. Apparently it's used for AI programming and I don't really know what else.

The program I will be writing in C++ is suppose to simulate a client/server model. I haven't looked into it to know what the details of it are just yet.
__________________
Killing under the cloak of war is no different than murder

Kein Alkohol ist auch keine Lösung!
Š88 is offline   Reply With Quote
Old 11-10-2008, 07:12 PM   #8
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Java help

I need something to program in C++ Express. I'd like to utilize the .NET framework. Any ideas?
JogaBonito1502 is offline   Reply With Quote
Old 11-10-2008, 07:30 PM   #9
Fully Optimized
 
Š88's Avatar
 
Join Date: May 2005
Posts: 4,775
Send a message via MSN to Š88
Default Re: Java help

I don't have any experience coding with .NET so I don't think I can help you but I understand your situation. It's hard coming up with new programming ideas that will keep you interested long enough to finish it lol.
__________________
Killing under the cloak of war is no different than murder

Kein Alkohol ist auch keine Lösung!
Š88 is offline   Reply With Quote
Old 11-13-2008, 10:12 PM   #10
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Java help

How's the Black Jack game working? I was on the brink of creating a better version of FreeCell today...then I started playing it.
__________________

JogaBonito1502 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 04:12 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0