473,394 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

What simple GUI programs are there?

LazyPrinzez
Hello! I've just learned Java for about a month and a half. It's our focus for this semester. Now my teacher said that for our project, we are to make useful programs with GUI. She said that games would be okay. The thing is, I don't have any idea what I'm supposed to make in this project. Our deadline for passing program proposal is the end of January, but I still don't know what to make! >.<

I have thought of making a memo-calendar that would be like Google Gadgets but I guess that is just too much. I was thinking of making a maze but (heck) I don't know how heavy this project will be with GUI. T_T I was thinking of making a Chess game but, I'm not a chess player (I suck at chess, I know a THE rules but I suck at chess, logic for possibilities will be very hard). So now, I'm back to zero ideas.

Can anyone suggest?

My teacher requires GUI for our project but I haven't done any programs with GUI (she didn't teach us GUI just yet too!) still she insisted that we pass a project proposal before January ends. Help me, I'm panicking... ='(

PS ->> If my experiences matter, then I've done a few basics but NO GUI (not yet, because we didn't touch that topic just YET). I know what the parameters in a method name means, I know what modifiers (like public and private) mean and I know what static and non-static methods are. I also know what a constructor is, and I know about wrapper classes and overloading. Not much about inheritance and interface (just yet) but I'm reading ahead of our curriculum. So yeah, it's not much (I repeat, I'm just a beginner), but I hope this bit of information helps you for making a suggestion... ^_^
Jan 10 '10 #1

✓ answered by ThatThatGuy

For this game you should have the whole logic of the game either in a database.... or in a text file or in the code itself...

you should have a step-by-step process like....

if you display this number to the user
545446515151
and ask the user that what's the 5th number....
then if the user entered 4 then loop through each number or convert the number
to a string and then check for the number or char in that location....

so store a couple of numbers inside the code or generate random sequence of numbers and show them to the user.... no need to use databases...

also you can randomize the question.... sometimes it will ask for 4th number 7th number etc.... also this will be your game's strong point.... and you can present the user with new numbers ... as the numbers are note repeated once the user has finished playing the game

10 9475
ThatThatGuy
449 Expert 256MB
since your is almost on the deadline .....

I suggest you should not try to build heavy gui applications....like games...
And so you're new to programming..

What i can say here is GUI programs are no simple... its complicated especially when one moves from Console.... So it takes a bit of a time for GUI programming.... and in java it a mess... i suggest you should stick o some basic application such as a Notepad.... A notepad would be a good way to start and Explore GUI Programming in any Language
Jan 11 '10 #2
Yeah, like I don't wanna do GUI yet because we weren't taught that lesson yet. If I could just do that. T_T

But the thing is, my teacher wanted us to make a GUI program. If I were to be asked, I'd prefer to learn GUI first. My big problem is, I can't decide what to program since I don't how good my GUI programming will be in the future (when our teacher would finish the discussion) and how I would be able to apply it on my project.

I would really think a light GUI programming would be good. I don't want to look forward to finishing something what my skills can't do. I'd prefer doing what I can do as much as possible but since I don't know how far my GUI skills could go (and since we're kind of forced to propose something we don't know how to do yet), I think a light GUI would be the best choice.

But GUI is just a factor, a program suggestion is what matters, right? So logic factor first, then the weight of GUI to be applied (but this is a must factor though, how light of an application it may be).

Can you help me with a suggestion? Will tic-tac-toe be a nice one? So weak right? Okay, a slightly heavier one...any suggestions? Just suggestions, anyway...no codes will be okay...just ideas.... ^_^

Thank you in advance!!!
Jan 11 '10 #3
Okay, now that I think of it, will a scrib-age like program be bad? (Scrib-age or bookworm like.)

Will this be a heavy program?

Okay, perhaps a word-list would make it too large. Same might go for the randomization of letter-combinations. Hmmm...what do you think?

By the way, ThatThatGuy, the deadline I mentioned beforehand was the deadline for passing the project program proposal, not the program itself. We're just in the planning stage...but I'm panicking though...February is fast approaching... O.O
Jan 11 '10 #4
ThatThatGuy
449 Expert 256MB
Oh !! a Tic Tac Toe would be a easy and will be built in a less amount of time... go ahead....

But your teacher should understand... that a learning student or a novice is not capable of grabbing things before being taught on their own....

bye the way are u in school or something.....
Jan 11 '10 #5
Yeah, haha... I'm taking up Computer Science (even though most people think that you don't need a course for programming).

I was thinking of this game I tried in my friend's phone. It has a string of numbers scrolling across the screen for a short time then it asks questions like "What is the nth number?" or "How many odd/even digits were there?" or "Or how many 3's were there?" and on...

Will this be a difficult program? Okay, so maybe randomization of things will be difficult so how about taking off the randomization? Sort of scripted-like, will this be a difficult one? I guess this one would need minimal GUI. Plus it's a unique/not-so-popular-game so there wouldn't have any other competitors for this proposal. Haha! ^_^

