Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Fishing-4k  (Read 2154 times)
0 Members and 2 Guests are viewing this topic.
Offline icza

JGO n00b
*

Posts: 32



« on: 2009-12-11 02:51:00 »

I submitted Fishing-4k.

http://java4k.com/index.php?action=games&method=view&gid=273

I could only test it on Windows, please tell me if you have problems running it on linux or on OS-X.

My record is catching 154 fishes. Can anyone beat that? How hard is the game with the current settings?

Edit: 2 screenshots (click to see large versions)





Offline h3ckboy

JGO Kernel
*****

Posts: 1645
Medals: 4



« Reply #1 on: 2009-12-11 03:28:07 »

I will check it out when I get home, but could you post some screens?
Offline steveyO

Sr. Member
**

Posts: 310
Medals: 4



« Reply #2 on: 2009-12-11 03:50:32 »

Quite addictive little game, not bad. Played a few times, top score 60.  God knows how you got 154  (Windows here)

www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Games published by our own members! Go get 'em!
Offline icza

JGO n00b
*

Posts: 32



« Reply #3 on: 2009-12-11 03:51:41 »

Quite addictive little game, not bad. Played a few times, top score 60.  God knows how you got 154  (Windows here)

Have you used the sonic wave (press Enter)?
Offline steveyO

Sr. Member
**

Posts: 310
Medals: 4



« Reply #4 on: 2009-12-11 04:01:19 »

Doh!  Top Tip!  Its a lot easier once you read the instructions :-)   102 this time.
Only suggestion would be to maybe use a different key.  On my laptop the Enter key is directly above the cursor keys so you kinda have to cross your left hand over your right one to press it..

www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Offline TheMatrix154

Jr. Member
**

Posts: 55
Medals: 3



« Reply #5 on: 2009-12-11 04:21:20 »

Runs fine on my MBP with OS X 10.6.2 on Java 1.6 in Safari 4.

Nice casual game  Smiley

Offline Alan_W

JGO Ninja
***

Posts: 734
Medals: 8


Java tames rock!


« Reply #6 on: 2009-12-11 06:06:20 »

I like it.  Only 34 on first go.  Obviously I need to find the right strategy  Wink

Time flies like a bird. Fruit flies like a banana.
Offline delt0r

Sr. Member
**

Posts: 412
Medals: 12


Computers can do that?


« Reply #7 on: 2009-12-11 06:30:11 »

I am getting an

java.lang.ClassNotFoundException: F.class

This happens on both the appletviewer and in the browser. I am on linux with 64bit java, but this should not make a difference.

I have no special talents. I am only passionately curious.--Albert Einstein
Offline icza

JGO n00b
*

Posts: 32



« Reply #8 on: 2009-12-11 06:33:35 »

I am getting an

java.lang.ClassNotFoundException: F.class

This happens on both the appletviewer and in the browser. I am on linux with 64bit java, but this should not make a difference.

Could it be that this is applet hosting related? And that this applet is pack200 compressed?

As far as I know, the applet-server server should determine from the http request whether the client supports gzip compression, and if not, it should serve the unpacked applet jar. Can an administrator check this?

Delt0r, can you try if this page works for you? This page contains an applet which links to the unpacked applet jar:
http://fishing-4k.googlecode.com/svn/trunk/view.html

Thanks.
Offline delt0r

Sr. Member
**

Posts: 412
Medals: 12


Computers can do that?


« Reply #9 on: 2009-12-11 06:37:30 »

Works fine from that link. I don't seem to have a problem from the other applets on 4k

I have no special talents. I am only passionately curious.--Albert Einstein
Games published by our own members! Go get 'em!
Offline appel

JGO Wizard
****

Posts: 1477
Medals: 23


I always win!


« Reply #10 on: 2009-12-11 07:26:38 »

Could it be that this is applet hosting related? And that this applet is pack200 compressed?

As far as I know, the applet-server server should determine from the http request whether the client supports gzip compression, and if not, it should serve the unpacked applet jar. Can an administrator check this?

