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

Animation Mode #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Animation Mode #1

wants to merge 2 commits into from

Conversation

tryton-vanmeer
Copy link

Added an animation mode.

When the '-a' flag is passed:

  • only listen for the "q" key
  • "score" and "Press SPACE to start" are hidden

Tryton Van Meer added 2 commits February 20, 2018 18:10
Added animationMode boolean to Termosaur class. When true, the only key listened for is 'q'.
@int3gra
Copy link
Collaborator

int3gra commented Feb 21, 2018

Nice ! Can you please use getopt (man 3 getopt) ? And it looks like there is enough one check inside of the Termosaur::aiGame() .

@linuxenko
Copy link

linuxenko commented Feb 21, 2018

I thought about command line options for dinosaur, it would be nice to have such option to use inside of a userprogress scripts ))

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