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: Windsor, ON
Posts: 2,291

Rep: 341 C-bro is a proven memberC-bro is a proven memberC-bro is a proven memberC-bro is a proven member
Unique Rep: 264
FAQs Submitted: 6
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, 93 views)
File Type: zip Crazy8sJAR.zip (76.7 KB, 63 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 VX550
Case
Lian Li PC-7B Plus II
CPU cooling
Arctic Cooling Freezer 7 Pro
GPU cooling
Zalman VF900-Cu
OS
Windows Vista Business
Monitor
Dell 2709W 27"

Last edited by C-bro : 09-26-07 at 02:06 AM
C-bro is offline 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,548

Rep: 110 coltsrock is acknowledged by manycoltsrock is acknowledged by many
Unique Rep: 91
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.203
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/Lapped CPU
GPU cooling
Stock+30% Fan
OS
Vista Home Premium x64
Monitor
Samsung T240 24'
coltsrock is offline 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,811

FAQs Submitted: 4
Folding Team Rank: 1245
Hardware Reviews: 8
Trader Rating: 28
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 Q6600 3.1ghz
Motherboard
DFI Blood Iron
Memory
4GB DDR2-1000 Mushkin Redlines
Graphics Card
HD 4850 1GB
Hard Drive
2x 250GB Seagate 7200.10 RAID0
Sound Card
XTremeMusic
Power Supply
Silverstone 500w
Case
Coolermaster HAF932
CPU cooling
Thermalright Ultra-120 Extreme *LAPPED*
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)
Networking Nut
 
redsox83381's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: Jersey
Posts: 4,024

Rep: 223 redsox83381 is acknowledged by manyredsox83381 is acknowledged by manyredsox83381 is acknowledged by many
Unique Rep: 168
Trader Rating: 14
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 (now mobile)
CPU
C2D 2.0ghz
Memory
4gb DDR2-667
Graphics Card
8600M GT
Hard Drive
250gb 5200RPM

Last edited by redsox83381 : 09-25-07 at 10: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: Windsor, ON
Posts: 2,291

Rep: 341 C-bro is a proven memberC-bro is a proven memberC-bro is a proven memberC-bro is a proven member
Unique Rep: 264
FAQs Submitted: 6
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 VX550
Case
Lian Li PC-7B Plus II
CPU cooling
Arctic Cooling Freezer 7 Pro
GPU cooling
Zalman VF900-Cu
OS
Windows Vista Business
Monitor
Dell 2709W 27"
C-bro is offline 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 -5. The time now is 12:36 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

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