Recommended Posts

i want to make a commad line type of game like tiny towers in java. just in command line. the gameplay is, a player can add floor and choos whatever type they like, once they choose the type, the player may choose what kind of business it will be. minimum of 6 choices per floorr type. And at the end of the day tenant will pay 100 coins to the player for rent,should be 3 tenants per floor.

Game Play
Players should have access at all times on the status of the tower, floors and the bitizens. A player can add a floor, add bitizens and restock. The game should notify the player if an item is up for restocking so that the player can restock a specific item. A player can choose to end the current day to move to the next one.

Share this post

Link to post

Share on other sites

I would assume that if you are asking this that your knowledge in programming is fairly little (or maybe, you have never done Java)

As much as we would all love to start with the fun, I would recommend first learning C (if you don't already know it), not C++, but C.
after that, Java is a good language as it is an easy language to start with object orientation. this is some good theory, for learning java you can look at this... finally, once you know how to program in java to a high enough level maybe look into the theory behind the design of a game.. I was inable to find out how difficult making this would be, so I assumed it would be hard enough that making a proper design would be beneficial. you can look at that here

Share this post

Link to post

Share on other sites

so, you would have a class called buildingLevel, of which the game at one time would have 6 stored in an array (maybe a map just to speed things up).

once you have done that you break down building level more. split it into it's diferent components, turn each component into a class, then use buildingLevel to link all of the other components into the single buildingLevel component...

0

Share this post

Link to post

Share on other sites

can you give a sample code for building the floors, sorry im just a beginner in java. i need a Floor class, that has an array [] of floor types. Floors can be Residential, Food, Service, Recreation, Retail, or Creative. and what kind of business it will be.

Share this post

Link to post

Share on other sites

I actually started the project, creating a class for building floors, but I'm really confuse, thinking that I'm doing it wrong. I'm not really good in java, I'm just a beginner in this language so I'm hoping for help. Thanks in advance!