Skip to main content

Time Trek

Take control of the USS Enterprise to find and destroy all the Klingons.

Ted Hunt
Time Trek is a game based on a game of the same name that was written for the TRS-80. You control the USS Enterprise, warping from sector to sector to find and destroy the Klingons.

Help Screens
Customizable difficulty
Different cut scenes for each Enterprise destruction.
Configurable screen resolution
Works on Windows, Linux (only tested on Ubuntu) and Mac (not tested)

At least a Core2 duo of equivalent processor.
Python 2 or 3
Pygame 1.9.2
For cut scenes to play ffmpeg (that is able to decode H.264 video) needs to be available. Either in your path or in the TimeTrek directory.



Home Page


Time Trek 1.6 — 23 Feb, 2015

Time Trek 1.5 — 20 Feb, 2015 account Comments

  • Anonymous 2015-02-18 20:12:47

    Crashes when your shit gets shot: 'pygame.Surface' object has no attribute '_pixels_address'
    Bests: Anonymous

    tednz 2015-02-19 00:06:03

    Thanks for trying my game. The reason for the crash is that _pixels_address is in pygame 1.9.2 and above. See for the latest release.



  • Rag'd 2015-02-19 19:26:14

    The game crashes at start !

    Traceback (most recent call last):
    File "", line 3130, in <module>
    File "", line 95, in main
    movies = preintro()
    File "", line 3109, in preintro
    IndexError: bytes to write exceed buffer size
    av_interleaved_write_frame(): Broken pipe

    tednz 2015-02-20 20:59:30

    Thank you for trying. I believe this problem is cause by running a non 32bit desktop. I'm unable to check this myself at the moment as newer versions on windows don't allow anything but 32bit desktops. I'll have to pull out my ubuntu install and check it on that. In the meantime I'm adding 32bit desktop to the requirements.

  • ginoingras 2015-02-21 18:35:26

    game crash on mint17-32b, but got pygame 1.9.1:

    Traceback (most recent call last):

    File "", line 3130, in <module>


    File "", line 759, in main

    - (base[basemap[playerx][playery]][3] - BSIZEY))*BASEWIDTH+(playerx1 -
    (base[basemap[playerx][playery]][2] - BSIZEX))*4), 1)) != b"00":

    AttributeError: 'pygame.Surface' object has no attribute '_pixels_address'

    i've done test on win7-64b, pygame 1.9.1, with ffmpeg 0.4.5-win32
    (from sourceforge). game don't crash, but got black screen when
    encounter star and then deadlock.

    you may check pygame version in software, it there is a way to be compliant between 1.9.1 and 1.9.2.

    you may also add a readme file for version module we need, and where to download

    tednz 2015-02-22 20:23:22

    Thank you for your feedback. I will look at putting more checking of requirements in the code. Your version (0.4.5-win32) of ffmpeg is very old (around 2001). I suggest trying for more up to date windows builds.

  • ginoingras 2015-02-25 18:51:07

    nice game, and work well, except that i had an eperprise freeze (doesn't move nor shoot) just in screen "base under attack".
    i'd been hitted by enemy for 1st time, and then my ship freezed until destroy by enemy's shoot.

    you should blink message "base under attack (x,y)" and informe energy to base left (if any).

    very good and nice job.

    tednz 2015-02-26 21:05:02

    Thank you for your feedback. The Enterprise takes damage when it's shot. It's possible for the impulse engine (they allow you to move around) to stop working. Also the phasers can be damaged and stop working. It should take a few shots for this to happen, unless you're playing on "Hard" difficulty. Pressing the "1" key will show you a damage report, altho if the Klingons are still shooting, the Enterprise will be destroyed quite quickly.

    Having the "Base under attack" message flash and display the shield and hull strength is a good idea. I will try to implement in a future release.

  • Anon12345 2017-11-02 09:57:40.657560

    Hey. I liked your game and wanted to make a few modifications. Once I make those few modifications, would it be ok if I distribute it to a couple of my friends? I won't remove the name of tormented productions, just add my name to the credits list. As you guys originally wrote the code, I wanted to ask your permission first as I didn't want to do anything wrong. I *might* even make the modifications open source if they are really nice. Would you be alright with me doing this?