Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/destructhub/murder-mystery
Solving the murder mysteries available on the internet
https://github.com/destructhub/murder-mystery
command-line fun game git learn murder sql
Last synced: 12 days ago
JSON representation
Solving the murder mysteries available on the internet
- Host: GitHub
- URL: https://github.com/destructhub/murder-mystery
- Owner: DestructHub
- License: mit
- Created: 2020-03-11T05:54:56.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-31T12:43:01.000Z (4 months ago)
- Last Synced: 2024-11-05T11:33:46.154Z (about 2 months ago)
- Topics: command-line, fun, game, git, learn, murder, sql
- Language: JavaScript
- Size: 5.5 MB
- Stars: 3
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# murder-mystery
Solving the murder mysteries available on the internet# Solutions available
* [gitstery]
* [clmystery]
* [SQL Mysteries][gitstery]: https://github.com/nivbend/gitstery
[clmystery]: https://github.com/veltman/clmystery
[SQL Mysteries]: https://github.com/NUKnightLab/sql-mysteries.git## gitstery
- You can take a look in [progress.txt] to see my logic flow to solve
the mystery (it's randomly structured, sorry)
- [search_murder.sh] it's a hacking way to solve this: it
collects all residents available and crack the solution by
brute-force (I swear I did this AFTER solving normally first :p)
- To try it yourself you need to clone the original git repository
too, since all the metadata of git it's important to solve the problem
- This murder-solving it was my first, so it's documented very poorly
- the commands `git rev-list`, `git grep` and `git hash-object` it was a interesting discover[progress.txt]: /gitstery/progress.txt
[search_murder.sh]: /gitstery/search_murder.sh## clmystery
- I have a [did.txt] log file about my thought process in details
- In the script [commands.sh] it contains all the shell commands to
cross data and info to find the **fucking murder**. It combine the
clues individually until just one suspect remains in the end.
- Basically a lot of grep and pipes, though (learn about grep context (-C|-B-A) too)[commands.sh]: /clmystery/commands.sh
[did.txt]: /clmystery/did.txt## SQL Mysteries
- I solve each one SQL query per once locally using a SQLite Browser that has
capabilities to run SQL queries.
- Take a look in the [queries] directory to understand the flow.
- You can execute each one individually to understand all the
solution.[queries]: /sql-mysteries/queries
# Author
Manoel Vilela, 2020