Delt0r, can you try if this page works for you? This page contains an applet which links to the unpacked applet jar:
http://fishing-4k.googlecode.com/svn/trunk/view.html

Thanks.

From what I've been told, Java 5 and 6 should support pack200.

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Offline icza

JGO n00b
*

Posts: 32



« Reply #11 on: 2009-12-11 07:39:28 »

From what I've been told, Java 5 and 6 should support pack200.

Yes they should and they do.

But from this thread: pack200 applet
From this link, as I understand it :
- the client will allways ask for the "*.jar"
- it is up to the server to give the "*.jar.pack.gz" if the client support it (Accept-Encoding in the HTTP request). Other wise, it have to send the ".jar"
- the client know if it got "*.jar" or "*.jar.pack.gz" from the CE (Content-Encoding I think)

So I think it is OK to use a php page to send back the "*.jar" or "*.jar.pack.gz"

So the server still has to check if the client's browser supports the pack200-gzip encoding type. If not, the unpacked jar has to be sent.
Details:
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/pack200.html

(Look at the first 4 figures on that page.)
Offline appel

JGO Wizard
****

Posts: 1477
Medals: 23


I always win!


« Reply #12 on: 2009-12-11 08:02:49 »

I'll take a better look at this and maybe make some changes in a few days if they are really needed. For now, I'll keep things as it is.

Check out the 4K competition @ www.java4k.com
Check out GAMADU (my own site) @ http://gamadu.com/
Offline moogie

JGO Strike Force
***

Posts: 775
Medals: 5


Java games rock!


« Reply #13 on: 2009-12-11 16:49:14 »

I'll take a better look at this and maybe make some changes in a few days if they are really needed. For now, I'll keep things as it is.

I wonder if the author used the jdk 5 pack200 or jdk 6 pack200... as they are not compatibile unless told to...
Offline davidc

JGO n00b
*

Posts: 34



« Reply #14 on: 2009-12-11 22:20:20 »

I like the boat movement on the waves.
Have you thought about adding some sharks to avoid? They could just be black colored fish that cause the net to empty when colliding with it. Of course, this would make more sense if you only score points once the net is returned to the boat with its catch.
Offline icza

JGO n00b
*

Posts: 32



« Reply #15 on: 2009-12-12 05:31:15 »

I wonder if the author used the jdk 5 pack200 or jdk 6 pack200... as they are not compatibile unless told to...

I used pack200 from jdk 6. I've never thought of they might not be compatible as they create an output file in a standard format. The algorithm that creates it might differ, but the format of the output is standard.
Offline icza

JGO n00b
*

Posts: 32



« Reply #16 on: 2009-12-12 05:32:19 »

I like the boat movement on the waves.
Have you thought about adding some sharks to avoid? They could just be black colored fish that cause the net to empty when colliding with it. Of course, this would make more sense if you only score points once the net is returned to the boat with its catch.

Yes I've thought about it, but haven't implemented it. Would complicate things and strategy. Maybe it would be too complicated for a 4k game? Too complicated for a game one would just load and play occasionally?
Offline halfwitgoat

Jr. Member
**

Posts: 62



« Reply #17 on: 2009-12-12 05:52:59 »

I can't get over 100. Angry It gets hard rather quickly for me. As soon as the fish move as fast as the boat it's all over.

It's okay in Firefox and IE but it doesn't work in Opera; I just see the text "Applet not found." I think that's a pack200 thing. Perhaps Opera is looking for a different file that isn't present.

Offline icza

JGO n00b
*

Posts: 32



« Reply #18 on: 2009-12-12 06:08:51 »

I obviously played this game more than any of you, but I think this isn't a hard game.

I just set a new record. I caught 100 fishes without missing any, and I finished with catching a total of 161 fishes.
Offline Nate

JGO Neuromancer
****

Posts: 1062
Medals: 30


mooooo


« Reply #19 on: 2009-12-12 06:53:37 »

116!

Offline steveyO

Sr. Member
**

Posts: 310
Medals: 4



« Reply #20 on: 2009-12-12 09:38:36 »

121  Thats enuf!!

www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.116 seconds with 21 queries.