Star Trek Flash Trek is not a traditional game with a win condition. It's a web-based ship builder that lets you recreate and customize vessels from the Star Trek universe.
Build. Tweak. Save screenshots. Share designs. That's it. No "beating" possible—only creating.
If you want Star Trek games with win states, look to Bridge Crew, Star Trek Online, or Fleet Command. Flash Trek is for the engineer who just wants to design the Enterprise—their way.