Tuesday, December 27, 2005

A friend of mine and me had some time to kill at a cabin trip some time ago. As we got tired of Yatzy we started inventing our own game. All we had was the Yatzy dice and a deck of cards, so that's what the game was based on.

The basics

What you need to play Operators is five dice and a deck of cards. The basics of the game are to flip a card, toss the five dice, and then find a way to calculate the value on the card from the numbers on the dice. Like, if your card shows a 7, and your dice shows 1, 6, 2, 5, and 1 then you can combine them like this:

6 + 5 - 2 - 1 - 1 = 7

All the dice must be used in the solution. In this solution there are two mathematical operators in use: + and -. If you wanted to use more operators you could find a more intricate solution:

6 / 2 + 5 - 1 * 1 = 7

This one uses four different operators.

The fun part starts when you introduce more operators to the game, especially binary operators. How about this solution?

6 SHL ((2 SHR 1) AND 1) - 5 = 7

The operators

The operators we first started to use were the normal mathematical operators, +, -, * and /. These should be familiar to all geeks. If they aren't to you then I'm afraid this game is not your cup of tea. A rule of the game is that only operations that give whole-numbered results are allowed. Operations resulting in fractions can not be used. I.e 2 / 5 is not valid.

After a while we started adding more advanced math operators. These are SQR (square), SQRT (square root), POW (power), and MOD (modulo). It was at this point we started losing players. Remember that the rule of whole numbers still apply, so SQRT(8) is not allowed.

At some point we started using also binary operators, which include AND, OR, XOR, SHL (shift left), SHR (shift right), ROL (rotate left), ROR (rotate right) and NOT. For the operators that rely on a given number of bits, namely NOT, ROL and ROR, the number of bits is set to 8. This means that NOT 1 = 254 and that 1 ROR 1 = 128. These operators can't be used on numbers larger than 255. - Now we were getting to play alone.

Tip: When using binary operators, you can visualize by counting on your fingers.

We also tried out some other operators that we decided to disallow in the game. They made it too easy. Most notable is string-concatenation (&) as in 1 & 2 = 12.

How to play

1. Puzzle

A simple way to play is to just try and find a solution. This is like a puzzle more than a game. Just toss the dice and to try and find a correct solution. Sometimes it's easy, other times it's impossible. This way of playing is good practice and a good brain-teaser.

2. Points

A more competitive game is to count points from the solutions. Play like the puzzle, but when the solution is found you calculate a score of points from it. There can be many ways to count points. One way can be to give a certain number of points just for finding a solution, and then add points related to the intricacy of it - like the number of operators used, or based on a "trickyness level" of the operators.

3. Timed

For the quick-headed of you an option is to decide a certain amount of time between tossing the dice and coming up with a solution. You get, say, 1 minute, and you come up with as many solutions as you can within that time. The solution with the highest number of points is used and the score is noted for each round. This can be either turn-based, or all players can work on the same dice simultainously. After a given number of rounds the geek with the highest total score is the winner.

posted on 12/27/2005 10:18:00 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]

Related Posts:
Automated home
Bluetooth doorbell-like button
The CoderKit
Applied Special Relativity Theory
Count to 31 on one hand

