Skip to content

simzer/xor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

xor

NAME

xor - binary hand game for programmers

DESCRIPTION

The game is played between two players, Player 0 and Player 1. Both players say "Oh, One, One-oh, Xor!". As the word "Xor" is said, the two players quickly and simultaneously thrust a fist into the center, extending a thumb finger, or not, indicating zero or one. The logical operation exclusive OR of displayed binary numbers decides the winner: player 0 wins if the same numbers are shown, player 1 wins otherwise.

                                                                   :)                                   :(
      ,--.____              ____.--,                                    ,--.____             ____.--,    
 ----" _, \___)            (___/ ,_ "----          case A          ----" _, \___)           (___/ ,_ "----
       / _/____)    OH!   (____\_ \             ,- - - - - ->            / _/____)         (____\_ \
       \//(____)          (____)\\/             :                        \//(____)         (____)\\/
 ----\     (__)            (__)     /----       :                  ----\     (__)           (__)     /----
      `-----"                "-----'            :                       `-----"               "-----'
                   _||_                         :
         _         \  /         _               :                  :(                                   :)
        //\         \/         /\\              :                       ,--.____        _________.--,
       /  /                    \  \             :  case B          ----" _, \___)      (________/ ,_ "----
      /  (____              ____)  \            +- - - - - ->            / _/____)         (____\_ \
 ----"   ,(___)            (___),   "----       :                        \//(____)         (____)\\/
        ,'(____)   ONE!   (____)',              :                  ----\     (__)           (__)     /----
          (____)          (____)                :                       `-----"               "-----'
 ----\     (__)            (__)     /----       :                           
      `-----"                "-----'            :                  :(                                   :)
                   _||_                         :                       ,--._________        ____.--,
                   \  /                         :  case C          ----" _, \________)      (___/ ,_ "----
                    \/                          +- - - - - ->            / _/____)         (____\_ \
      ,--._________    _________.--,            :                        \//(____)         (____)\\/
 ----" _, \________)  (________/ ,_ "----       :                  ----\     (__)           (__)     /----
       / _/____)          (____\_ \             :                       `-----"               "-----'
       \//(____)          (____)\\/             :                    
 ----\     (__)   ONE-OH!  (__)     /----       :                  :)                                   :(
      `-----"                "-----'            :                       ,--._________   _________.--,
                  _||_                          :  case D          ----" _, \________) (________/ ,_ "----
                  \  /                          +- - - - - ->            / _/____)         (____\_ \
                   \/                           :                        \//(____)         (____)\\/
                                                :                  ----\     (__)           (__)     /----
                  XOR!   - - - - - - - - - - - -'                       `-----"               "-----'

AUTHOR

Laszlo Simon [email protected]

LICENCE

CC-BY-SA

About

binary hand game for programmers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published