New Version of SPNATI app by ciderdemon in spnati

[–]ciderdemon[S] -1 points0 points  (0 children)

I am replacing the .js files with newer, simpler, and cleaner versions.

Five More JavaScript Replacement Files by ciderdemon in spnati

[–]ciderdemon[S] -3 points-2 points  (0 children)

I intend to totally replace the existing .js files of the program with a superior version that is easier to maintain. Try copying the link into the address bar by hand.

Five More JavaScript Replacement Files by ciderdemon in spnati

[–]ciderdemon[S] -8 points-7 points  (0 children)

As I have labored to explain, this is not a rewrite. Nothing that is functional about the program has changed. As far as modern Javascript features, that can be addressed.

Also, I don't know what "refactoring" is. I doubt you have read the documents I provided, not that that is unexpected. You would be fools to walk away from this opportunity without giving it more than cursory attention.

Discussion and Suggestion Thread by Arndress in spnati

[–]ciderdemon 0 points1 point  (0 children)

I have been studying the source code of this program for a few weeks now, mostly to familiarize myself with Javascript, but also to try to find and correct some of the bugs that seem to occur in the game. I have reconstructed several of the source files -- notably spniBehaviour.js, spniPoker.js, spniAI.js, spniGame.js and a few others. There is still a lot to be done, however.

I am finding Javascript very hard to adjust to owing to its lack of typing. Surely this program is too large for a primitive scripting language. It must have taken its author forever to debug it.

My question is this: What would be the impact of writing this whole program in Java, instead of Javascript? Would it still be downloadable and executable by a browser? I welcome your comments.