Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: [DHTML] Battleship alike game

  1. #1
    Join Date
    Aug 2006
    Location
    Spain
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Wink [DHTML] Battleship alike game

    1) CODE TITLE: Hundiyas

    2) AUTHOR NAME/NOTES: Juan Alba Maldonado (myself xD)

    3) DESCRIPTION: Hundiyas is an open source Battleship alike game totally written in DHTML (JavaScript, CSS and HTML) that uses mouse.
    This cross-platform and cross-browser game was tested under BeOS, Linux, *BSD, Windows and others.

    4) URL TO CODE: http://www.granvino.com/jam/stuff/ju...nish/index.htm (only in spanish yet)

  2. #2
    Join Date
    Aug 2006
    Location
    Spain
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Please, if you see a bug write me a reply with it when game be stable, I will upload an english version.

  3. #3
    Join Date
    Jun 2007
    Location
    England
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    There seems to be restrictions when placing ships. Is it that you can't place them next to eachother?

    Good game, by the way.

  4. #4
    Join Date
    Aug 2006
    Location
    Spain
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your comments

    With default options, you cannot place ships adjacent with others. To do this, you may click in "Opciones" and check "Poder poner barcos adyacnetes". Then, you will can place ships together

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I'd say it works pretty well. One problem I came across was trying to figure out how to place the ships in the first place, I dragged an image, or clicked it, or something, and then the image loaded in a new window, losing the game.

    I just played a full game and there weren't too many bugs.

    I would like to see a better notification when a ship is sunk, though. It took me a bit to notice the little [2] and [5] at the bottom of the screen. Also, having a list of which ships are left would be helpful, too.

    I enjoyed playing in Spanish. I'd offer to help translate, but I suppose that's not too difficult for you.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Aug 2006
    Location
    Spain
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank for your comments and your help

    Sorry but I don't understand very well your first phrase: "One problem I came across was trying to figure out how to place the ships in the first place, I dragged an image, or clicked it, or something, and then the image loaded in a new window, losing the game.". When happends this problem? When you drag and drop a ship? Where do you drop the ship? What browser are you using?

    If you want to see a notification (alert) when a ship is sunk, you can turn true the alerts_activados variable (at line 119).

    Thanks for your offer to help translate. In this game I think that I don't will need help, but if you want to translate another game that I made you can see http://lavilladel6.tuxfamily.org. It's a graphical point-and-click adventure that also can be played like a text adventure. It is harder to translate.

    You said: "weren't too many bugs". Which bugs are you talking about?

    If you see another bug please tell me

    Thanks!

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I was using Mozilla 2.0 for OSX. Basically, I ended up with the image open (.../image.jpg) by itself. It was a mistake on my part, but my point is that it can be fairly easy to run into a weird problem when dragging images on a page.
    As for any "bugs", I didn't see anything specific, but I found the interface just a bit awkward. It's not your fault, but just that html/javascript graphical interfaces are very hard to make smooth. considering, it's quite good.

    As for translating the other game, i'd be happy to help, but it might be a bit above my level in spanish. I can read about half of it. Perhaps I'll learn more soon. i'm working on it.
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  8. #8
    Join Date
    Aug 2006
    Location
    Spain
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for your comments and your help

    If I can, I will try to improve the drag system of ships. I will wait a few more days before translate the game for more security

    If you want, when you can and learn more spanish, you can go to La villa del seis homepage, download it and translate it. Then, send the work to publish it on the page.

    Thank you very much

  9. #9
    Join Date
    Aug 2006
    Location
    Spain
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello!

    Now you can play english version at http://www.granvino.com/jam/stuff/ju...lish/index.htm

    Have fun

  10. #10
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Felt 'shaky', but worked fine for 1 game in Opera. Neat script!
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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