Good, if simple game. I'd have added a bit of randomness to it, in some form or another, but that's me. xD

Not sure how close are you to your space limit, but some information about the speed/value production of the various buildings might be in order. I know that when I was playing it I was left guessing at the rules (I looked at the code afterwards, and went "Oh, so that's what's happening!")

Yeah, I usually add randomness and combat when I make thins kind of game. But the 4kb limit...

Score:I think 1500 is good. A bit above 2000 should be max. Below 1000 is poor.

Can someone check if I submitted everything correctly (the jar file has no "manifest", probably; I'm a bit confused about these Java only specific things) and if there is nothing in the code that would crash the game? I started learning Java less than a week ago

Cool kingdom management game, Archibald. I checked a bit your code, and I noticed that you used a lot of methods in your class. If you have the time to do it, you should try to limit them to the start, run and handleEvent ones, in order to save some bytes.

So you may add a random event each turn, as bad or good weather, that would impact on food, and also some enemy raids, that would steal some food or destroy some building. Soldiers and the castle may decrease the impact of these raids.

But if you haven't the time for such changes, don't worry, your game is interesting enough as it is now.

I checked a bit your code, and I noticed that you used a lot of methods in your class. If you have the time to do it, you should try to limit them to the start, run and handleEvent ones, in order to save some bytes.

The methods cost in Java is confusing. I added more methods to save space, but it seems it is not working that way...

EDIT: To make it more interesting and give several ways to play I'd suggest the following:

Have several levels of research and make food and mine research more interesting.Have an upgraded castle give you more inhabitants (or at least have them pay more tax)If you have lots of food people should come to your city quickerFood decaying if you have a lot laying aroundNot having an army after turn 30 or so should make you lose money due to raiding

New version: production details on "tooltip" and overthrown cause explained.

The "do not use methods" is a myth. I have redid it and there was no change (whatever I gained from the removal of a method I lost on an additional if clause which I had to use instead). Anyway, that's my limit, can't fit anything more in 4kb.

I suppose that if your program relied initially on many methods, changing it in a version without any method may not be very effective in order to spare some memory. But if it didn't rely on any method from its very conception, then I think its size would be smaller.

Just tested your last version and didn't meet any bug. The addition of these tooltips was a good one.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org