Sold VB- Need this code done by 11-1-19

Discussion in 'All Other Game Services for Sale - Buy & Sell' started by Hack Forums - Service, 11/3/19.

Thread Status:
Not open for further replies.
  1. Hack Forums - Service

    Hack Forums - Service
    Expand Collapse
    High Risk Status: This user has been flagged as high risk due to one or more reasons

    0   0   0

    Offline
    I am willing to pay for someone who can do this program. Name your price and proof that you have it and it's working (video evidence or screenshare). Must be done by 11/1/19

    A wormhole is a theoretical passage through space-time that could create shortcuts for long journeys across the universe. Wormholes are predicted by the theory of general relativity. But be wary: wormholes bring with them the dangers of sudden collapse, high radiation and dangerous contact with exotic matter.

    In 1935, Albert Einstein and physicist Nathan Rosen used the theory of general relativity to elaborate on the idea, proposing the existence of "bridges" through space-time. These bridges connect two different points in space-time, theoretically creating a shortcut that could reduce travel time and distance. The shortcuts came to be called Einstein-Rosen bridges, or wormholes.

    This is a 2 Dimensional Array representing the Wormhole. It has 7 rows and 7 columns.


    Dim chrWormhole(,) As Char = {{"X", "X", "X", "X", "X", "E", "X"},
    {"X", ".", ".", ".", ".", ".", "X"},
    {"X", ".", ".", ".", ".", ".", "X"},
    {"X", ".", "S", ".", ".", ".", "A"},
    {"A", ".", ".", "." ,".", ".", "X"},
    {"E", ".", ".", ".", ".", ".", "X"},
    {"X", "X", "X", "E", "X", "X", "X"}}



    chrWormhole.jpg


    Write the program that helps the Starship escape the Wormhole.

    The array shown above is a 2 Dimensional Character Array with 7 rows and 7 columns. The Starship starts at S in the 2 Dimensional Array and escapes the Wormhole at any position in the array that contains an "E". Use a random number generator that generates FOUR random numbers. The random numbers will determine which direction the starship moves, UP, DOWN, LEFT, RIGHT. As you can imagine, wormholes are very difficult to navigate in, meaning you (the program) does not really know which direction is out to escape.

    The Starship can move only 1 position at a time, either Up, Down, Left, or Right. The " . " indicates that the Starship will continue to move.

    If the Starship arrives at a position that contains an " X " it cannot Escape and the Starship backs up one position from where it came. This counts as ONE move.

    Example: A random number is generated inside a WHILE loop. This determines which direction it simulates moving. The Starship is a Character Variable and it's initial Value is " S " indicating the starting position in the array.

    row = 3 : col = 2

    chrStarship = chrWormhole ( row, col) ' This assigns an "S" to the variable chrStarship.

    As an example assume the random number variable rndDirection is a a 1. if I were using a 1 to indicate the starship moves UP in the array what changed when it simulated moving?

    If rndDirection is equal to 1 Then SUBTRACT 1 FROM row. row - = 1

    The starship chrStarship = chrWormhole ( row, col) the new row and column which would simulate it moving to

    chrWormholw ( 2, 2) since 1 was subtracted from row. You can see the value of chrStarship would now be a " . "

    After it moves one position up, down, left or right then a new Random number is generated to determine the direction of the next move. This continues (Loop) until the Starship escapes, ie...chrStarship = "E"


    The Form should include the above picture, a Start Button and a Label telling how long it took the Starship to escape (IN MINUTES) if it takes THIRTY (30) SECONDS to move between EACH position. The Start button only needs to be pressed ONE time and the simulation continues until the ship escapes.

    Use the Wormhole graphic picture in the Form. You do NOT need any graphics to show the Starship moving. This is only a simulation.

    Once you have ONE Starship moving and escaping correctly:

    Modify Part 1 to have 5,000 Starships traverse the wormhole. Display in a Label the average time (in minutes) for the 5000 starships to escape the wormhole. It still takes 30 Seconds for each move. When the Starship arrives at Position " A " the Starship will hit a group of Antimatter particles and DISINTEGRATE (Explodes). Count the actual number of ships that exploded and display the percentage in a Label of the total number of Starships that Disintegrated and Exploded.

    Once all of this is working properly, execute the program several times and analyze the results of each run. Write the results of your analysis to a file. This is a TEXT description of what you think the simulation is demonstrating and why the results are what they seem to be.

    If you have errors or questions feel free to send me a message. But you may need to attach your zipped program in the message. I will give a clue or indicate where to look for the _error_ or problem.

    SUBMIT

    Open Book and do the program at home. NO LATE submissions are allowed.

    I may change the position of the E's and A's in the array and the program must still work.
    Start Contract
     
    • This user is inactive. Hasn't logged into their account in over 60 days.
Thread Status:
Not open for further replies.