Skip to content

Commit

Permalink
Update tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
DanWahlin committed Oct 31, 2023
1 parent 1ec0209 commit 0d2fdba
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 29 deletions.
9 changes: 4 additions & 5 deletions Adventures/1-Beginner/The-Clockwork-Town-of-Tempora.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,16 @@ Your task is to create a system that checks all the clocks in the town and synch

### Constraints

- Write a console application.
- Use GitHub Copilot and write the simulation in any language you'd like.
- Focus on clear and concise code. Ask GitHub Copilot/Chat, "How can I make this code more readable and maintainable?".
- Creating a visual representation for the clocks is optional but encouraged if you have time.

### Summary of High-Level Tasks to Perform

- Write a console application.
- Parse the time data for each clock and the Grand Clock Tower.
- Calculate the difference in minutes between each clock and the Grand Clock Tower.
- Output the list of time differences.
1. Use a console application to render the output.
1. Parse the time data for each clock and the Grand Clock Tower.
1. Calculate the difference in minutes between each clock and the Grand Clock Tower.
1. Output the list of time differences.

### Tips to Get Started

Expand Down
10 changes: 5 additions & 5 deletions Adventures/1-Beginner/The-Magical-Forest-of-Algora.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ Your task is to simulate the dance between Lox and Faelis. Each creature has its

### Constraints

- Write a console application.
- Use GitHub Copilot and write the simulation in any language you'd like.
- Focus on clear and concise code that handles the dance dynamics efficiently. Ask GitHub Copilot/Chat, "How can I make this code more readable and maintainable?".
- Creating a visual representation for the dance and effects is optional but encouraged if you have time.

### Summary of High-Level Tasks to Perform

1. Use a console application to render the output.
1. Initialize the state of the forest.
2. Each creature selects a dance move for each sequence.
3. Determine the effect of the combined dance moves on the forest.
4. Update the state of the forest after each sequence.
5. Display the final state of the forest after the dance is complete.
1. Each creature selects a dance move for each sequence.
1. Determine the effect of the combined dance moves on the forest.
1. Update the state of the forest after each sequence.
1. Display the final state of the forest after the dance is complete.

### Tips to Get Started

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ The planets aren't sorted by their distance from the Lumorian Sun so you'll need

### Constraints

- Write a console application.
- Use GitHub Copilot and write the simulation in any language you'd like.
- Focus on clear and concise code that handles planet checks efficiently. Ask GitHub Copilot/Chat, "How can I make this code more readable and maintainable?".
- Creating a visual SVG representation for the planets is optional but encouraged if you have time.

### Summary of High-Level Tasks to Perform

1. Use a console application to render the output.
1. Sort the list of planets based on their distance from the Lumorian Sun.
1. Traverse the sorted list of planets.
1. For each planet, check the planets that are closer to the Lumorian Sun to see if they cast a shadow on other planets.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ Your task is to simulate the duel between Rok and Papyra. Each warrior makes a s

### Constraints

- Write a console application.
- Write the simulation using GitHub Copilot and any language you choose. Try learning a new language if you're up for the challenge!
- Ensure efficient algorithms to handle the duel dynamics. Ask GitHub Copilot/Chat, "How can I make this code more readable and maintainable?".
- Providing a graphical user interface for the simulation is optional.

### Summary of High-Level Tasks to Perform

1. Use a console application to render the output.
1. Initialize scores for both warriors.
1. Each warrior selects a move for each round.
1. Determine the winner of each round and award the points.
Expand Down
9 changes: 4 additions & 5 deletions Adventures/2-Intermediate/The-Scrolls-of-Eldoria.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,15 @@ You, a young sorcerer's apprentice, have been given the task to retrieve and dec

### Constraints

- Write a console application.
- Write the simulation using GitHub Copilot and any language you choose. Try learning a new language if you're up for the challenge!
- Ensure efficient algorithms to handle text retrieval and extraction. Ask GitHub Copilot/Chat, "How can I make this code more readable and maintainable?".

### Summary of High-Level Tasks to Perform

- Write a console application.
- Make an HTTP call to retrieve the content of the scroll.
- Use a regular expression to filter out the misleading information and extract the true secrets.
- Display the extracted secrets.
1. Use a console application to render the output.
1. Make an HTTP call to retrieve the content of the scroll.
1. Use a regular expression to filter out the misleading information and extract the true secrets.
1. Display the extracted secrets.

### GitHub Copilot Tips

Expand Down
16 changes: 7 additions & 9 deletions Adventures/3-Advanced/The-Gridlock-Arena-of-Mythos.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,25 +57,23 @@ Your task is to simulate a battle in the Gridlock Arena. Each creature will make

- Ensure that you have both the [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) and [GitHub Copilot Chat](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat) extensions installed and are signed in to GitHub in VS Code.

### Constraints

- Write a console application.

### Summary of High-Level Tasks to Perform

1. Use a console application to render the output.

1. **Define Constants and Data Structures**:
- Define the `creatures` array containing the creature details.
- Define a `directions` object to map the movement directions to their respective changes in coordinates.

2. **Initialize the Battle Grid**:
1. **Initialize the Battle Grid**:
- Set the grid size and create a 2D array (`grid`) with all cells initialized to `null`.

3. **Initialize Scores and Grid**:
1. **Initialize Scores and Grid**:
- Loop through each creature in the `creatures` array.
- For each creature, initialize its score to 0 in the `scores` object.
- Place each creature on the grid using its starting position and icon.

4. **Simulate Battle Moves**:
1. **Simulate Battle Moves**:
- Loop through the number of moves, starting from -1 (to represent the initial state).
- If it's the initial state (`move` is -1), render the grid.
- If it's the last move, exit the loop after rendering.
Expand All @@ -84,13 +82,13 @@ Your task is to simulate a battle in the Gridlock Arena. Each creature will make
- Check if the new position overlaps with another creature.
- Update scores and grid state based on overlaps or successful moves.

5. **Render the Grid**:
1. **Render the Grid**:
- For each state of the grid (initial and after each move):
- Display the move number or "Initial Board" for the initial state.
- Print the grid state with creatures or an empty cell representation.
- Display the current scores for all creatures.

6. **Return Final Scores**:
1. **Return Final Scores**:
- After all moves have been simulated, return the final scores for each creature.

### GitHub Copilot Tips
Expand Down
6 changes: 3 additions & 3 deletions Adventures/StartHere.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ The next number echoed by the room should be: 15

### Constraints:

- Write a console application.
- The following solution uses JavaScript and Node.js, but you can use Copilot to write the code in another language if you'd like.

### Summary of High-Level Tasks to Perform:

1. Use a console application to render the output.
1. Create a constant to hold the provided number sequence.
2. Determine the common difference between consecutive numbers.
3. Predict the next number in the sequence using the identified pattern.
1. Determine the common difference between consecutive numbers.
1. Predict the next number in the sequence using the identified pattern.


### GitHub Copilot Steps
Expand Down

0 comments on commit 0d2fdba

Please sign in to comment.