I read this and wondered why you care? Isn't it sufficient to return
the new world state? You could use identical? as someone suggested but
why bother? It sounds like the player should be able to keep bumping
into the wall if they keep making the same move.
I am just curious why the problem is mor
HSQLDB (http://hsqldb.org/) and Derby (http://db.apache.org/derby/)
are both fairly popular databases that are small enough to embed right
in your program. Your data is tiny. You might not even need a database
at all but in any case, these are small and easy to use with Java or
Clojure.
On Jan 10,
Well, until you start doing "bit-shift-right"s and the sign bit (high
bit) doesn't go to 0 after shifting it down. Actually you typically
need to represent individual bytes as ints and write them back out
using writeByte() when you're trying to do low level bit-twiddling.
It's a pain but it works.
I don't know GAE but it's a web app right? Do you need to make a war
file with a web.xml descriptor for it to find your servlet?
On Feb 10, 9:19 pm, Edgar Gonçalves wrote:
> Hi!
>
> I just realized there's this 3000 files limit we can upload on a WebApp to
> Google's Application Engine (GAE). I a