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

CLI args are being over ridden by UI selection menu #11

Closed
mukeshmk opened this issue Apr 3, 2020 · 0 comments
Closed

CLI args are being over ridden by UI selection menu #11

mukeshmk opened this issue Apr 3, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@mukeshmk
Copy link
Owner

mukeshmk commented Apr 3, 2020

when you try starting the game with these parameters

python game.py --p1 minimax --p2 montecarlo --ui false

The expected behaviour is for the two bots to play each other without the UI (in the cmd).

But the main menu screen appears and prompts the user to select the type of game he wants to play:

  • If bot vs bot is chosen the UI becomes unresponsive and the game begins without the UI in the command line (as UI is set to false when starting the game)
  • If 'player vs botorplayer vs player` is chosen the game just ends (because a human cannot play without UI).

Bug Introduced as part of PR #10 game menu selection via pygame

@mukeshmk mukeshmk added the bug Something isn't working label Apr 3, 2020
@jagadish-ramamurthy jagadish-ramamurthy self-assigned this Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants