Star Trek Rank Creator - Best to Worst

Star Trek topics that do not fit into any particular Star Trek forum
Post Reply
User avatar
marsh8472
Site Admin
Posts: 122
Joined: Mon Nov 20, 2017 10:58 pm

Star Trek Rank Creator - Best to Worst

Post by marsh8472 » Thu Nov 23, 2017 6:40 pm

I wrote an application that figures out what episodes are the best to the worst of Star Trek. I have it available here: http://s000.tinyupload.com/index.php?fi ... 1394415840

The way it works is, it'll have you compare 2 episodes with each other and asking which one is better until the list is sorted.

Here's the instructions how it works:

First decompress the zip file into a folder somewhere, it should look like this after you do that

Image

The file called ranklist.exe is the program, when you open that it looks like this:

First you'll need to open the file that contains the episode information
Image

the files that I have included that can be opened are the .txt files

tos/tos_episodelist.txt - every episode of the original series
tng/tng_episodelist.txt - every episode of the next generation
ds9/ds9_episodelist.txt - every episode of deep space nine
voyager/voyager_episodelist.txt - every episode of voyager
enterprise/enterprise_episodelist.txt - every episode of enterprise
movie/movie_list.txt - every star trek movie
every_series.txt - every episode of every series combined

Once you pick one to try, it should look like this:

Image

It'll just keep asking questions until the the list is sorted. The total questions will vary a little bit. When it's finished it'll look like this

Image

This one took probably 60-90 minutes. It asked me 1117 comparison questions before it finished. Then a list appears to the right showing them all sorted from favorite to least favorite.

Every time the program is tried, it creates a log file so you can view each answer and the sorted list afterward.

Image

The log file contains all the answers you gave in that session in the beginning of the file

Image

then at the end it has the rankings from favorite to least favorite

Image

Here's what my favorite to least favorite star trek the next generation is according to this last time trying it
#1 Q Who?
#2 Best of Both Worlds, The, Part I
#3 Best of Both Worlds, The, Part II
#4 Descent, Part I
#5 All Good Things... Part II
#6 Conspiracy
#7 Parallels
#8 Yesterday's Enterprise
#9 Descent, Part II
#10 Hide and Q
#11 True-Q
#12 Where No One Has Gone Before
#13 All Good Things... Part I
#14 Nth Degree, The
#15 Birthright, Part I
#16 Game, The
#17 Timescape
#18 Contagion
#19 Deja Q
#20 QPid
#21 Time Squared
#22 Vengeance Factor, The
#23 Drumhead, The
#24 Arsenal of Freedom, The
#25 Ship in a Bottle
#26 Next Phase, The
#27 Measure of a Man, The
#28 Justice
#29 First Contact
#30 Realm of Fear
#31 Where Silence Has Lease
#32 I, Borg
#33 Evolution
#34 High Ground, The
#35 Preemptive Strike
#36 Remember Me
#37 Schizoid Man, The
#38 Devil's Due
#39 Brothers
#40 Datalore
#41 Hunted, The
#42 Defector, The
#43 Frame of Mind
#44 Future Imperfect
#45 Hollow Pursuits
#46 Relics
#47 Pegasus, The
#48 Royale, The
#49 Night Terrors
#50 Skin of Evil
#51 Birthright, Part II
#52 Most Toys, The
#53 Chain of Command, Part II
#54 Time's Arrow, Part II
#55 Homeward
#56 Genesis
#57 Phantasms
#58 One One Zero Zero One Zero Zero One
#59 Captain's Holiday
#60 Schisms
#61 Neutral Zone, The
#62 Redemption, Part I
#63 Quality of Life, The
#64 Starship Mine
#65 Unification, Part II
#66 Galaxy's Child
#67 Inheritance
#68 Emergence
#69 Thine Own Self
#70 Time's Arrow, Part I
#71 Matter of Time, A
#72 Tapestry
#73 Unnatural Selection
#74 Encounter at Farpoint, Part II
#75 Conundrum
#76 Liaisons
#77 We'll Always Have Paris
#78 Fistful of Datas, A
#79 Sarek
#80 Elementary, Dear Data
#81 Last Outpost, The
#82 Offspring, The
#83 Lonely Among Us
#84 Naked Now, The
#85 Peak Performance
#86 Child, The
#87 Inner Light, The
#88 Enemy, The
#89 Power Play
#90 Big Goodbye, The
#91 Unification, Part I
#92 Reunion
#93 Booby Trap
#94 Allegiance
#95 Wounded, The
#96 Encounter at Farpoint, Part I
#97 Rightful Heir
#98 Redemption, Part II
#99 Silicon Avatar
#100 When the Bough Breaks
#101 Second Chances
#102 Up The Long Ladder
#103 Attached
#104 Disaster
#105 Imaginary Friend
#106 Cause and Effect
#107 Chase, The
#108 Gambit, Part I
#109 Gambit, Part II
#110 Force of Nature
#111 Sub Rosa
#112 Angel One
#113 Darmok
#114 Chain of Command, Part I
#115 Face of the Enemy
#116 Identity Crisis
#117 Ensign Ro
#118 Tin Man
#119 Transfigurations
#120 Dark Page
#121 Matter of Honor, A
#122 Legacy
#123 Violations
#124 Heart of Glory
#125 Who Watches The Watchers?
#126 Too Short a Season
#127 First Duty, The
#128 Manhunt
#129 Battle, The
#130 Symbiosis
#131 Sins of the Father
#132 Survivors, The
#133 Samaritan Snare
#134 Coming of Age
#135 Interface
#136 Mind's Eye, The
#137 Home Soil
#138 Ethics
#139 Family
#140 Journey's End
#141 Rascals
#142 Outrageous Okona, The
#143 Clues
#144 Emissary, The
#145 Bloodlines
#146 Hero Worship
#147 Menage a Troi
#148 Suspicions
#149 Loss, The
#150 Matter of Perspective, A
#151 Masterpiece Society
#152 Data's Day
#153 Haven
#154 Man of the People
#155 Outcast, The
#156 Bonding, The
#157 Lower Decks
#158 Half a Life
#159 Suddenly Human
#160 Firstborn
#161 Ensigns of Command, The
#162 Icarus Factor, The
#163 Perfect Mate, The
#164 New Ground
#165 Final Mission
#166 Price, The
#167 Lessons
#168 Dauphin, The
#169 Loud as a Whisper
#170 Host, The
#171 Masks
#172 Pen Pals
#173 In Theory
#174 Eye of the Beholder
#175 Cost of Living
#176 Aquiel
#177 Code of Honor
#178 Shades of Gray
I'd recommend just trying the movie one out first. It only asked me 34 questions when I did that one, just took a couple minutes. Here's what mine shows

