1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-10-18 11:52:39 +00:00

Move Vim game to day 2

This commit is contained in:
Mo 2023-08-15 14:09:31 +02:00
parent bb03656c61
commit dada325ba7
2 changed files with 9 additions and 8 deletions

View file

@ -92,3 +92,12 @@ After that it works, write a script that asks the user for the link to a documen
- To capture a regex group using ripgrep, you should use `rg '.*(GROUP_PATTERN).*' -r '$1'` after replacing `GROUP_PATTERN` with the pattern that you are looking for. - To capture a regex group using ripgrep, you should use `rg '.*(GROUP_PATTERN).*' -r '$1'` after replacing `GROUP_PATTERN` with the pattern that you are looking for.
- If you find the link of the file using `rg`, copy it into a browser to make sure that you got a correct link to a PDF file. - If you find the link of the file using `rg`, copy it into a browser to make sure that you got a correct link to a PDF file.
## Task: Vim game
In this task, we are going to play a game! 🎮️
The game is an educational game that lets you learn the very basics of navigation in Vim which we learn about later.
But for now, I can get familiar with the basics during the game.
Play the game on this website: [https://vim-adventures.com](https://vim-adventures.com/)

View file

@ -145,14 +145,6 @@ Verify the redirection of the standard output and standard error in the director
1. Use `poetry shell` to enter the environment. 1. Use `poetry shell` to enter the environment.
1. Run the script and check the generated PDF file `h_t.pdf`. 1. Run the script and check the generated PDF file `h_t.pdf`.
## Task: Vim game
In this task, we are going to play a game! 🎮️
The game is an educational game that lets you learn the very basics of the navigation in Vim.
Play the game on this website: [https://vim-adventures.com](https://vim-adventures.com/)
## Task: Python rewrite ## Task: Python rewrite
Choose one of the scripts that you have written during the course and rewrite it in Python! Choose one of the scripts that you have written during the course and rewrite it in Python!