• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

why can't some people play my game

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have my game http://blogfriendlyzone.webs.com/wof/WOF.html and i tried to share it with some online friends but some complain that they can't even spin the wheel or they can't enter a consonant (after spinning wheel) . It won't accept their consonant from the keyboard like it should. Is there something i can tell them what to do to get it to work for them? I have a fast computer so i don't know if clicking on the panel should help put the focus on the game and would that do it? I made the game specially for online friends but it's not good if they can't play it.

Instructions

1. Click on link: http://blogfriendlyzone.webs.com/wof/WOF.html

2. Click "Start a New Game" button that is located on the left bottom of the game controls.

A panel of letters appears at the top panel.

All players have 0 amount of money and thus cannot buy a vowel.

Player 1 must clicks on "Spin The Wheel".

When the wheels stops, the result appears in the right black square border of the color wheel.

If the result is BRT, the player loses all his money. The game advances to the next player.

If the result is LT, the player loses his turn and the game advances to the next player.

If the result is a number, eg. 100, the player must enter a consonant. If the consonant is in the phrase, the player must enter a consonant that appears in the phrase.

For every consonant found in the phrase, the player collects the number of letters found in the phrase multiplied by result number.

If the consonant is not in the phrase, the game advances to the next player. Also, if you enter a consonant that is already revealed on the phrase panel, you get 0 and the play advances to the next player.


To Buy a Vowel:

The player must have at least $50 to buy a vowel.
If the vowel is in the phrase, the letter is revealed. If the vowel is not in the phrase, the game advances to the next player.

A vowel is 'a', 'e', 'o', 'i', 'u'.


Solve The Puzzle

When more letters are revealed and the player wishes to solve the puzzle,
the player must first click on the "Solve The Puzzle" button. Then she/he must enter the exact phrase into the input text below. He/she must include punctuations and a single space between each word in the phrase. Capitals are not necessary.

If the user's answer is correct, the phrase panel reveals the phrase and the player gets to keep all his money while the rest of the players lose their money for that round.

If the user input is not correct, the game advances to the next player.


Show Accumulated Points

Clicking on "Show Accumulated Points" shows the accumulated scores in the message Display box for all the players accumulated so far currently.

There are up to six rounds only.
 
Ranch Hand
Posts: 537
Eclipse IDE Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Great game but i could not enter the consonant.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm getting a class version error using Java 5, so I'm guessing that the code is compiled for Java 6. That limits the potential audience to those using Java 6 in their browser. According to some informal statistics I've seen that is less than 70% of all users, so I'd expect that quite a few people can't use it.

It sounds as if that's a different problem than what you're describing, though. Do the people having problems see exceptions in the Java Console?
 
Ana Suvari
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all. I am not sure what error they get. However, i think i fixed the problem. Can someone try my game again and let me know the result? You're suppose to click Start - then click Spin the Wheel - then enter consonant from keyboard. If it accepted your consonant, The "Enter a Consonant" at the message box should go away and be replaced by message saying something like, e.g. N: 3 count .

Please check for me. I would really appreciate some feedback. Thanks in advance.

Ana
 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ana Suvari wrote: Can someone try my game again and let me know the result?
Please check for me. I would really appreciate some feedback. Thanks in advance.
Ana



Hi Ana , when i follow your instruction, i got this message when i open the site..


seem , it's cause by different class version. just like sheriff said before..
I'm using java version 1.6 update 16. So i can't get into your game...
 
Ana Suvari
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But i just compiled it using javac -target 1.5 *.java

That should have compiled it for version 5.
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried playing with IE 8 and Google Chrome...

Works fine for me.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Incompatible magic value" does not indicate a JRE version mismatch. It sounds more like the class file got corrupted somewhere along the way.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where would one enter the consonant? None of the text fields are editable.
 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Where would one enter the consonant? None of the text fields are editable.



Same here . Everything else disabled.
 
Narendira Sarma
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess there is a KeyListener for the whole app. Pressing an alphabet key anywhere in the window is registered.
 
Ana Suvari
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I guess there is a KeyListener for the whole app. Pressing an alphabet key anywhere in the window is registered.



I am getting with this KeyListener. It's accepting a character even before I addKeyListener( )!!!.

I put a print statement at my addKeyListener( ) and removeKeyListener( ). I only call addKeyListener when the wheel stops spinning and after the it displays message "Enter a consonant" but somehow user can enter a consonant during spin!!! After spin is done, it takes that consonant as the user input.

How do i clear the keyTyped!!!
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nice game. When I try it, I'm able to enter a consonant for player 1 then can't for player 2 - both got a number. I'm using JDK 6u16 and IE 8
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic