Games Search Example 4

Finding best games on different dimensions

User input is in bold.

$ python3 search-games.py


This program helps the user explore a data set of
over a thousand video games released between
2004 and 2008.

In particular, you can:
1. Search by game title
2. Search by console and release year
3. Quit

Choice: 2
Enter year: 2005
Enter console: X360

                         TITLE REVIEW SALES PRICE CONSOLE YEAR PLAYTIME
------------------------------ ------ ----- ----- ------- ---- --------
                       Amped 3     72  0.13 14.95    X360 2005      9.0
  Battlefield 2: Modern Combat     77  0.36 16.95    X360 2005      6.9
                Call of Duty 2     89  1.69 17.95    X360 2005      9.0
   Condemned: Criminal Origins     81  0.33 14.95    X360 2005      7.5
               Dead or Alive 4     85  0.38 17.95    X360 2005      6.0
                           GUN     75  0.22 19.95    X360 2005      8.0
      Kameo: Elements of Power     79  0.31 11.95    X360 2005     10.2
                 Madden NFL 06     74  0.62  4.95    X360 2005      3.8
                       NBA 2K6     81  0.22  4.95    X360 2005      0.5
                   NBA LIVE 06     64  0.29  4.95    X360 2005      4.0
   Need for Speed: Most Wanted     83  0.95 17.95    X360 2005     12.0
                       NHL 2K6     75  0.10  5.95    X360 2005      2.5
             Perfect Dark Zero     79  0.70 17.95    X360 2005      8.0
Peter Jackson's King Kong: The     80  0.32 14.95    X360 2005      7.0
                       Quake 4     75  0.27 14.95    X360 2005      8.4
                 Ridge Racer 6     74  0.10 14.95    X360 2005      8.0
       Tiger Woods PGA Tour 06     71  0.33  9.95    X360 2005     -1.0
Tony Hawk's American Wasteland     75  0.29 14.95    X360 2005     13.0

18 matches found

Best reviewed is: Call of Duty 2 (89)
Best selling is: Call of Duty 2 (1.69)
Longest play-time is: Tony Hawk's American Wasteland (13.0)

1. Search by game title
2. Search by console and release year
3. Quit

Choice: 3
Goodbye!