8fb8
Games: - Guess the number (both ways, you put a number, machine guesses; machine puts number, you guess) - Tick tack toe (no gui, of course) - Card games (like blackjack, for instance) - Hanoi's tower (maybe with auto-solving algorithm)
OO problems: The idea would be to make some problems that are easily solvable by using OOP. Like a system to keep track of trucks, each truck having a specific motor and some attributes, a menu to input more trucks, sorting trucks by some attribute (color, age, motor class, max. weight). We could also make an example solution. - Resistor objects. Adding them equals putting them in series, multiply them to put them in parallel. Calculate total resistance. (should use add, etc). Maybe remember how it was made and be able to print the circuit.
Scripts: - Go through directories and return size, or print all files of type x. - Take input (optparse?) and do something with that. Maybe take two numbers plus option (+ - * /) and do that operation.
Maths: - Calculate Fibonacci up to x. (Maybe cache results? Can be a bit hard...) - Enter series of numbers, calculate max., min, sum, average. Save those numbers to a file. Read from file.
Gui Games: - "Lights" - You have a 3x3 matrix, each one with two states (on or off), your goal is to turn them all on or off. When you click one "light" the one clicked and it's neighbours (up,down, left, right) change state.
(From an e-mail by Ismael Garrido)
last updated 2 years ago by projecktzero #
