TODO FOR POKER2X
							

====[ ]		Comment the code in a way that anybody could understand it.
		Even YOU!


====[X]		Basic Poker engine.
	
			[X]		Function to build the card_base, 'Card' class.
		
			[X]		Function to analyze hands and give _every_ hand a different score.

			[X]		Class 'Player' with all functions.

			[X]		Class 'Money_Pot' with all functions. ( 'Check', 'Fold',
 					'Raise' etc. is all here. )

			[X]		Function that plays all the 4 betting rounds with giving 
					cards etc. correct.

			[X]		Write an AI.

			[X]		Rewrite pre-flop analyzer to make it based on the 'Players Guide to
					starting hands in Texas Hold'em'.



====[ ]		Tournament Mode.
	
			[X]		If any players loses all his money, he's out. Blinds 
					get bigger as soon as one loses.
	
			[ ]		Highscore table for the fastest wins.

			[ ]		Do something if the player loses, now the game just crashes.
			

====[X]		Debugging.
	
			[X]		If an AI has choosen an error for 3 times,
					automatically call the best action to prevent the
					user from infinite AI loops which would crash the game.

			[X]		Make the screen blitting somehow different to
					kill the small flickering while updating cards.

			[X]		Search and crush the bug causing a segmention fault
					if one ai has more than 10'000$ minus in the ai
					simulation mode.

			[X]		Make the screen blitting somehow different to
					kill the text flickering in the main menu.

			[X]		Pressing 'Start' in-game should directly go to the menu.
	
			[X]		Fix bug that takes another background/cardset when you press
					A or Y even if you are on the first / latest.

			[X]		Fix bug that let's the user see the next card before it got turned.
					Happens if the AI makes the first turn in new round.



====[ ]		System.

			[ ]		Check about underclocking would be possible.



====[ ]		Options.

			[X]		Let the user select the game speed.

			[ ]		Remember the last choosen options.			

			

====[ ]		Interaction.

			[X]		Implent a gui in-game.

			[X]		Make a main-menu.
	
			[X]		Show a icon after an AI has done anything.

			[X]		If AI has folded, remove cards from table.

			[X] 		Make a window pop up at the end of a round
					that somehow shows who won the round, how much he won etc.

			[X]		Draw a 'Dealer' button that will show which player is the
					dealer at the moment.

			[X]		Set the beginning money to 500.

			[X]		If two players got exactly the same points, split the pot.

			[X]		If the user folds, don't show the results screen.

			[X]		Show the numbers of the played hands to the right of the
					community cards.

			[X]		If all AI's have folded, go directly to the results
					window without having the user to click through all
					the community cards.

			
			
			

====[X]		Loading themes & config file.
					
			[X]		Create external configuration file.
	
					Structure:
						"POKER2X CONFIG"
						background 	"background_blue_2.png"
						background 	"customback.png"
						cardset		"cards.gif"
						cardset		"4_color_cards.gif"
						cardset		"custom_cards.gif"
						music		"jazzy_track_1.mp3"
						music		"jazzy_track_2.mp3"
			
	
			[X]		Dynamically loading backgrounds list from a
					external configuration file.
					
			[X]		Dynamically loading cardsets list from a
					external configuration file.
	
			[X]		Include option to choose 
					background and cardset dynamically loaded from 
					the config file in the main menu.



====[ ]		Speech & Sound
			
			[X]		In-game, loop through all the music files that are listed
					in the config file and play them.

			[ ]		If user tries to load a mp3 file, don't load it, kills the whole app.

			[ ]		Simulate a dealer's voice.
						
						
			
====[ ]		AI.

			[X]		Function to analyze the two hole cards, and choose the right action.

			[X]		Function to analyze the flop, and choose the right action.

			[X]		Function to analyze the turn, and choose the right action.

			[X]		Function to analyze the river, and choose the right action.
			
			[X]		Change functions to allow different parameters that an ai may have.
					[X] Riskyness
					[X] Which starting hands to play.
					[X] Takes always the best choice or somewhen bluffs or folds earlier.


			[X]		Make a 'A.I. Simulation mode' which just let 8 random ai's 
					play against each other.

			[X]		Give the AI players random names.
			
			[ ]		Write a generic algorythm that uses the results of the mode above
					and automatically takes the best 6 ai's into the next round. Also
					make a mix out of the properties of the best 4 and create two new
					ai's which will be in the next round as well.
					After 100 rounds let the player play ten with them. If he wins too
					much, forget the whole thing, generate 8 new ai's and start again.
		
			[ ]		Rewrite the actions of the AI for the second, third
					and fourth round of betting to include pot odds.
					
			[ ]		( Maybe ) Write a complete new AI and assign every
					enemy to the old or the new one.
			
			[ ]		Make the AI work with no limit.
					
	
			

====[ ]		Additional Features.
	
			[ ]		Add highscore table. Points just get saved if the player leaves the 
					table.
			
			[ ]		Add 'Video Poker'

			[ ]		Make 'No Limit' mode.
			


====[ ]		Creating Themes.
			
			[X]		Multiple backgrounds using the diagonal lines template.
		
			[ ]		Cardset with 'real' pics ( if not too small ).
	
			[ ]		Background with 'GPenguin' theme ( /me likes this guy ).
			
			[ ]		Create a template that the user can use to create new 
					themes.

					
				
