Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (407)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Fishing-4k  (Read 2560 times)
0 Members and 1 Guest are viewing this topic.
Offline icza

Junior Member


Projects: 2



« Posted 2009-12-11 08: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
« Reply #1 - Posted 2009-12-11 09:28:07 »

I will check it out when I get home, but could you post some screens?
Offline steveyO
« Reply #2 - Posted 2009-12-11 09:50:32 »

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

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline icza

Junior Member


Projects: 2



« Reply #3 - Posted 2009-12-11 09: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
« Reply #4 - Posted 2009-12-11 10: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..

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Offline TheMatrix154

Junior Member


Medals: 2



« Reply #5 - Posted 2009-12-11 10: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 Knight


Medals: 7
Projects: 3


Java tames rock!


« Reply #6 - Posted 2009-12-11 12: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

JGO Coder


Medals: 18


Computers can do that?


« Reply #7 - Posted 2009-12-11 12: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

Junior Member


Projects: 2



« Reply #8 - Posted 2009-12-11 12: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

JGO Coder


Medals: 18


Computers can do that?


« Reply #9 - Posted 2009-12-11 12: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! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline appel

JGO Ninja


Medals: 35
Projects: 5


I always win!


« Reply #10 - Posted 2009-12-11 13: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

Junior Member


Projects: 2



« Reply #11 - Posted 2009-12-11 13: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 Ninja


Medals: 35
Projects: 5


I always win!


« Reply #12 - Posted 2009-12-11 14: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 Knight


Medals: 7
Projects: 5


Java games rock!


« Reply #13 - Posted 2009-12-11 22: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

Senior Member


Medals: 4
Projects: 2



« Reply #14 - Posted 2009-12-12 04: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

Junior Member


Projects: 2



« Reply #15 - Posted 2009-12-12 11: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

Junior Member


Projects: 2



« Reply #16 - Posted 2009-12-12 11: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

Junior Member


Projects: 2



« Reply #17 - Posted 2009-12-12 11: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

Junior Member


Projects: 2



« Reply #18 - Posted 2009-12-12 12: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 Wizard


Medals: 81
Projects: 3


Esoteric Software


« Reply #19 - Posted 2009-12-12 12:53:37 »

116!

Offline steveyO
« Reply #20 - Posted 2009-12-12 15:38:36 »

121  Thats enuf!!

https://play.google.com/store/apps/details?id=com.bullsquared.alggame Annoying Little Gits (Android)
www.bullsquared.com   Play java (applet) games! www.chessclockpro.com Free Online Chess Clock
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Try the Free Demo of Revenge of the Titans

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (98 views)
2013-05-17 21:29:12

alaslipknot (106 views)
2013-05-16 21:24:48

gouessej (136 views)
2013-05-16 00:53:38

gouessej (131 views)
2013-05-16 00:17:58

theagentd (143 views)
2013-05-15 15:01:13

theagentd (129 views)
2013-05-15 15:00:54

StreetDoggy (172 views)
2013-05-14 15:56:26

kutucuk (194 views)
2013-05-12 17:10:36

kutucuk (196 views)
2013-05-12 15:36:09

UnluckyDevil (202 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.133 seconds with 23 queries.