#1 Star Trek First Contact
#2 Star Trek II: The Wrath of Khan
#3 Star Trek IV: The Voyage Home
#4 Star Trek Nemesis
#5 Star Trek VI: The Undiscovered Country
#6 Star Trek (2009)
#7 Star Trek Into Darkness
#8 Star Trek V: The Final Frontier
#9 Star Trek Beyond
#10 Star Trek Generations
#11 Star Trek III: The Search for Spock
#12 Star Trek Insurrection
#13 Star Trek The Motion Picture

Regarding the technical details I used a sorting algorithm called merge sort to do ithttps://en.wikipedia.org/wiki/Merge_sort it seemed to be the best one for this. I have it randomize the order of the list after loading so it'll ask differently each time.

The images I used I grabbed from the startrek.com website mostly. I replaced a few of the images that don't do a good job reminding you what the episode is about. There are still some images like that on there. You may just have to google some of the episodes to get a refresher in case the title and picture are not enough to recall the episode.

It is possible to create your own lists of anything you want. It doesn't have to be star trek related (favorite episodes from another series, favorite food, favorite person, favorite pasttime, anything). The format for the list file is like this:

(noun describing items)
(predicate describing what's being compared about the items)
first item
picture of first item (file path relative to where the list file is located)
second item
picture of second item
third item
picture of third item
etc...

Then when this list is loaded successfully it'll ask questions like this "Which (noun) is (predicate)?"

Example would be like this:

ship
more likely to win in a battle
Klingon Bird of Prey
birdofprey.jpg
Defiant
defiant.jpg
Borg Cube
borgcube.jpg
Species 8472
species8472.jpg
Tin Man
tinman.jpg
etc..

I don't know if this would be considered a game or not. It feels kind of like a game to me. Some of the comparisons were really easy. There are also times when it was hard to pick when it showed 2 bad episodes, 2 average episodes, or 2 good episodes and I had to think which one is better. We could post our favorite episodes lists here or make new lists if people find this interesting enough

Post Reply