Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.

View Poll Results: Was this script/explanation useful?

Voters
1. You may not vote on this poll
  • Definately!!

    1 100.00%
  • Almost useful

    0 0%
  • Somewhat not useful

    0 0%
  • Not at all useful

    0 0%
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Dec 2002
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tile Match Game - Easy to modify

    Happy Holidays Folks!! Here is a fun game I recently developed - currently branded as "Brain Freeze". Have fun with it... it's pretty hard.

    Play Brain Freeze!!

    Things you'll need to modify the code:

    [list=1][*]At minimum, 8 different images sized to 80 x 80 saved as GIF or JPG[*]1 image sized to 80 x 80 (used for tile back)[*]HTML page with provided code (modified to liking) with a "div" with ID = "clock" and a "div" with ID = "temp"[/list=1]

    Put all of your images in a folder and declare that folder in the JS and modify your variables as well.

    This version has a thermometer that counts down with the clock. If you just want the clock, remove the reference to the ID "temp" in the JS file.

    You can make the amount of tiles as many as you want, but you'll have to do some tweaking. This currently builds a 16 tile game with 8 pairs.

    Have Fun!

    Oh... I have a preloader on Brain Freeze. You should add one too.
    Attached Files Attached Files
    Last edited by Joseph McGarvey; 12-23-2002 at 05:10 PM.

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That's pretty good

    I love the design! Very clean, and professional.

    Only one thing, there is a bug... I am on Mozilla 1.2.1 and the thermometer did not change at all for me!

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #3
    New Coder
    Join Date
    Dec 2002
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks!!

    Thanks for the compliment!!

    Hmmm... the thermometer with id = "temp" is a 1 pixel image that has a style attribute to set the height. Probably not a good standards use.

  • #4
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    heheh never mind

    you may also want to force the cursor to be a hand when hovering over your "Beginner" or "Advanced" links

    Oh yeah, and that's a nifty preloader!

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •