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

macOS integration for formula csnaketerm #1

Open
DonaldKellett opened this issue Jul 11, 2021 · 0 comments
Open

macOS integration for formula csnaketerm #1

DonaldKellett opened this issue Jul 11, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@DonaldKellett
Copy link
Owner

The csnaketerm formula Formula/csnaketerm.rb has been tested on Linux (Ubuntu 20.04 LTS) but not on macOS at the time of writing. If you are a macOS user, the owner of this tap would like to invite you to perform the following test case to confirm that csnaketerm works as expected on macOS. Submit your results of the test case by (1) specifying the version of macOS you are using (e.g. Mojave, Catalina, Big Sur) and (2) upload a screen recording of your terminal when performing the test case.

Before performing the test case, ensure that:

  1. The DonaldKellett/games tap has been added: $ brew tap DonaldKellett/games
  2. Any existing installation of csnaketerm has been removed: $ brew uninstall csnaketerm
  3. Any existing game data has been erased: $ rm $HOME/.csnaketerm

The instructions for the test case are as follows:

  1. Install csnaketerm from this tap: $ brew install csnaketerm
  2. Check the exit code of the previous command: $ echo $? The output should be 0
  3. Try to access the man page for csnaketerm: $ man 6 csnaketerm If successful, you should be able to scroll using the arrow keys and press 'q' to quit
  4. Check the exit code of the previous command: $ echo $? The output should be 0
  5. Start the game: $ csnaketerm The terminal should clear and display the main menu
  6. Press 'h' to view high scores. All 12 high scores should be 0. Press any key to return to the main menu
  7. Press 's' to start the game, 'u' to select the unconfined game map and 'i' for insane mode. The game should now start
  8. Briefly play the game using arrow keys to navigate. Eat a few pellets of food marked * to grow to a reasonable length, then collide with yourself to reach the game over screen, Press any key to return to the main menu
  9. Press 'h' to view high scores. The 4th entry from the top should contain your new high score; all other high scores should remain at 0. Press any key to return to the main menu
  10. Press 'q' to quit the game. You should be returned to the terminal prompt
  11. Check the exit code of the previous command: $ echo $? The output should be 0
  12. Restart the game: $ csnaketerm Press 'h' to view high scores. The 4th entry from the top should still contain your high score from the previous round and should not be 0
@DonaldKellett DonaldKellett added the help wanted Extra attention is needed label Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant