I started learning java last week. ( I took one C class last year.)
Now I need to create/code a simple game. Here are the directions, followed by my questions:
You get to decide what kind of role-playing game you wish to have. It must either be a top-down view game, or a side-scroller game. The player is to do something: kill things, find things, avoid things, etc. Whatever it is requires that things are to move. The problem is that you don't know how to do this using Java. For now, we will use a text-based game. You must use characters to represent the different things that are moving. Since it is character-based, you have character positions and lines. You can think of each possible character position as a pixel. You can decide how big your "screen" is by defining how many character rows and columns there are to be. Then you write that many characters per line and that many lines each "turn" of the game. A player should be able to pause the game, stop the game and start a new game, or just exit the game. All of this, including playing the game will require keyboard input. You won't be able to use the mouse, yet.
Statistics: You must keep track of something - players hit points, money acquired, things acquired, experience acquired, etc. This doesn't have to affect how the game gets played, at least not yet.
Some Object-Oriented Requirements You are to have at least 5 classes in this assignment: Player, Game, Application, a class for things that move, and a class for things that don't move. You may want to have other classes, or use inheritance. Having 3 subclasses of a single superclass does not count as 4 classes. That is one class.
The Game class is to contain the rules for playing your game. It is to manage the game while in progress. Your application class is responsible for getting everything started. You may want to prompt the player for their name, etc., then start the game. Prior player data is to be read from a file. When a player is finished playing, you are to save their current data, along with any other prior player data, to a file.
1) I haven't played a game like this in many years. (it was probably something like pacman at age 7.) What do you recommend I try to implement? What would be doable/easy and teach me?
2) Any tips/things I should know or consider before getting to work? Any advice?