[{"element_type":"image_url","content":"https://i.pinimg.com/originals/66/75/2a/66752a39666cd25c7b73a471d2aefc48.jpg","metadata":{"alt":"Interstellar spaceships","caption":"Pilot a rescue ship!"}},{"element_type":"text","content":"\n        \u003ch1 class=\"heading-element\"\u003eProject-Starflight\u003c/h1\u003e\n\u003cp\u003e\u003ca id=\"user-content-project-starflight\" class=\"anchor\" href=\"https://github.com/mrklingon/Project-Starflight/blob/main/README.md#project-starflight\"\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eSimple space game in PyBasic and CircuitPython - GitHub repository: \u003ca href=\"https://github.com/mrklingon/Project-Starflight/\" target=\"_blank\"\u003eProject Starflight\u003c/a\u003e\u003c/p\u003e\n\u003cp\u003eI've been enjoying playing with PyBasic on my FruitJam - trying the examples in the examples/ directory, and adding a few from\u003cspan\u003e\u0026nbsp;\u003c/span\u003e\u003ca href=\"http://www.vintage-basic.net/games.html\"\u003ehttp://www.vintage-basic.net/games.html\u003c/a\u003e\u003cspan\u003e\u0026nbsp;\u003c/span\u003e(adapting the ones that didn't work at first).\u003c/p\u003e\n\u003cp\u003eI wanted to go old-school and write a program in BASIC using\u003cspan\u003e\u0026nbsp;\u003c/span\u003e\u003ca href=\"https://github.com/richpl/PyBasic\"\u003ePyBasic\u003c/a\u003e. Been years (decades!) since I coded in BASIC, so it was a challenge. Eventually I got my Starflight.bas coded - worked fine, but then I wanted it in CircuitPython, so I asked duck.ai to find an AI that could do that. And... it did, even adding appropriate comments, even though I hadn't commented the BASIC version. I just needed a couple of tweeks to get it to work in CircuitPython. Runs fine on FruitJam and even NeoTrinkey (using the REPL in Mu.)\u003c/p\u003e\n\u003cp\u003eI used\u003cspan\u003e\u0026nbsp;\u003c/span\u003e\u003ca href=\"https://fantasynamegenerators.com/\"\u003eFantasyNameGenerators.com\u003c/a\u003e\u003cspan\u003e\u0026nbsp;\u003c/span\u003eto create the ship names, stars and planets.\u003c/p\u003e\n\u003cp\u003eJust copy it to the FruitJam\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eStarflight.bas - copy to apps/PyBasic/examples\u003c/li\u003e\n\u003cli\u003eStarflight.py - copy to apps/PyDOS - I made a subdirectory \"code/\" and put it there. Just run PyDOS, and cd to PyDOS/code, then type \"Starflight\" For a NeoTrinkey, copy it to the name \"code.py\" - then run it with Thonny or Mu to see the program running in the REPL.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\u003cspan style=\"text-decoration: underline;\"\u003e\u003cstrong\u003eProgram output:\u003c/strong\u003e\u003c/span\u003e\u003c/p\u003e\n\u003cpre class=\"notranslate\"\u003e\u003ccode\u003eDo you need instructions? (y/n)\n\ny\nYou are commanding a rescue ship that is tasked\nwith finding a ship that has crashed in a remote system.\nEach star sytem has at least 3 tramlines to other star systems.\nYour job is to pilot your ship until you can reach the\nlost ship.\n                   Good luck.\n\nWelcome Captain. Please sign in with your name.\njoel\nCaptain joel we're reviewing ships available.\nENM: 4\nYou are now in command of Hellhound.\nYour mission is to travel from ekuasims to ikreglault\nwhere the target ship Saber is reported to be\ncrashed on trilles 992.\n\nCurrent tramline exits are:\n--------------------------------\n1: naithef\n2: ezlaoct\n3: sehle\n\nChoose your tramline\n1\nCurrent tramline exits are:\n--------------------------------\n1: sehle\n2: ikreglault\n3: ezlaoct\n\nChoose your tramline\n4\nInvalid choice. Please choose 1, 2, or 3.\nCurrent tramline exits are:\n--------------------------------\n1: sehle\n2: ikreglault\n3: ezlaoct\n\nChoose your tramline\n1\nCurrent tramline exits are:\n--------------------------------\n1: poaph\n2: baeccays\n3: otaeks\n\nChoose your tramline\n2\nCurrent tramline exits are:\n--------------------------------\n1: sroi\n2: ikreglault\n3: ikreglault\n\nChoose your tramline\n2\nCongratulations! You have rescued Saber!\u003c/code\u003e\u003c/pre\u003e\n      ","metadata":{}}]