Alpha1 Usability Improvements

Make Page Rank more understandable
Change "PR: 6" to "Popularity: 6/10" in the hack bar.

Make hack/scan points more visible
In the info boxes (the results whenever there is a hack, scan...), tell the player when he has spent a hack/scan point, how many he has left, and the time left before he gets a new one.

Example:

''You have spent 1 hack point to perform this action (6 left). You will get a new hack point in 3 hours 2 minutes.''

Retry button
Add a "retry" button on the hack and scan results when it failed.

Suggest new websites to hack
[Feature to develop in objects]

In the info boxes (the results whenever there is a hack, scan...), suggest another website of the same tag to hack.


 * Get the page http://delicious.com/popular/bank (replacing "bank" with the tag of the current page)
 * Randomly select one of the popular links for this category
 * Use the selected link to add the following text to the info boxes:

You can now [http://xxx hack another website related to bank].

Change first displayed page to an internal page
Instead of showing google.com as the first page for the game, show a page hosted on the game website itself, with the following requirements:


 * Each URL must be unique and random (something like http://hackit.cx/home/ax4xr3im43xom434, to allow it to be hacked and become the user's home page)
 * Don't change the browser URL (it must remain http://hackit.cx/ to avoid confusing search engines)
 * The page content should be a localisable template with access to all the session variables (user name, hack points...) to allow to present the game and the user evolution through it.
 * For now, do not allow to hack another player's home website - we'll need to figure out how to best handle this, since we'll use this website to display information to the player.

Flat structure for owned websites
[Feature to develop in object]

Remove the tree of websites concept and clean-up the code to handle websites independently from each other (no more parent/children structure, we now hack only one website at a time):


 * Remove code and data structures related to handling trees, refactor the code handling sites to handle it as an object.
 * Keep the concept of a home
 * Replace "Go to parent website" and "Go to child website" items in the options menu by "List of owned websites", which opens the list of websites decribed below.
 * Remove all mentions of the parent/children structure in the game interface and emails sent (and the related code)

Level faster and play longer during the first session

 * Start with 12 hack points and 8 scan points (instead of 6 and 4 respectively)
 * Change the hack/scan point rules to:
 * Nb of hack points available = 12 + X + Y + Z (changed to sum instead of multiplication to avoid points inflation)
 * Nb of scan points available = nb of hack points available * 0.6 (take the upper rounded integer)
 * Where :
 * X is the square root of the number of sites owned
 * Y is the average pagerank (1 to 10)
 * Z is the square root of the size of the longest chain of sites of the player
 * Replenish hack and scan points every time the user gains a new hack or scan point

Requirements and deliverables
See Requirements and deliverables for patch submission

Release checklist
These are the steps and things to check for a new release.