So I have a java school project to do. I need to create a java program, that is quite large and has lots of features.
My project is a java game called Memory.
[img]http://filesmelt.com/dl/426.JPG[/img]
It's a pack of different games, where you need to use your memory to complete them.
[b]Memory[/b]
For example, a very well known card game Memory, which looks like this:
[img]http://filesmelt.com/dl/130.JPG[/img]
I also have a seperate Memory game, which is identical to the one I stated, but this one has a timer. It locks, if you don't complete the game in certain amount of time.
[img]http://filesmelt.com/dl/239.JPG[/img]
[b]Numbers[/b]
And another game I added is something I came up with. It's actually quite hard and entertaining to do. I call it Numbers. You get 18 cards and all these cards have numbers on them. Each card has it's own number from 1 to 18, there are no pairs. Your goal is to open them in order from 1 to 18. If you fail, all cards get hidden and you need to start over.
[img]http://filesmelt.com/dl/330.JPG[/img]
This is pretty much it for now. I still have some games in mind and I'll start working on them as soon as I can. I'm working on profiles now.
[b]Features:[/b]
-Memory Game
-Memory Game with timer
-Numbers Game
-Fast Game
-Tutorials
-Randomly places cards, no static places (This was a pain in the ass to program)
-Easy Mode(3X8)
-Hard Mode(6X8)
-Different Themes(Animals, Nature, Mixed,...)
[b]Working on:[/b]
-Profiles(Each user has it's on save file and stats)
-Achivements
-Few other games
-High Score Scale
That's mostly it. Keep in mind, language is Slovenian, since it's school project. As soon as I translate it to English, I will upload it and see, if you guys like it.
This program is made with NetBeans. I'm creating it since the start of 2010.
It's still in beta stages, so appearance will change. I'm mostly just building the core now.
Will update the thread, when I make some changes.
[QUOTE=Greendead;26796918]
-Randomly places cards, no static places (This was a pain in the ass to program).[/QUOTE]
couldn't you add all the cards to an arraylist, copy the arraylist to a new one called "positions" and then shuffle it, then assign each one to a button (assuming your card positions were in an array)
[QUOTE=aero1444;26797038]couldn't you add all the cards to an arraylist, copy the arraylist to a new one called "positions" and then shuffle it, then assign each one to a button (assuming your card positions were in an array)[/QUOTE]
No, card positions weren't in array.
But I made an array of numbers from 1 to 9 (3X8 memory)and stated, that when you press the first card, the number in first index gets choosen, meaning the picture that has that number is shown. It's was rather complicating for me, since I'm still learning java programming.
But this problem accured few months ago, I have a bit more experience now.
[editline]19th December 2010[/editline]
But now, I'm learning with files. Creating, writing and reading them. So far I learned all of these, but I need to put them together somehow.
have it record your highest score/fastest times for each game to a text file, and read it every time you start the game it reads them back in?
[QUOTE=Greendead;26797137]No, card positions weren't in array.
But I made an array of numbers from 1 to 9 (3X8 memory)and stated, that when you press the first card, the number in first index gets choosen, meaning the picture that has that number is shown. It's was rather complicating for me, since I'm still learning java programming.
But this problem accured few months ago, I have a bit more experience now.
[editline]19th December 2010[/editline]
But now, I'm learning with files. Creating, writing and reading them. So far I learned all of these, but I need to put them together somehow.[/QUOTE]
Try making a text editor?
[QUOTE=aero1444;26797363]have it record your highest score/fastest times for each game to a text file, and read it every time you start the game it reads them back in?[/QUOTE]
Yes, exactly. Every user would have it's own text file with his game stats.
[QUOTE=Greendead;26797809]Yes, exactly. Every user would have it's own text file with his game stats.[/QUOTE]
Great. Save them on an FTP server and you'll be like me! :buddy:
Sorry, you need to Log In to post a reply to this thread.