Sphinx-4 CardMatch Demo |
CardMatch is a game written using Sphinx-4 and uses speech to play the game.
To run CardMatch, first make sure that all sources are built by typing at the top level directory:
ant
To play the game without endpointing (that is, you press the "Speak"
button to speak and press it again to stop), type the following at the
demo/jsapi/cardmatch
directory:
ant run
To play the game with endpointing (that is, you press the "Speak" button to
speak only), type the following at the demo/jsapi/cardmatch
directory:
ant run-ep
If you are running Linux and have problems with the audio, please read the Demo Troubleshooting section.
How To Play
Throughout the game, you say "card one", "card two", ... "card six" to choose which card to flip over. If you flip two cards that are the same, those will stay flipped. Otherwise, they will be covered again. When you match all the pairs of cards, you win! To start a new game at any point, say "start a new game".