Tracked by:
"modesto estreme" (modesto estreme) [Trackback]
"dirty hip hop images" (dirty hip hop images) [Trackback]
"ore boat canadian challenger" (ore boat canadian challenger) [Trackback]
"big butt tight jeans" (big butt tight jeans) [Trackback]
"revlon" (revlon) [Trackback]
"teen" (teen) [Trackback]
"march 1976 playboy" (march 1976 playboy) [Trackback]
"posizione fare amore" (posizione fare amore) [Trackback]
"lesbian fondling teens" (lesbian fondling teens) [Trackback]
"musica mp3 gratis" (musica mp3 gratis) [Trackback]
"sleeping upskirt" (sleeping upskirt) [Trackback]
"megatettone" (megatettone) [Trackback]
"arredamento negozi abbigliamento" (arredamento negozi abbigliamento) [Trackback]
"figc cru" (figc cru) [Trackback]
"rich bitch hates blackmen" (rich bitch hates blackmen) [Trackback]
"lee ryan" (lee ryan) [Trackback]
"boca raton beach hotels" (boca raton beach hotels) [Trackback]
"erotic dating sims" (erotic dating sims) [Trackback]
"massage therapy schools in citrus heights" (massage therapy schools in citrus h... [Trackback]
"bello fighette fotti" (bello fighette fotti) [Trackback]
"wild college girls flashing" (wild college girls flashing) [Trackback]
"legge fallimentare" (legge fallimentare) [Trackback]
"prenotazione vacanza" (prenotazione vacanza) [Trackback]
"grandezza orgia a 3" (grandezza orgia a 3) [Trackback]
"xxx audition" (xxx audition) [Trackback]
"amateur multiple facial shots" (amateur multiple facial shots) [Trackback]
"female athletes posing" (female athletes posing) [Trackback]
"elk grove herald march 6%2c 2006" (elk grove herald march 6%2c 2006) [Trackback]
"controllo di gestione" (controllo di gestione) [Trackback]
"hot bitches big asses tits" (hot bitches big asses tits) [Trackback]
"computer grafica" (computer grafica) [Trackback]
"sindrome" (sindrome) [Trackback]
"sesso in macchina" (sesso in macchina) [Trackback]
"image storage" (image storage) [Trackback]
"stri vectin Sd" (stri vectin Sd) [Trackback]
"Discount Table Linens" (Discount Table Linens) [Trackback]
"advance cash cash loan payday payday" (advance cash cash loan payday payday) [Trackback]
"the greenbrier hotel" (the greenbrier hotel) [Trackback]
"promotional scarves" (promotional scarves) [Trackback]
"nella stanza morsicate" (nella stanza morsicate) [Trackback]
"topamax for migraine %2B hypothyroid" (topamax for migraine %2B hypothyroid) [Trackback]
"Husky Puppy Picture" (Husky Puppy Picture) [Trackback]
"defense acquisition" (defense acquisition) [Trackback]
"Counterstrike Hacks" (Counterstrike Hacks) [Trackback]
"BABY SHOWER INVITATIONS" (BABY SHOWER INVITATIONS) [Trackback]
"Free SMS Service UK" (Free SMS Service UK) [Trackback]
"CAncun wallpaper" (CAncun wallpaper) [Trackback]
"Free Trojan Antivirus" (Free Trojan Antivirus) [Trackback]
"orange county jail" (orange county jail) [Trackback]
"caugh masturbating stories" (caugh masturbating stories) [Trackback]
"chest x-ray basic" (chest x-ray basic) [Trackback]
"enoteche" (enoteche) [Trackback]
"cholesterol in food" (cholesterol in food) [Trackback]
"free bitches" (free bitches) [Trackback]
"panasonic plasma tv" (panasonic plasma tv) [Trackback]
"bakersfeild ca" (bakersfeild ca) [Trackback]
"velvet hookah carrie" (velvet hookah carrie) [Trackback]
"ridiculous infermiera azione" (ridiculous infermiera azione) [Trackback]
"fictional detectives" (fictional detectives) [Trackback]
"bitch island" (bitch island) [Trackback]
"chicago bbw escort" (chicago bbw escort) [Trackback]
"print manager software" (print manager software) [Trackback]
"Santa Barbara Collection" (Santa Barbara Collection) [Trackback]
"tiffany playboy nude singer" (tiffany playboy nude singer) [Trackback]
"Luggage Repair Parts %2B wheels" (Luggage Repair Parts %2B wheels) [Trackback]
"challenger gate garage door openers" (challenger gate garage door openers) [Trackback]
"Kawasaki Ninja 250 Performance" (Kawasaki Ninja 250 Performance) [Trackback]
"real estate woodstock georgia" (real estate woodstock georgia) [Trackback]
"building developers IN USA" (building developers IN USA) [Trackback]
"bangkok train schedule" (bangkok train schedule) [Trackback]
"ford warranty" (ford warranty) [Trackback]
"aspirin vs plavix" (aspirin vs plavix) [Trackback]
"tile backsplash" (tile backsplash) [Trackback]
"NCHRP 350" (NCHRP 350) [Trackback]
"clomid use to overcome low sperm count" (clomid use to overcome low sperm count... [Trackback]
"ball shear process validation" (ball shear process validation) [Trackback]
"wireless pet containment system" (wireless pet containment system) [Trackback]
"fosamax alternative" (fosamax alternative) [Trackback]
"flood guard door" (flood guard door) [Trackback]
"Hot Cheerleaders" (Hot Cheerleaders) [Trackback]
"darvon darvocet difference" (darvon darvocet difference) [Trackback]
"folding baskets" (folding baskets) [Trackback]
"ssl meter bridge not working" (ssl meter bridge not working) [Trackback]
"breastcancer" (breastcancer) [Trackback]
"VIDEO PRODUCTION" (VIDEO PRODUCTION) [Trackback]
"list of HUD funded apartments in san francisco" (list of HUD funded apartme... [Trackback]
"goodbye poems" (goodbye poems) [Trackback]
"Top Residual Income" (Top Residual Income) [Trackback]
"CA truck insurance" (CA truck insurance) [Trackback]
"pressure transducer manufacturer" (pressure transducer manufacturer) [Trackback]
"cheap airfares to cologne ex lgw" (cheap airfares to cologne ex lgw) [Trackback]
"recording retail daily sales" (recording retail daily sales) [Trackback]
"Goals Accomplishments" (Goals Accomplishments) [Trackback]
"Canada Post" (Canada Post) [Trackback]
"cdlive" (cdlive) [Trackback]
"community bible study" (community bible study) [Trackback]
"wakeboard boats" (wakeboard boats) [Trackback]
"pogo stick" (pogo stick) [Trackback]
"cartoon network" (cartoon network) [Trackback]
"display booth" (display booth) [Trackback]
"push cart vending" (push cart vending) [Trackback]