![]() |
Crazy Eights game
Here's a Crazy Eights game. This was fun to write. So far it only works in
IE. I'm working on a Netscape version. I haven't installed other browers (yet). I'm open to comments and suggestions. I'm sure there are ways to improve it. Note that I do not use cache for the card images. Instead, I build 52 <img>'s and use hidden/visible and position to move and display them. This seems to be faster than caching. Here's the URL... http://home.comcast.net/~jimnbigd/crazy8/crazy8.htm ....Jim... |
Re: Crazy Eights game
"Jimnbigd" <jimnbigd@comcast.net> wrote in message
news:PaqdnUnyluEVzAjfRVn-2Q@comcast.com... > Here's a Crazy Eights game. This was fun to write. So far it only works in > IE. I'm working on a Netscape version. I haven't installed other browers > (yet). I'm open to comments and suggestions. I'm sure there are ways to > improve it. Note that I do not use cache for the card images. Instead, I > build 52 <img>'s and use hidden/visible and position to move and display > them. This seems to be faster than caching. Here's the URL... > > http://home.comcast.net/~jimnbigd/crazy8/crazy8.htm > > ...Jim... Pretty good! I'd probably rename the images from, say, "twospades.gif" to "2S.gif". (And the corners of the cards are little funny.) I'd layout it out differently and make the buttons the same width via CSS. I haven't looked at the code behind. Good luck. |
Re: Crazy Eights game
Well let me first comend the effort.
The detail put in was great! Once you finish any modifications and/or clean up parts of the code you want to I would like to put this on my website. If you are interesed you can email me at sandfordc@gmail.com Best Regards, Sandfordc www.JavaScript-Central.tk |
Re: Crazy Eights game
> "McKirahan" <News@McKirahan.com> wrote... > I'd probably rename the images from, say, "twospades.gif" to "2S.gif". > (And the corners of the cards are little funny.) Yeah, I agree. I cheated. I stole these images from someone elses web page. Oh well, I'm lazy on some things.<lol>. If you know of a site that has better card images, let me know. > I'd layout it out differently and make the buttons the same width via CSS. Good idea. I need to get more familiar with CSS. I tend to "brute force" some things that I know could be done better. I also want to add cookies to keep a cummulative score, with a user name input to allow multiple users on the same computer. ....Jim... |
Re: Crazy Eights game
"Sandfordc" <sandfordc@gmail.com> wrote... > Once you finish any modifications and/or clean up parts of the code you > want to I would like to put this on my website. I'm an old IBM mainframe assembler programmer. I still do "procedural" rather than "object oriented" coding -- but I'm trying change. My programs are always being modified and improved. That's one reason I want suggestions from this group -- both on the game itself, and in the Javascript coding. I know my Javascript could be better. (I can see this code now in a Javascript book chapter called "Don't let this happen to you" -- <lol>) ....Jim... |
Re: Crazy Eights game
Lol
I could try to go over your script and offer some suggestions if you would like. Best Regards, Sandfordc www.JavaScript-Central.tk |
Re: Crazy Eights game
"Sandfordc" <sandfordc@gmail.com> wrote in message news:1117160792.388902.46360@g14g2000cwa.googlegro ups.com... > Lol > > I could try to go over your script and offer some suggestions if you > would like. > > Best Regards, > Sandfordc > www.JavaScript-Central.tk > I'd like that. Thanks...Jim... |
Re: Crazy Eights game
"Sandfordc" <sandfordc@gmail.com> wrote... > I could try to go over your script and offer some suggestions if you > would like. You can email at --> jimnbigd@comcast.net ....Jim... |
Re: Crazy Eights game
Jimnbigd wrote:
[snip] > > Good idea. I need to get more familiar with CSS. I tend to "brute force" > some things that I know could be done better. > I also want to add cookies to keep a cummulative score, with a user > name input to allow multiple users on the same computer. http://www.brainjar.com/css/cards/ No need for images at all. Mick |
Re: Crazy Eights game
"Mick White" <mwhite13BOGUS@rochester.rr.com> wrote... > http://www.brainjar.com/css/cards/ > No need for images at all. > Mick > A graphic was still needed for part of the jack, queen, & king. Clever idea though. ....Jim... |
| All times are GMT. The time now is 06:08 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.