Match Game - Alexa Skill

Match Game

Sideway Bot

1 Reviews

Or say "Alexa, enable Match Game"

Match match memory game.

Match Game is an Alexa skill for the classic memory game, also known as concentration, match up, or pairs.<br/><br/>A memory game typically uses a set of cards. Match Game instead uses a set of boxes or chests with unknown words or phrases in them. Boxes are labled with sequential numbers starting from 1. Try to visualize the arrangement of boxes on a rectangular grid.<br/><br/>You can start a new game by saying &quot;start a game&quot; or &quot;start a game with 20 boxes&quot;. The default box count is currently 12. Note that the number of boxes has to be an even number, within a certain valid range (currently, between 6 and 100(!)). If you specify an invalid number, the most reasonable/closest number will be picked instead. (For example, if you specify 9 for the box count, Match Game will automatically use the closest valid number 8 that does not exeed 9.) You can also specify the word category. For example, you can say &quot;start a new game with word category Fruit Names&quot;. For a list of valid word categories, you can ask &quot;what are the word categories?&quot; Or, just say, &quot;tell me the list of word categories.&quot; If you don't specify a word category, Alexa will pick a random category for you.<br/><br/>You try to open two boxes at the same time by saying, for example, &quot;open box 1 and box 2&quot; or &quot;open boxes 1 and 2&quot;. Or, you can say &quot;match boxes 1 and 2&quot; or &quot;match 1 and 2&quot;, etc. You can even say &quot;box 1 and box 2&quot; or &quot;boxes 1 and 2&quot;. (But, if you just say &quot;1 and 2&quot;, Alexa may or may not recognize it. Give it a try.) If the words or phrases in those boxes match, Alexa opens the boxes for you and you get a point according to a predefined rule. The best possible score is 100. Please try your memory skill with Match Game. The goal is to open all boxes with as few tries as possible. Don't be frustrated. It's much harder than it sounds.<br/><br/>Any time during a game, you can ask Alexa for a list of open/known boxes or for a list of remaining/closed boxes. Just say, &quot;give me the list of all open boxes&quot; or &quot;what are the remaining boxes?&quot;, etc. You can also ask &quot;what is my score?&quot; with the same result. If you feel like the game is too fast, you can ask Alexa to slow down. Or, you can ask for a timeout. Just say, &quot;I need more time&quot;, &quot;more time&quot;, or &quot;give me a timeout&quot;, etc. If you take a long pause without taking a timeout, the game will end. So, it's important to keep in mind that you should keep talking to Alexa. (But, beware, if you say things that Alexa doesn't understand, she might just end the game.) If you want to start a new game in the middle of an ongoing game, just say things like, &quot;start over&quot;, &quot;start again&quot;, or &quot;next puzzle&quot;, etc. You can also ask Alexa to start a new game with a different box count and/or different word category, etc.<br/><br/>Please let us know if you have any questions or suggestions.<br/><br/><br/>** Some Simple Math for the Geeks<br/><br/>Suppose that there are N boxes (N can be an even number like 12, 20, etc.).<br/><br/>(1) If you are clairvoyant or if you are a David Blaine, you can solve the memory game puzzle in N/2 tries. That is, for 20 boxes, you will need only 10 tries to open all (matching) pairs of boxes.<br/>(2) If you have a perfect memory, it'll take N tries in the worst case. It'll take N/2 to open all boxes at least once (to see their content), and it'll take another N/2 tries to solve the puzzle. But, you might get lucky once in a while and it may take less than N, that is, the actual number will be somewhere between N/2 and N. For a puzzle with 20 boxes, it'll take 10~20 tries if you have a photographic memory (or, a &quot;phonographic memory&quot; in this case).<br/>(3) If you don't have any memory skill, or if you are a monkey, then it'll take N(N-1)/2 tries to open ALL possible combinations of two boxes. That is, for a puzzle with 20 boxes, it'll take a (smart) monkey up to 190 tries to solve the puzzle just by trying out random pairs of boxes.<br/><br/>Now, the question is, how fast can _you_ solve a puzzle with 20 boxes?

Invocation Name

match game

Interaction Examples

alexa, open match game
alexa, ask match game for a game with 20 boxes
alexa, launch match game and start a game with category trees

Release Date

September 22nd 2017