But, C is less kind. To solve the problem, I prefixed array names with underscores. To compensate, I increased the length of all arrays by 1. Index 0 is never used. When I started testing my port, I noticed some string formatting problems. That means: Print 41 spaces followed by left-parenthesis. That was easy to translate, but the intension was to push the left-parenthesis onto the next line by letting it wrap around the console.
I cleaned some of this stuff up. There are also some tables that get printed in the game. I reformatted them a bit to make them easier to read. It took me a while to realize why they chose that symbol. Now, I was ready to play the game. As I mentioned above, I never understood the rules before. Luckily, when you run the program, it gives you the option of viewing instructions.
I studied them carefully. But, the only way to really understand what to do is to play the game. The game makes itself known by printing out its title. Then, it asks you if you want to view instructions. Every prompt in the game demands a number. If you hit Enter, zero is assumed. In this case, I hit Enter to skip the instructions. Next, it asks for a seed number to initialize the randomizer. If that was not an option, they should have taken advantage of the instructions prompt.
When the instructions prompt appears, it could have entered a loop that timed how long it took the user to enter a value. That duration could have been used to initialize the randomizer. Again, I simply pressed Enter to skip it. Next, it prints out my mission. I have to destroy 17 Klingon note the game misspells it here ships in 30 units of time with 3 starbases.
Then it runs the short range scanner. The short range scanner displays the current quadrant. Each row and column is numbered 1 to 8. The text on the right indicates that I am in quadrant 5,2. The Enterprise is located at sector 5,4. Hence, within this quadrant, the Enterprise is in sector 5,4 as specified. The goal is seek out quadrants containing Klingon ships and destroy them. This table summarizes 9 quadrants.
The center quadrant is your current quadrant. The digits indicate the number of Klingon ships, the number of starbases and the number of stars.
In our quadrant, there are no Klingon ships and no starbases, but there are 5 stars. South of us, there is a quadrant containing 1 Klingon ship. But, first we need to raise shields option 5 :. It asks me how much energy I want to devote to the shields. I entered If I run out of energy, I lose the game. Starbases replenish energy. They also restock photon torpedoes and repair damage.
Navigation requires 2 parameters: direction and distance. Direction is specified using this:. Angle goes from 1. Note that the y-axis points downwards. You also need to consider the aspect ratio. Each column is 3 characters wide, but each row is only 1 character high. Distance is measured in warp factor units. Navigation is option Navigation automatically runs a short range scan. Note that I moved from quadrant 5,2 to quadrant 5,3. Also, notice that is says that my warp engines are damaged.
Parts of the Enterprise fail spontaneously. As you navigate around, they slowly get repaired. A value of 0 indicates normal operation. Less-than 0 is damage. Greater-than 0 indicates that the component is working above normal. The short range scan above shows a Klingon ship the triple-plus. Photon torpedoes are fired using the same direction and distance coordinate system as is used for navigation. The computer gave me the coordinates. Then it asks if I want to use the navigation calculator.
The navigation calculator asks you to enter the coordinates of 2 quadrants and it will output direction and distance between them. The game outputs the track of the torpedo. In this case, it hit the target. If the computer gets damaged, you have to estimate the direction of the Klingon ship yourself. It may take a few tries. The torpedo track will help you refine the direction. Also, sometimes a torpedo randomly diverts a bit from the specified direction.
I want to go east. The starbase there, indicated by the center 1, can repair my warp drive. I managed to get over there, but now my long range scanner is damaged. Note that each time you cross a quadrant boundary, the stardate advances. I have to destroy all the Klingons in the time restriction of my mission. But, if I try to navigate there, the Klingon ship will fire at me. The stars will obstruct the track. Let me check on those repairs:. The Enterprise is back to normal.
The Enterprise was hit. My shields dropped a small amount. The Klingon ship was damaged as well. I fired twice, which severely lowered my energy level. Phaser strength is a measure of the distance between the Enterprise the target.
It probably would have been better to navigate north for a clear path for a photon torpedo. Luckily, I can dock with the starbase to replenish my energy:. The starbase takes away all my shield energy before giving me back Also note that I docked by crashing into the starbase. However, after leaving the current quadrant, those are no longer obstacles. In fact, the positions of stars, starbases and Klingon ships within a quadrant is not determined at the start of the game.
Rather, the positions are invented at the time you enter a quadrant. It creates the illusion that stars, starbases and Klingon ships can move around within a quadrant. Note that they can never move out of a quadrant. The values you see in a long range scan are the only values tracked by the game. On a related note, the computer can show you a table of all scanned quadrants option 7, option 0 :. And then it just starts over again with a new mission. The efficiency rating is a function of the time remaining.
However, the menus accept 3 letter mnemonics instead of numbers. The computer offers a few more options. And, just for fun, each quadrant has a name. With those ideas in mind, I decided to code my own version of the game. There are many subtle nuances in the original game.
How often do different parts of the Enterprise malfunction? How and when do photon torpedoes randomly deviate from their specified targets? With BlueStacks 5, you can get started on a PC that fulfills the following requirements. Up to date graphics drivers from Microsoft or the chipset vendor. BlueStacks 4 is not available on Windows XP. You must have Windows 7 or higher. Windows 10 is recommended. Strategy Scopely BlueStacks Verified. Your browser does not support the video tag.
Find the rarest heroes by making multiple summons in Star Trek Fleet Command. Farm efficiently. Get the best results. Why limit to one game on your phone when you can play many on your PC? Leverage the power of different accounts by doing more.
Play the game from different accounts and build your own empire. Use Multi-instance sync to repeat the action in the main BlueStacks instance on all other instances. Script is a powerful addition to the existing BlueStacks Game Controls. Now execute a series of actions in Star Trek Fleet Command by binding them to one key.
Use the 'Script Guide' for inspiration. Macros Skip the boring parts of a game. Read Less Read More. Browse More by Scopely. Dice With Buddies Free. Runner Match Adventure. Players take the captain's chair as they command their own starship.. Explore strange new worlds, seek out new life, and boldly go where no one has gone before. Exploration RPG. Players take the captain's chair as they command their own starship. Play from level 1 to 65 free of charge!
You Are the Captain - Partake in epic space battles and lead away teams across unknown worlds, interacting with allies and battling enemies. Total Customization — Create and customize a Captain from any species in the galaxy, or even make your own! Even your ship can be customized, from color to construction.
0コメント