Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
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 3504 times)
0 Members and 1 Guest are viewing this topic.
Offline icza

Junior Devvie


Projects: 2



« Posted 2009-12-11 07: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 Coder


Medals: 5



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


Projects: 2



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


Medals: 2



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


Java tames rock!


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


Medals: 27
Exp: 18 years


Computers can do that?


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


Projects: 2



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


Medals: 27
Exp: 18 years


Computers can do that?


« Reply #9 - Posted 2009-12-11 11: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!
Legends of Yore - The Casual Retro Roguelike
Offline appel

JGO Wizard


Medals: 51
Projects: 4


I always win!


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


Projects: 2



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


Medals: 51
Projects: 4


I always win!


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

JGO Knight


Medals: 13
Projects: 6
Exp: 10 years


Java games rock!


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


Medals: 5
Projects: 2



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


Projects: 2



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


Projects: 2



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


Projects: 2



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


Projects: 2



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


Medals: 158
Projects: 4
Exp: 14 years


Esoteric Software


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

116!

Offline steveyO
« Reply #20 - Posted 2009-12-12 14: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.

 

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

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (29 views)
2014-11-22 12:13:56

xFryIx (71 views)
2014-11-13 12:34:49

digdugdiggy (50 views)
2014-11-12 21:11:50

digdugdiggy (44 views)
2014-11-12 21:10:15

digdugdiggy (38 views)
2014-11-12 21:09:33

kovacsa (62 views)
2014-11-07 19:57:14

TehJavaDev (67 views)
2014-11-03 22:04:50

BurntPizza (64 views)
2014-11-03 18:54:52

moogie (80 views)
2014-11-03 06:22:04

CopyableCougar4 (80 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!