Startrek1971
A Python port of the classic Star Trek BASIC game from 1971
Install / Use
/learn @cosmicr/Startrek1971README
================ 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.
.. Star Trek: http://en.wikipedia.org/wiki/Star_Trek%28text_game%29 .. _Reddit: http://www.codeproject.com/Articles/28228/Star-Trek-Text-Game
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!
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
