Skip to content
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

Feature Request: Cli mode #35

Open
KenwoodFox opened this issue Nov 2, 2023 · 3 comments
Open

Feature Request: Cli mode #35

KenwoodFox opened this issue Nov 2, 2023 · 3 comments

Comments

@KenwoodFox
Copy link

I think it would be really cool if there was a documented way to run the simulator via CLI only, this could be especially handy in automated CI/CD tests or just to quickly gauge performance!

I would love to work on implementing this if we can think of a way to go about it, i know mms is pretty tied into the graphics engine but, perhaps piping the graphics to a virtual x session or something similar might work?

@mackorone
Copy link
Owner

@KenwoodFox apologies for the delay in getting back to you. This is a really interesting idea, and I fully support you working on it! The simulation logic is already somewhat decoupled from the visualization logic, so I think this project would amount to introducing a new build target that only includes the simulation components. My suggestion would be to peruse Window.cpp and copy the pieces that instantiate the maze, mouse, etc. and go from there.

@KenwoodFox
Copy link
Author

@KenwoodFox apologies for the delay in getting back to you. This is a really interesting idea, and I fully support you working on it! The simulation logic is already somewhat decoupled from the visualization logic, so I think this project would amount to introducing a new build target that only includes the simulation components. My suggestion would be to peruse Window.cpp and copy the pieces that instantiate the maze, mouse, etc. and go from there.

That sounds a good plan! I'll get started on that here! thanks!

@baratiistok3
Copy link

I created a quick and dirty solution for running simulation from command line.

#37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants