Code Monkey home page Code Monkey logo

startrek1971's Introduction

Star Trek 1971

for Python

About

I recently discovered the classic old BASIC game Star Trek from 1971, through a post seen on Reddit.

The post contained a version of the game rewritten in C-Sharp which I thought was quite good. I wondered if anyone had ported it to Python.

After a little bit of research, I didn't find a definitive version for Python.

This is by no means a definitive version itself; I just took the C# version and converted it to Python.

Improvements

There's heaps that can be done with this program. A lot of implementations used global variables. I tried to fix this by encapsulating them in a global object, but this can definitely be improved further.

Here is a list of possible improvements:

  • Encapsulate everything in classes
  • Include help/instructions
  • Add extra features;
    • new ships, celestial objects, etc
    • new weapon types
    • crew functions
  • Easier navigation (using cartesian system maybe)
  • Make some parts more 'Pythonic'
  • ...Plenty more!

startrek1971's People

Contributors

cosmicr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.