Original Post
Greetings. I consider myself at the upper edge of a beginning level programmer, not quite intermediate yet. I have two Java classes under my belt. I'm designing a fantasy war game which will rely heavily on collections. Let me start by stating that I did google "java source code" with various word combinations. I found a lot of stuff, but it's all either too basic, or way over my head. In neither case could I find anything which seemed to cover what I'm looking for. The simple arcade style games I found didn't really use the collections framework as far as I could tell, and the code which did was too advanced for me and wasn't game related. Picture a strategy game where you build various structures which construe different bonuses to your position. You'll have the option to upgrade them, and often they'll be required stepping stones to build other structures. You'll need a forge to build an armory, etc. You'll also recruit various military units. A given unit will be in a certain location along with other units. A group of units will be combined into an army (linked list) Units will have their own sprites for graphical display in the game, which will require a field in each object to link to the proper image, etc. I don't see how a game like that could do without collections, but collections related source code as it pertains to games seems to be scarce on the internet. Could someone link me to an appropriate open source game, preferably 2D, so I could study the code? Thanks!