A friend asked for a quick script to help him sort a top-50 list of games. Here’s what I threw together:
It picks two entries at random, and swaps their positions if you choose the later one as your favorite. Lather, rinse, repeat. Like a bubble sort without adjacent items.
Curses? Well, it was the quickest way to get Ruby to respond to a single keypress. And since you’re going to be making a lot of entries, I didn’t want you to have to hit Enter after every one.
So here you see my list of artists with 5-star songs, originally in alphabetical order, but with my favorites starting to bubble to the top:
- 10,000 Maniacs
- Enigma
- Boom Boom Satellites
- Alpha
- Amon Tobin
- Aphex Twin
- Barenaked Ladies
- Arovane
- Audioslave
- Boards of Canada
- Massive Attack
- Red Snapper
- Tipper
- Beach Flea
- Cake
- Ben Folds Five
- Counting Crows
- Propellerheads
- Billy Joel
- The Smashing Pumpkins
- Lemon Jelly
- Fatboy Slim
- Boards Of Canada
- Shpongle
- Bola
- Coldplay
- Weekend Players
- Boulderdash
- Buckethead
- Crunch
- Ulrich Schnauss
- Basement Jaxx
- µ-Ziq
- Dol-lop
- Chicane
- Depeche Mode
- Clint Mansell
- Train
- Boom Bip
- Bent
- Creed
- Beck
- Cujo
- DJ Cam
- Röyksopp
- Daft Punk
- Red Hot Chili Peppers
- Death Cab for Cutie
- Plaid
- Deftones
- Delarosa & Asora
- Christian Kleine
- Caviar
- Third Eye Blind
- Duncan Sheik
- E.S. Posthumus
- Eat Static
- The Crystal Method
- 3 Doors Down
- Blind Melon
- Fluke
- Hive
- BT
- Loden
- Goldie
- Groove Armada
- Hexstatic
- R.E.M.
- Hybrid
- Bush
- Sugar Ray
- Jay McGavren
- Single Cell Orchestra
- Kenji Kawai
- LFO
- Saru
- Sarah McLachlan
- Arkarna
- Prefuse 73
- James Bong
- Lusine ICL
- Banco de Gaia
- Mighty Dub Cats
- Mike & Rich
- The Cranberries
- Natalie Merchant
- Orbital
- P.M. Dawn
- Clue to Kalo
- Pearl Jam
- Photek
- Deep Forest
- Polygon Window
- Portishead
- Loess
- Prince
- Proem
- Billie Myers
- Freaky Chakra
- Dave Matthews Band
- Global Communication
- Roni Size & Reprazent
- DJ Krush
- Moby
- Blessid Union of Souls
- Londonbeat
- Savath & Savalas
- Seal
- The Chemical Brothers
- Shantel
- Genesis
- Jimpster
- Elton John
- The Wiseguys
- Living Colour
- Stone Temple Pilots
- Janet Jackson
- Talvin Singh
- Blackwatch & Greed
- Squarepusher
- Soundgarden
- The Dust Brothers
- The Postal Service
- The Prodigy
- Seb & Lo-tec
- Spring Heel Jack
- Dot Allison
- Isao Tomita
- Patchwork
- Bôa
- A Man Called Adam
- wunsch/demmin
- Chicago
Been meaning to write something like this for a while, and my friend’s request was just the final nudge. Hopefully this will help others looking for something similar.