i have a project due for school in a couple weeks. it can be almost anything. but it has to have these criteria.
•File input/output (I/O)
•Selection
•Repetition
•User- defined functions
•Arrays and strings
i am just looking for suggestions for a type of game , something that is a little challenging but not above my level, which is beginner . i am in my first term of code writing
How about making a virtual pet? If Selection and Repetition stand for if/switch and for/while statements, then you'll get done with these requirements just with your game menus :P (usually implemented as a switch statement inside a while statement). Adding the option to save/load your pet will fulfill the first requirement. You can then add functions like play and feed to interact with your pet. In fact, you could allow the user to have more than one pets (arrays). And a pet's name can be represented by a string.
ok , there would be no picture of a pet , so would the pet tell you he/she was hungry or thirsty? would i have to put a menu of commands like feed , water , pet and such?