Visit Barney (Gunsmith) on Tacarigua and fire some practice rounds (3 x 10 rounds). When you have done this Barney will offer a game where you bet 10 gold and if you hit ALL 10 targets you win 50 gold. Barney will also offer a game called 'Shooting the Fleet' for a 50 gold bet where you can win 500 gold. When you win 'Shooting the Fleet' lose the normal 10 gold bet game on purpose and the 'Shooting the Fleet' game will reset allowing you to win another 500 Gold. Note: Do not shoot the black items he throws, these are bombs and if hit you automatically lose.
During gameplay type the case sensitive code 'pommes' (without the quotes) to enable cheat mode. Then press the '~' (tilde) key to display the console window. Enter the following codes to enable the corresponding effect.
Gain Indicated Amount of Gold: Type 'give_It Gold (number)'
During gameplay blind type 'pommes' (without the quotes) to unlock Test mode. As you do this the map screen will flash up and close. Then press the '~' (tilde) key to open the prompt window and enter the following case sensitive codes (without the quotes) to enable the corresponding effect.