Yeah Joe if you went through this area last night you would have seen 20 inches fall from noon yesterday to noon today! and we still had at least 12 inches...
Well then kudos on getting the real feel of a INTV games there. Thanks, Rick Reynolds -- "Do not meddle in the affairs of Wizards, for they are subtle and ...
Thanks. I don't have a lot of time to spend making games, so making them in Flash is easier and faster for me. Reflex took years to do though because I kept...
All, I've been working on a 7-card poker hand evaluator, which I intend to be as fast as possible. Let's say that it could be used for a brute force Texas Hold...
Ok, so here's the first piece of code that I'd like to optimize : cd = c & d ch = c & h cs = c & s dh = d & h ds = d & s hs = h & s pair = cd | ch | cs | dh |...
Hello: First off, out of the top of my head, you could try simplifying your boolean expressions. For example, the expression: pair = cd | ch | cs | dh | ds |...
Hello dZ, Thanks for these precious advices. I think that's indeed the way to go. The reason why I initially thought that it was clever to compute all pairs is...
One thing to consider is that optimization is highly subjective, and Karnaugh maps will help you in reducing the operations, but may not necessarily give you...
For now, I think I'm going to use the following expressions : cod = c | d hos = h | s cd = c & d hs = h & s four_of_a_kind = cd & hs pair = cd | (hos & cod) |...
Hello all, I've been wondering how to get a fast random generator for numbers between 0 and 4 included (and eventually 0 and X), based on a generator which is...
Arnauld, If you have some RAM to spare, you can get pretty cheap random numbers with a lagged Fibonacci random number generator. These are fairly cheap and...
This C code, modeled after the assembly code, seems to show that the quality of numbers is high... #include <stdio.h> #include <stdint.h> uint16_t s[3]; ...
There does seem to be a ~0.7% bias toward '4' in the below algorithm. That's about 1 part in 140. Another round of "shift and if" would get this down to be...
... There are probably implementation details that would prevent this from working, but in any case where there is some bias to the odds, could you treat the...
Russ, That would rotate the bias around. It adds a second order bias, though. For example, if you see a "4" this time, then there's a slight chance "0" is...
Thanks, Joe and Russ, for your inputs on that one. @Joe: I like the simple idea of a 16-bit output divided into 5 ranges and that's probably what I'm going to...
John, In my games, so far I tend to use a linear feedback shift register. They're pretty simple to implement and require little RAM for seed storage. In...
... I'm happy to hear this. I feel that in recent years there's been an over-saturation of classic games emulated for modern consoles, self-contained units,...
I think betrayal is a bit of a strong word. It does seem strange, unless Nintendo has planned (but not announced) Gameboy and other emulation projects. To be...
I don't see why Intellivision on the DSi is a bad thing, especially if it's got the original games, not the remakes that are on the Direct-to-TV version. The...
I was actually considering learning iphone programming and investigating porting jzintv over. I'd love it if Keith's app was a true emulator that let us load...
Any chance of getting a jzintv port to the Pandora? http://www.openpandora.org http://openpandora.wordpress.com/ Christopher. ________________________________ ...
Christopher, Rick Reynold's port to the GP2X proves that it should work pretty straightforwardly. The Pandora's processor is much more powerful than what's in...