Skip to content

Commit

Permalink
Power of Thor 1
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfranciscodev committed Oct 18, 2024
1 parent de138f7 commit 8c61483
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions puzzles/python3/power-of-thor1/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Power of Thor - Episode 1

This is a solution to the Power of Thor puzzle on [Codingame](https://www.codingame.com/training/easy/power-of-thor-episode-1).

## Description

In this puzzle, Thor is stranded on a rectangular grid and needs to reach a lightning bolt that is located at a specific position on the grid. The position of Thor and the lightning bolt are given as input to the program. Thor can move in four directions: North, South, East, and West. For each move, the program needs to output the direction in which Thor should move to get closer to the lightning bolt.
Expand Down Expand Up @@ -52,7 +50,3 @@ while True:

print(direction)
```

## Conclusion

This solution demonstrates how to solve the Power of Thor puzzle on Codingame. The program reads in input values from standard input, enters a loop to calculate the direction in which Thor should move, and outputs the direction in which he should move. This solution can be used as a starting point to solve other puzzles on Codingame or similar platforms.

0 comments on commit 8c61483

Please sign in to comment.