Code in Place 106A Final Project

by Giovanni S

Description

The Final Project is a game where the user (007) faces the computer (evil agent) in a text based training simulator before going out into the field. The three actions at the users and computers disposal is Reload an initially empty gun with a single bullet, Shield protecting themselves from an attack, and Shoot which, if not shielded, defeats the opponent. There are varying difficulty levels: Easy - computer totally random, Medium - first action by computer is reloading the initially empty gun and then totally random, Hard - first action same as medium but if the computer has no bullets it will either reload or shield, Near Impossible - first action is the same as medium and hard, subsequent actions alternate between reading the users input and making a strategic choice ("god mode") and hard mode action select.