Skip to content
Snippets Groups Projects
Select Git revision
  • 3f8fea2ed645ffe73e5765afb24b31726d8d8c97
  • master default protected
  • 1.1.1
  • 1.1
  • 1.0
5 results

one_armed_bandit.h

Blame
  • one_armed_bandit.h 752 B
    #include "game.h"
    /*
      _____               ___                          _  ______                 _ _ _
     |  _  |             / _ \                        | | | ___ \               | (_) |
     | | | |_ __   ___  / /_\ \_ __ _ __ ___   ___  __| | | |_/ / __ _ _ __   __| |_| |_
     | | | | '_ \ / _ \ |  _  | '__| '_ ` _ \ / _ \/ _` | | ___ \/ _` | '_ \ / _` | | __|
     \ \_/ / | | |  __/ | | | | |  | | | | | |  __/ (_| | | |_/ / (_| | | | | (_| | | |_
      \___/|_| |_|\___| \_| |_/_|  |_| |_| |_|\___|\__,_| \____/ \__,_|_| |_|\__,_|_|\__|
    
    
    
            /\/\
           |   |
     (____|_____|____)
          | o o |
          |__^__|
          \#####/
           \###/
            \#/
            
    */
    int how_many_points(machine mas);
    // returns the score based on the positionning of the wheels