asdftheking
Nov 15 2008, 06:42 AM
I'm entirely new to the world of web design and programming, but as I read through a book on javascript I couldn't help but play around with some of the sample scripts. Pretty soon my playing around became a full blown game based on a dice game called "Greedy" or "Farkle" in some circles. Well, it still may be a little rough around the edges, but it has offered me and my friends plenty of laughs and diversion so I thought I'd offer it up to the web community. The game can be played at: http://codybarringer.fortunecity.com/greedy/index.htmlCurrently it does not work on IE at all, so if you don't have any other browser, sorry! I wish I knew why, I think it has something to do with where I introduced some global variables but all I know for sure is that I'm fed up with IE! (I've only tested it on versions 7 and 8). If there are any Mac users out there please let me know if it runs in safari for you. I'm having a glitch with safari on windows XP which is that the image map on the settings screen doesn't work and you can't click on the "play" button or change the score. (If you still want to use safari don't worry, you can play, just press the letter "p" to play. Hopefully you're not bored after reading all that, if you are, just go play the game! Please let me know if you find other bugs or fixes to one of these bugs I've mentioned. Any good suggestions or programming advice will be warmly accepted. Thanks and enjoy! p.s. The sound has been indefinitely disabled because it didn't contribute anything to the game and slowed down it's responsiveness
Comment/Reply (w/o sign-up)
TrapAlert
Nov 15 2008, 03:43 PM
So your starting JavaScript. I think it takes like 4 months to master or more. I can help you with games. I can also put your game on my website when I get it working like I want.
Comment/Reply (w/o sign-up)
xls
Nov 15 2008, 04:24 PM
I seem to be having a problem launching the game in firefox. I dont know if this is just the way I have the browser set up or what, but unfortunately I can't play it. Anyone else have this? If not, I'll tweak my FF settings and see what happens.
Comment/Reply (w/o sign-up)
asdftheking
Nov 15 2008, 05:09 PM
QUOTE(xls @ Nov 15 2008, 11:24 AM)  I seem to be having a problem launching the game in firefox. I dont know if this is just the way I have the browser set up or what, but unfortunately I can't play it. Anyone else have this? If not, I'll tweak my FF settings and see what happens. Could you please let me know what OS and what version of Firefox you are using? Some of the problems may be with a work around I did to get rid of the advertisements. (It's hosted on a free web page) so if anyone wants to host it on an ad-free page that may solve the occasional firefox problems.
Comment/Reply (w/o sign-up)
xpress
Nov 15 2008, 05:35 PM
Its not working with Opera also. You need to check it. The link took me to different websites one after one except the game. May be you need to check that again. My Opera version is 9.62 and my OS is WinXP.
Comment/Reply (w/o sign-up)
asdftheking
Nov 15 2008, 07:07 PM
I apologize about the link problem, we can thank fortunecity for plugging in interstitial ads that don't work and an obscene amount of popups if you're using IE. I've taken out all of the href's and that should no longer be a problem. It does now work on IE, that was just a single variable which IE didn't like because it was global but declared inside a function. (IE rates right up there with fortunecity in my book). Please try back with Opera now to see if that makes a difference. Again, i'm sorry about the problems caused by fortunecity's ads. Hence the reason i'm trying to get a Trap17 account! I wish i could test with Opera but my computer refuses to download the installer. Maybe i'll try to download it through IE... Now i've got to get back to work fixing the cross-browser pointer issue since i had to change all href's to onclick's. QUOTE(xpress @ Nov 15 2008, 12:35 PM)  Its not working with Opera also. You need to check it. The link took me to different websites one after one except the game. May be you need to check that again. My Opera version is 9.62 and my OS is WinXP. Thanks for your comment, the link problem should be fixed now.
Comment/Reply (w/o sign-up)
asdftheking
Nov 16 2008, 06:16 AM
QUOTE(xpress @ Nov 15 2008, 12:35 PM)  Its not working with Opera also. You need to check it. The link took me to different websites one after one except the game. May be you need to check that again. My Opera version is 9.62 and my OS is WinXP. Well I finally got Opera installed and it seems to run w/o any major flaws on XP.
Comment/Reply (w/o sign-up)
Recent Queries:--
javascript:show game(); - 24.99 hr back. (1)
-
die game javascript - 38.80 hr back. (1)
-
ran online script error - 18.26 hr back. (3)
Similar Topics
Keywords : javascript, game, online, dice, game, called, greedy
- Re-learning Javascript
(3)
Need Help With Javascript Drag And Drop Script
Having trouble with javascript drag and drop script. (2) hi, i have been trying to create a drag and drop menu for my new website, so that the navigation
menu can be moved around the site. This is the code i have: CODE Test run - Right click
menu function coordinates(event) { if (event.button==2) { var x=event.x; var y=event.y; }
document.getElementById("element").style.left=x; document.getElementById("element").style.top=y;
document.getElementById("element").style.visibility="visible"; var oldx=x; var oldy=y;
window.onmouseup=end(); window.onmousemove=coordinates(event); } function end() { } #el....
Adjusting Rows/cols Of Frames In Frameset Using Javascript Is Not Working In Firefox 3 Is Not Working
(4) I am not able to adjust frames length/width in a frameset using java script functions I am using
firefox 3. In below code changerows is not working for me. Where as same is working in IE6.
Please help me in resolving this issue. Note: here frameset1 is the name given to the FRAMESET.
CODE function changeRows() { parent.frameset1.rows="30%,70%" }function restoreRows() {
parent.frameset1.rows="50%,50%" } ....
Learn Java Programming Language Online Step By Step
(1) I had found this site >> http://learnjava.awardspace.com This website is for people who want
to learn Java Programming Language step by step. This website also includes JAVA lessons from the
beginning to advanced level. So this site appropriates for the beginner of Java programmer language
or non-basic Java Programming Language. The lessons are easy to follow and understand starting
from how to get your PC JAVA ready, the fundamental programming concept and creating the real
application. Moreover, the working examples are also included. Please enjoy the les....
Java Vs Javascript
(11) I thought they were completely different things. Surely javascript should be seperated from the rest....
Document.write & Noscript Questions (javascript)
(2) I am trying to use javascript to include a stylesheet depending on the user's resolution. The
HTML CODE " /> id) { initEditor(); } ?> if
(screen.width>=1050) { document.write(' '); } I'm running into two
problems. 1) The script doesn't seem to be writing anything. Fixed 2) The tags cause all
sorts of validation errors. From what I've read it seems as though the tag is not allowed
within the section -- is this correct? Could the same thing be accomplished just putting the
default style....
Flash And Javascript Interaction
swfobject js questions (1) I don't know if anyone on here is familiar with this script. You can check it out here .
Basically it's a script that is supposed to give you javascript control over a flash object. I
am using it for a flv player. My question is this. I would like to display the current file's
title in a span element on the page, but the function described to gather the information for the
current file doesn't seem to work for me. The function, as outlined on on this page looks
like this: CODE function getUpdate(typ,pr1,pr2,swf) { if(typ == 'state'....
Javascript Object Node Referencing Help
(5) I've got two buttons with an onclick event to set the hidden input field to a certain value then
continue submitting the form. I have more than one form on display on the page and I don't want
to use ids. Is there a way I can reference it from the button/button onclick event? the forms is
laid out like this echo" "; echo" "; echo" Edit "; echo" Delete "; echo" ";
So basically the idea is to fire off new_modify function and start referencing the hidden input type
with name of do and set it to the supplied argument then continue submitting t....
Capturing Username Of Computer
using javascript, is it possible? (3) I wondering if it is possible to try and make a java script to get the computer username and log it?
/huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif" /> edit Topic
title ....
Is It Possible To Create A Web Based Mmo In Javascript?
And could there be free movement without reloading the page? (4) I would like to get some information before launching myself to the JS libraries. Is it possible to
load maps or images and with the press of a button "scroll" or move the image inside some kind of
window up, down, left or right? It would be like scrolling an image sideways, upwards or downwards.
I would also like to know if multiple connections can be made and lets say there was a user
standing in the location (127, 160) of the map, would there be the possibility of loading the image
of that player? Maybe with database connections and storing their information there?....
Javascript Error
Error "missing ) in parenthetical" with JSON statment (2) Hello! I'm trying to execute following code: CODE a=new Array();
a=eval("("+responseText+")"); for (prop in a) { e=document.getElementById(prop)
if (e) {e.innerHTML=a } and I recieve error in CODE a=eval("("+responseText+")");
what's wrong? responseText it's result from php2js() function. Apache 2.2.6/PHP5.2.5/MySQL
5.0.45....
Special Wii Javascript
New Javascript Objects for Wii (2) I found on Nintendo.com a while back some new javascript objects dealing with the Wii Remote. I
have decided to post a link to these new Javascript objects here. Wii javascript These new
Javascripts can detect whether or not a Wii Remote is enabled, the position of the pointer, and even
the tilt of the remote. It also has an object that determines the keypress of the Wii. These can be
very useful for Wii sites. Maybe have a menu load with AJAX when the remote is tilted. Add button
functionality such as when the A and B button are pressed, the form is submitted. Just....
I`m New To Javascript.
(5) Does anybody know where I can find a good site to teach me more than I already know. I know about
functions and how to set up alert scripts. I really wanna make a counter script.....
Javascript Events Not Working For Ie
(6) I just made this little html file and I used javascript to show which arrows you're pressing. It
just says the key code, but only for the arrows, so it will say "37, 38, 39, 40" if you're
pushing all the arrows. When you let go of the arrows, it won't show that value. It works
perfectly in Firefox, but I can't get it to run in Internet Explorer. The little notification
bar down in the bottom left of the window says there's an error, and it just sits there. All I
used was a function for onKeyDown and onKeyUp on the body, and every 10 milliseconds it sh....
Javascript - What's Your Browser?
(3) Here is the code that i picked up from a Javascript book that will tell you wether you are using
Firefox or Internet explorer. obviously the (navigator.appName ==" browser name ") can be changed
to different browsers. CODE What's your browser?
type="text/javascript"> if (navigator.appName =="Firefox") {
document.write("You are running a Firefox browser") } else { if
(navigator.appName == "Microsoft Internet Explorer") { document.write("You are runnin....
Online Purchasing
online purchasing using java, jsp, sql (1) does anybody have a readymade java project titled online purchasing? if u have, pls let me know.....
Opera Browser + Javascript + Embeded Sound
Embeded sound works in IE, but not in Opera (0) Hello! Here is the problem. There is an Embed object, created like this: function
createWMPEmbedMarkup(src, id, baseurl) { // For choice, using the DOM instead of a string
// so the caller gets a node. (Its childNode could be used if you don't want the whole p
element) // Then, if markup is needed instead, innerHTML is available. var x =
document.createElement("embed"); x.setAttribute("FileName", src);
x.setAttribute("type", "application/x-mplayer2"); x.setAttribute("AutoStart", "0");
x.setAttribute("id", i....
Web Applications: J2ee Or Javascript/css/html
(1) I'm currently programming web applications using AJAX/CSS/HTML and they're pretty
cross-browser. However when I heard of this language J2EE I had second thoughts. But I ran into GWT
(Google Web Toolkit) which compiles Java code to Javascript/HTML. With this said, my mind tells me
that Java developers desire to use Javascript/HTML languages to create web applications over Java.
So, which one should I start developing web applications in? Java? or Javascript....
Great Javascript Script Source
Great Javascript script source (2) Are you find great javascript source !!! try this >>> http://www.dynamicdrive.com ....
Help With Javascript Calculator Returning "nan"
(2) Hello all, thought maybe I could get a little help with a problem I was having with some Javascript
on this forum. I recently posted about adding some type of script to my page that calculated a
customers custom computer system price by assigning each form option a dollar value. I have done so,
with a script that seems like it would work, but am having some problems. I feel that I have the
script correctly in place, but when the user selects their computer options a total of "NaN" returns
at the bottom of the page. You can see what I mean here: www.plugcomputers.com/a....
How Do You Make A Javascript Calculator?
in a form (11) Hi, does anyone know how you would make a html form with javascript where it calculates number... i
will demonstrate below to make it more clear what i mean.. i want the form to have like three
buttons, MULTIPLY,DIVIDE. AND RESET.. and than i want it to have the fields where you type in the
numbers and it gives you the answer.. so its Field 1 * OR / Field 2 = Field 3 . does anyone know
how to make this work? i basiaclly want all the three functions to work with the same form. this is
a project grade in my web design class but i need help. Thanks....
Highlight A Word In Javascript. Help!
BBCode (2) Hi, I'm making a forum right now, and i'm having some trouble with BBCodes. I want it so
when they click a button it will add the bbcode and highlight (or place the cursor between) the
code . Let me clarify, I want a button to be clicked, it adds code to the textarea and places the
cursor between the tags. Example: CODE (cursor here) | The cursor is between the
two tags. I REALLY appreciate it, i've search so long with no luck.....
Hiding <div> Boxes With Javascript
Javascript Help #1 (8) This is my first help post in this Java/JavaScript section. Can someone write/find me a piece of
code that will hide boxes? Preferred stuff: There is a bar that has the subtitle of the box
contents. A button on the right side of the bar shows and hides the div box. Contents are in a box
with a border and slides in and out of the bar smoothly and relatively quickly. Box MUST be
customizable using CSS internal/external stylesheets . Any help would be appreciated. All codes
will be tested and best code be selected.....
Javascript : No Right Click Script !@
This script will allow you to protect your source coad ! (12) This script will help you to protect your source code Add this to Section of your site !
HTML var message="Function Disabled!"; /////////////////////////////////// function
clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if
(document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){
alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmoused....
What's The Relationship Between Javascript And Java
are they the same or different (7) I think most of you always confuse about java and javascript .So I make this topic to talk about it.
Javascript and Java ,they have the same first four letter. Java and Javascript is the two language
is very popular in the web world.Java is the general-purpose programming language that you can
create an application or an applet.Javascript is a script language that looks sort of like java;with
it you can do various nifty things in web pages.They are independent languages ,used for different
purposes.If you are interesting in creating a website you should learn how to w....
I'm Making My Own Javascript Only Rpg :d
earliest beta perhaps (7) Well I randomly decided to make an rpg. So far its all in javascript, and that's how I intend to
keep it. Eventually you will be able to save with a permanent cookie or by getting an encrypted
code. Right now you can only walk around and go to 2 maps. I have used preloading, and the maps load
extremely fast. But there is one problem, maybe you guys could help but I mostly just posted to tell
you guys something /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif"
/>. Well the problem is the character images load extremely slow and i know wh....
Adding Rows & Columns In Html Table Using Javascript
(1) I'm trying to create a website with a form that collects some user information to store in MySQL
database. However, I've a problem when I want to dynamically add new rows and columns in the
HTML table so that the user can add more information in the dynamically added textboxes. Here's
what I have: CODE
Quantity
unit(s)
....
One Click Copy And Paste To Clipboard
in simple Javascript (5) I've been search the web for few weeks to see if Java can do one click copy and paste function
to the clipboard and then I can just Ctrl-V the copied "texts." I initially got this idea when I
began to approve hosting application. Instead of writing the same message over and over again, I
decided to make me a page where I can simply copy the code to appropriate answers. And seems like my
laziness is the mother of inventions /laugh.gif' border='0' style='vertical-align:middle'
alt='laugh.gif' /> Instead of doing Ctrl-A, Ctrl-C then Ctrl-V to the post board I started....
Javascript Close Window
Javascript close window (15) Hi does anyone have a code to close the browser window. This code needs to be used to close an
actual full sized window, not a pop-up window.....
Javascript Slideshow Tutorial
How to make a slideshow in JavaScript (7) JavaScript Slideshow Tutorial I'm going to show you how to make a impressive JavaScript
slideshow. First, you're probably asking: why would I want to make a slideshow in JavaScript?
There are a number of reasons. First, you don't have to build a new HTML page for each picture.
Secondly, the page will load much faster because the of the compactness of the page. Ok let's
get started with this example. First we'll add a tag in the of our HTML document. In that
script tag we will build the following: CODE first = 1; last = 4; ....
Looking for javascript, game, online, dice, game, called, greedy
|
Searching Video's for javascript, game, online, dice, game, called, greedy
|
advertisement
|
|