Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming

Reply
 
LinkBack Thread Tools
Old 09-16-07   #1 (permalink)
IDDQD
 
C-bro's Avatar
 
intel nvidia

Join Date: Jan 2006
Location: Hamilton, ON
Posts: 1,912

Rep: 296 C-bro is a proven memberC-bro is a proven memberC-bro is a proven member
Unique Rep: 226
FAQs Submitted: 6
Folding Team Rank: 289
Hardware Reviews: 9
Trader Rating: 1
Default Crazy 8's Game



I got bored with the start of the school year and decided to throw together a few card games. Here's the first one in my series. The game is "Crazy 8's". Rules are included with the game, so feel free to test it out and point out any flaws or improvements you find. It's uploaded as an executable Jar file, so you should just be able to download and double click to make it work. You will need the Java runtime environment. It should also work on all platforms. Let me know what you think.

Known Issues:
  • Occasional image buffering glitches remain when a player discards a card.
  • FIXED - When maximizing or restoring a window cards do not appear correctly.
  • FIXED - If the game proceeds long enough to shuffle the deck, there is a glitch with how the draw pile is display.
  • FIXED - The window likes to default to it's original open state (ie. certain size, not maximized, etc.)
  • FIXED - When a player accumulates more than 11 cards in a hand, there is some cut off and only half of the cards are visible.
Considered Improvements:
  • I may implement double buffering to cut down on drawing glitches.
Attached Thumbnails
crazy-8-s-game-screen.png  
Attached Files
File Type: zip Crazy8sEXE.zip (173.8 KB, 45 views)
File Type: zip Crazy8sJAR.zip (76.7 KB, 29 views)

System: RAID0R
CPU
Intel E2180 3.33GHz
Motherboard
Asus P5K-E/WIFI-AP vMod
Memory
2GB Kingmax DDR2-1066
Graphics Card
EVGA 8800GT
Hard Drive
2x250GB WD+500GB 7200.11
Sound Card
SB Audigy 2
Power Supply
Corsair CMPSU-550VX
CPU cooling
Arctic Cooling Freezer 7 Pro
GPU cooling
Zalman VF900-Cu
OS
Windows Vista Business x64
Monitor
HP F2105 21" & Samsung 712N

Last edited by C-bro : 09-26-07 at 03:06 AM.
C-bro is offline I fold for Overclock.net Overclocked Account C-bro's Gallery   Reply With Quote
Old 09-25-07   #2 (permalink)
PC Gamer
 
coltsrock's Avatar
 
intel ati

Join Date: Apr 2006
Location: Neeeeebraska
Posts: 3,518

Rep: 109 coltsrock is acknowledged by manycoltsrock is acknowledged by many
Unique Rep: 90
Folding Team Rank: 751
Trader Rating: 0
Default

I love it, and this was made in Java, correct? If so i might be ineterested in learning java
__________________

System: ^The Man \/ The legend
CPU
E8400 Q815A182 @4.104
Motherboard
Asus P5E
Memory
G.Skill 4GBPQ 1000
Graphics Card
VisionTek 4870
Hard Drive
WD Raptor XXX
Sound Card
X-Fi Xtremegamer Fatal1ty
Power Supply
Corsair 750TX
Case
Antec P180
CPU cooling
Xigmatek HDT-S1283 + MX2 TIM
GPU cooling
Stock+30% Fan
OS
Vista Home Premium x64
Monitor
Samsung T240 24'
coltsrock is offline I fold for Overclock.net coltsrock's Gallery   Reply With Quote
Old 09-25-07   #3 (permalink)
The CanAsian
 
UberN00B's Avatar
 
intel ati

Join Date: Jan 2005
Posts: 5,627

Rep: 345 UberN00B is a proven memberUberN00B is a proven memberUberN00B is a proven memberUberN00B is a proven member
Unique Rep: 258
FAQs Submitted: 4
Folding Team Rank: 704
Hardware Reviews: 8
Trader Rating: 27
Default