By the way, another person got ahead of me and proposed tic-tac-toe, so I can't do that. The project program must be unique for everyone. T_T
Jan 12 '10 #6
ThatThatGuy
449 Expert 256MB
A game like that is pretty easy to build.... even logic required for a tic tac toe...
is not mere easy... requires fine logic....

You string game is fine and simple..... but look and consult your teacher as buildling such a simple application may cost you less marks
Jan 12 '10 #7
Thanks ThatThatGuy!!! Okay, tomorrow I will consult her. If logic is all I would need for greater marks, then how about I randomize everything?

I was planning for an easy-average-difficult type of game. In each of the three levels, I would make the time interval for the string's marquee-like action become even less, and also, I might like to add questions like, "What are the 5th and 9th numbers?"

Then I randomize all of the strings to be shown and the answers would depend on the string chosen. I think that would require much logic (MUCH, on my part, that is).

If that's not enough then how about adding a scoring process and a username monitoring. There's also an optional Hall-of-Fame function. Obviously, I would need a database for this and data-managing/monitoring is quite a heavy load of logic (from my experience on VB6.0, which was my previous language [last year during my senior year in high school]). Yes, that was VB6, and that was a difficult one, how much more if I use JAVA? T_T (* I might die during the making of this project.*)

So those options might solve the lightness of the project's logic system, but I'd probably die (sorry for the exaggeration, but you get the point) if I include all of these. Like you said, I should consult my teacher on this, and so, I will.

Thanks!!! ^_^
Jan 13 '10 #8
ThatThatGuy
449 Expert 256MB
For this game you should have the whole logic of the game either in a database.... or in a text file or in the code itself...

you should have a step-by-step process like....

if you display this number to the user
545446515151
and ask the user that what's the 5th number....
then if the user entered 4 then loop through each number or convert the number
to a string and then check for the number or char in that location....

so store a couple of numbers inside the code or generate random sequence of numbers and show them to the user.... no need to use databases...

also you can randomize the question.... sometimes it will ask for 4th number 7th number etc.... also this will be your game's strong point.... and you can present the user with new numbers ... as the numbers are note repeated once the user has finished playing the game
Jan 14 '10 #9
Thanks thatthatguy! I was thinking of making separate methods that could call these questions randomly as well as methods that provide an answer. A Binary Searching Algorithm could be of use or since we plan to generate a maximum of fifteen characters, I guess a simple linear searching method would do the trick. (Like you said, looping will be necessary, as well as the "charAt()" method from the String class.)

Now the problem should only be about randomization.... I guess I might be able to reconstruct a JAVA code out of a randomizing function I stumbled upon my study of the C programming language. One for randomizing the numbers on the string, another for randomizing the question/method.

So yeah... That was basically all I thought... Whew, I feel hopeless in this thing... T_T

But I wouldn't back down on an interesting challenge that may improve me! >.< If a programmer gives up, not even a program may exist! Haha... XD

And yeah, also for my grades...my grades... T_T
Jan 19 '10 #10
They might call this resurrecting a zombie, but I just want to put one last post.

I thought I need database for player profiles...so I dumped that. I was able to make a scoring process (I even made a "reward" system to increase the "life" of the players, like casual Mario).

My team mates helped with the audio-visual and I did the internal logic thingy. We did the project, passed it on time and we luckily got a 93%. =D

Even though it's a late, I would like to say: Thank you so much for your help, ThatThatGuy!!! ^_^
Jul 26 '10 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
44
by: lester | last post by:
a pre-beginner's question: what is the pros and cons of .net, compared to ++ I am wondering what can I get if I continue to learn C# after I have learned C --> C++ --> C# ?? I think there...
72
by: E. Robert Tisdale | last post by:
What makes a good C/C++ programmer? Would you be surprised if I told you that it has almost nothing to do with your knowledge of C or C++? There isn't much difference in productivity, for...
0
by: Nathanael | last post by:
Hi Guys, You probably have heard of affiliate marketing before but what exactly is affiliate marketing? In this introduction you'll find an explanation of the basics of affiliate marketing. The...
13
by: SailFL | last post by:
I have read threads here and there and I have looked at MS but I can not get a clear understanding of what .Net acutally is. I understand that C++ and Vb and other languages are being out a .Net. ...
1
by: Mortel | last post by:
Hi, What I find in this product ? I want to buy this tool but I'm afraid that it's simple tool to do good application. I know that I can read about that on the internet but I want to hear what...
126
by: ramyach | last post by:
Hi friends, I need to write a parallel code in 'C' on the server that is running SGI Irix 6.5. This server supports MIPS Pro C compiler. I don't have any idea of parallel C languages. I looked...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
132
by: Frederick Gotham | last post by:
If we look at a programming language such as C++: When an updated Standard comes out, everyone adopts it and abandons the previous one. It seems though that things aren't so clear-cut in the C...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.