NetLogo banner

 Home
 Download
 Resources
 Extensions
 FAQ
 References
 Contact Us

 Models:
 Library
 Community

 User Manuals:
 Web
 Printable
 Chinese
 Czech

Donate

NetLogo Models Library:
HubNet Activities

For information about HubNet, click here.

(back to the library)

Memory HubNet

[screen shot] (The run link is disabled because HubNet Activities cannot be run in the web applet version of NetLogo)

Note: If you download the NetLogo application, all of the HubNet Activities are included.

This activity is available only for computer HubNet, not calculator HubNet.

WHAT IS IT?

This is a HubNet version of the classic card game Memory. The game tests players' short term memory of where they last saw an image appear. Players can test different mental strategies for remembering.

A deck of cards made up of card pairs of matching images are dealt face down. Each player takes turns flipping over two cards. If they match, the player keeps the cards and goes again. If the two cards don't match they are put face down again.

At first, the players have no information about the cards. The more cards that are turned over, the more information the players have -- if they can only remember it!

HOW IT WORKS

Buttons:
SETUP initializes the world but does not remove any of the players
DEAL starts a new game
GO allows the players who have joined to play the game. Each player plays the game in a sequential order, but all players can see the cards that other player flip over when they are face up.
SHOW-ALL-CARDS turns over all the cards so all the faces are revealed and all the matches are visible.
HIDE-ALL-CARDS turns all the cards face down so the matches are no longer visible.

Sliders:
PAIRS-IN-DECK determines how many shapes are used (up to 52, though you could add more if you were to resize the world and add more shapes).
PAIR-UP-DELAY indicates how long you want the turned over cards to display before hiding them again.

Monitors:
CARDS REMAINING - the number of cards that have not yet been matched.
CURRENT-PLAYER - the name of the player who is taking his or her turn.
NUMBER-OF-PLAYERS - the number of people currently logged in and playing the game.

HOW TO USE IT

Press SETUP. Ask the players to login using the HubNet client. When everyone has successfully logged in press the GO button. The name of the current player will appear in the CURRENT-PLAYER monitor on the server and the WHOSE TURN monitor on the clients. Only that client will be allowed to select two cards to turn over by clicking on them with the mouse. If the cards match the cards will be removed and that player will receive a point and another turn, if not the CURRENT-PLAYER will be incremented to the next player. The game ends when all pairs of cards are matched and removed from the board.

THINGS TO NOTICE

Try to remember where all the cards you see are located. The game tests your ability to memorize where you last saw an image.

THINGS TO TRY

Try different mental strategies for choosing cards and for remembering cards. You can't remember everything, so how will you choose which cards to remember? How many can you remember perfectly? How many can you remember well enough to at least make good guesses?

Adjust the PAIR-UP-DELAY to a higher number to give players a longer or shorter time to study where the flipped up cards are located.

Smaller decks are easier. Adjust the PAIRS-IN-DECK slider to set the difficulty level.

The game is most fun if it's neither too easy nor too hard. What's the best deck size for two players? Three players? Four players? Etc.

EXTENDING THE MODEL

Change the shapes used or add more using the Turtle Shapes Editor.

Change the number of cards in each set, have three or four cards of each shape.

NETLOGO FEATURES

The use of invisible turtles to represent players is a little unusual. The location of these turtles in the world is irrelevant; they are used just to store information.

We use the DISPLAY primitive to control what the players see when, and for how long.

HOW TO CITE

If you mention this model in an academic publication, we ask that you include these citations for the model itself and for the NetLogo software:
- Wilensky, U. (2009). NetLogo HubNet Memory HubNet model. http://ccl.northwestern.edu/netlogo/models/HubNetMemoryHubNet. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.
- Wilensky, U. (1999). NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.

In other publications, please use:
- Copyright 2009 Uri Wilensky. All rights reserved. See http://ccl.northwestern.edu/netlogo/models/HubNetMemoryHubNet for terms of use.

COPYRIGHT NOTICE

Copyright 2009 Uri Wilensky. All rights reserved.

Permission to use, modify or redistribute this model is hereby granted, provided that both of the following requirements are followed:
a) this copyright notice is included.
b) this model will not be redistributed for profit without permission from Uri Wilensky. Contact Uri Wilensky for appropriate licenses for redistribution for profit.

(back to the NetLogo Models Library)