you should make it MULTIPLAYER, that would be one hell of a project and a ton of fun.
__________________
On a budget Build? See my FAQ!!
http://www.overclock.net/faqs/36946-...-system-i.html

UPDATED MARCH 5th 07'

NEW! Overclock.net Ping boosted CS:S Server - overclock.nuclearfallout.net:27015

System: MAN PARTS
CPU
Intel e2160 @ 3.1ghz
Motherboard
DFI Blood Iron
Memory
2GB DDR800 OCZ Plat. XTC Rev 2
Graphics Card
HIS HD 3850
Hard Drive
250GB Seagate 7200.10
Sound Card
Soundblaster Live!
Power Supply
Silverstone 500w
CPU cooling
Thermalright Ultra-120 Extreme
GPU cooling
Thermalright HR-03 GT
OS
Windows XP / Vista Dual Boot
Monitor
20" LG Widescreen
UberN00B is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 09-25-07   #4 (permalink)
New to Overclock.net
 
redsox83381's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: Jersey
Posts: 3,543

Rep: 197 redsox83381 is acknowledged by manyredsox83381 is acknowledged by many
Unique Rep: 149
Trader Rating: 12
Default

This is addicting lol.
__________________
Put this in your sig if you're an Immortal Technique Soldier
Quote:
Originally Posted by Malcolm X;
Brothers and sisters, and friends -- and I see some enemies. In fact, I think we’d be fooling ourselves if we had an audience this large and didn’t realize that there were some enemies present.

E6300 @ 3.5 Proof

System: Illmatic
CPU
e4500
Motherboard
ds3l
Memory
2gb of real D9's.
Graphics Card
Palit 8800GT
Hard Drive
250 7200.10
Power Supply
corsair hx 520

Last edited by redsox83381 : 09-25-07 at 11:46 PM.
redsox83381 is offline   Reply With Quote
Old 09-26-07   #5 (permalink)
IDDQD
 
C-bro's Avatar
 
intel nvidia

Join Date: Jan 2006
Location: Hamilton, ON
Posts: 1,912

Rep: 296 C-bro is a proven memberC-bro is a proven memberC-bro is a proven member
Unique Rep: 226
FAQs Submitted: 6
Folding Team Rank: 289
Hardware Reviews: 9
Trader Rating: 1
Default

Thanks for the interest guys!

Yes it is programmed 100% in java, quite easily too. The only tricky part was that my card deck image was a single file, and I had to extract subsections of that file to produce the image on each card. However, I can give you my solution for that if you're going to make a card game as well.

As for the networking comment... that's in the works. I was reading up on client-server type classes in Java and I'm still a tad fuzzy on it. I'd like to just send the entire windows contents using the send(Object) method, but I'm not sure how that would work as far as bandwidth goes. I think what I'll end up doing is just setting up a transaction sending/recieving where it checks the move clientside and does all the processing, then simply sends an int to represent card value and suit. That card then gets decoded and put on the top of the other player's deck. There's also a drawback because at the moment I have to invoke a couple extra methods for the AI to recognize the card that was played, and play the best possible card in the hand.

Either way it's a work in progress, and glad you're enjoying it. If you find any bugs that I haven't listed or improvements you could see, let me know.

System: RAID0R
CPU
Intel E2180 3.33GHz
Motherboard
Asus P5K-E/WIFI-AP vMod
Memory
2GB Kingmax DDR2-1066
Graphics Card
EVGA 8800GT
Hard Drive
2x250GB WD+500GB 7200.11
Sound Card
SB Audigy 2
Power Supply
Corsair CMPSU-550VX
CPU cooling
Arctic Cooling Freezer 7 Pro
GPU cooling
Zalman VF900-Cu
OS
Windows Vista Business x64
Monitor
HP F2105 21" & Samsung 712N
C-bro is offline I fold for Overclock.net Overclocked Account C-bro's Gallery   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 03:23 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.36150 seconds with 9 queries