-
Notifications
You must be signed in to change notification settings - Fork 49
Matrix Command #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Matrix Command #97
Conversation
|
Adding a review! Overall, this code works and seems pretty solid! It looks a lot like the falling code in The Matrix :) Below are the notes I have: RNG: Implemented correctly Iterations: Currently the code refreshes in place. Maybe adding a slight delay (like The only minor adjustments I've suggested are speed control, size control and visual enhancement. Other than that everything looks super cool! High Level Checks:
Code Checks:
|
|
Code Review:
Otherwise, it is nice that everything is user level and you only had to modify one existing file in FogOS! Cool idea!! High Level Checks:
Code Checks:
|
|
Basic functionality is here. We are missing the art show option as well as the density configuration mentioned in the original issue. Everything works well, I'd add an error message / usage if the user passes in an invalid flag (I tried running with -h to start) Implementation wise, I'm not sure why this needs to track column / row positions or store any state at all. It appears to print random characters and then relies on the terminal's scrolling for the animation (which is fine... but then couldn't you just replace the logic with a single loop? Stylistically this is fine but it does have a lot of GPT-style comments for everything, some of them could probably be cut down. |
MATRIX PROJECT :
Abi & Liwam
The matrix command simulates the iconic "falling code" from The Matrix movie, displaying random numbers and symbols streaming down the screen.
Basic functionality:
The command uses a random number generator to display numbers and symbols in random positions on the screen. The characters fall from the top of the screen, simulating the continuous scrolling effect of digital code.
Flags: