File tree 3 files changed +1036
-0
lines changed
3 files changed +1036
-0
lines changed Original file line number Diff line number Diff line change
1
+ ================
2
+ Star Trek 1971
3
+ ================
4
+ ------------
5
+ for Python
6
+ ------------
7
+
8
+ About
9
+ =====
10
+
11
+ I recently discovered the classic old BASIC game `Star Trek `_ from 1971, through a post seen on Reddit _.
12
+
13
+ The post contained a version of the game rewritten in C-Sharp which I thought was quite good.
14
+ I wondered if anyone had ported it to Python.
15
+
16
+ After a little bit of research, I didn't find a definitive version for Python.
17
+
18
+ This is by no means a definitive version itself; I just took the C# version and converted it to Python.
19
+
20
+ .. _Star Trek : http://en.wikipedia.org/wiki/Star_Trek_%28text_game%29
21
+ .. _Reddit : http://www.codeproject.com/Articles/28228/Star-Trek-Text-Game
22
+
23
+ Improvements
24
+ ============
25
+
26
+ There's heaps that can be done with this program. A lot of implementations used global variables.
27
+ I tried to fix this by encapsulating them in a global object, but this can definitely be improved further.
28
+
29
+ Here is a list of possible improvements:
30
+
31
+ - Encapsulate everything in classes
32
+ - Include help/instructions
33
+ - Add extra features;
34
+ + new ships, celestial objects, etc
35
+ + new weapon types
36
+ + crew functions
37
+ - Easier navigation (using cartesian system maybe)
38
+ - Make some parts more 'Pythonic'
39
+ - ...Plenty more!
You can’t perform that action at this time.
0 commit comments