UNIX Games

Discussion in 'macOS' started by Laser47, Mar 10, 2006.

  1. Laser47 macrumors 6502a

    Laser47

    Joined:
    Jan 8, 2004
    Location:
    Maryland
    #1
    Well I was bored so I wanted to learn the workings of Unix and found a sweet little piece of code to enter into terminal
    Code:
    /usr/share/emacs/21.2/lisp/play
    Which gives you this;
    Code:
    5x5.el          dissociate.el   gametree.elc    meese.el        solitaire.elc
    5x5.elc         dissociate.elc  gomoku.el       meese.elc       spook.el
    animate.el      doctor.el       gomoku.elc      morse.el        spook.elc
    animate.elc     doctor.elc      handwrite.el    morse.elc       studly.el
    blackbox.el     dunnet.el       handwrite.elc   mpuz.el         studly.elc
    blackbox.elc    dunnet.elc      hanoi.el        mpuz.elc        tetris.el
    bruce.el        fortune.el      hanoi.elc       pong.el         tetris.elc
    cookie1.el      fortune.elc     landmark.el     pong.elc        yow.el
    cookie1.elc     gamegrid.el     landmark.elc    snake.el        yow.elc
    decipher.el     gamegrid.elc    life.el         snake.elc       zone.el
    decipher.elc    gametree.el     life.elc        solitaire.el    zone.elc
    
    Those are infact games included emacs which is a part of Unix and you can actually play them in terminal
    1. Open terminal
    2. Type emacs
    3. Press Esc+X
    4. Type in the game you want to play
     

    Attached Files:

  2. risc macrumors 68030

    risc

    Joined:
    Jul 23, 2004
    Location:
    Melbourne, Australia
    #2
    Emacs is a text editor NOT the UNIX file system, and yes it includes everything including the kitchen sink.
     
  3. Laser47 thread starter macrumors 6502a

    Laser47

    Joined:
    Jan 8, 2004
    Location:
    Maryland
    #3
    My bad, I meant It was part of emacs which was a part of Unix. Atleast thats what the article I read told me
     
  4. risc macrumors 68030

    risc

    Joined:
    Jul 23, 2004
    Location:
    Melbourne, Australia
    #4
    It is in most UNIX or UNIX like OSes but it definitely isn't part of UNIX. Indeed you would get shot for saying it was part of UNIX if you spoke to the people who wrote the GNU (GNUs Not UNIX) version that came with OS X.

    I love the emacs doctor that thing drives me nuts. :D
     
  5. jhu macrumors 6502a

    jhu

    Joined:
    Apr 4, 2004
    #5
    ah, well, who needs a gui when emacs does everything?
     
  6. Doctor Q Administrator

    Doctor Q

    Staff Member

    Joined:
    Sep 19, 2002
    Location:
    Los Angeles
    #6
    If you make your Terminal window wide, you can type "banner whatever" where whatever is replaced by your favorite word or phrase.

    You can have fun for hours!

    Well, more accurately, for about 0.01667 hours.
     
  7. skoker macrumors 68000

    skoker

    Joined:
    Aug 6, 2005
  8. Doctor Q Administrator

    Doctor Q

    Staff Member

    Joined:
    Sep 19, 2002
    Location:
    Los Angeles
    #8
    I'm not sure what you tried to do, but you might be in need of the banner -w switch, to limit the width of the banner display.
    Code:
    % banner -w 60 skoker
                  ######          ### 
                  ######       ######## 
                   ####       ###########
                   ###       #############
                   ##        ######     ## 
                  ##        ######       ##
                  ##        ######       ##
                  ##       ######       ###
                  ##       ######      ### 
                   ##     #######      ###
                   #############     ######
                    ###########      ######
                      ####### 
                             
                  ##                                      # 
                  ######################################### 
                  ######################################### 
                  ######################################### 
                  ######################################### 
                  ##         ######
                           ######### 
                         #############
                       ##########   ###  ##
                  ## ##########       #####
                  ##########            ###
                  #######                ##
                  ######
                  ### 
                  ##
                          ######## 
                       ###############
                     ################## 
                    #####################
                   ####               ####
                   ##                   ## 
                  ##                     ##
                  ##                     ##
                  ##                    ###
                   ##                   ## 
                   ####               ####
                    #####################
                     ################## 
                       ###############
                          ######## 
                  ##                                      # 
                  ######################################### 
                  ######################################### 
                  ######################################### 
                  ######################################### 
                  ##         ######
                           ######### 
                         #############
                       ##########   ###  ##
                  ## ##########       #####
                  ##########            ###
                  #######                ##
                  ######
                  ### 
                  ##
                          ######## 
                       ###############
                     ################## 
                    #####################
                   ####      ##       ####
                   ##        ##         ## 
                  ##         ##          ##
                  ##         ##          ##
                  ##         ##         ###
                   #         ##        ### 
                   ##        ##    ###### 
                    ###      ########### 
                      ##     ##########
                             ########
                                   
                  ##                     ##
                  #########################
                  #########################
                  #########################
                  #########################
                  ##                ###
                                     ### 
                                      ### 
                                       ### 
                                    #######
                                  #########
                                  ######## 
                                  ########
                                    ### 
     
  9. risc macrumors 68030

    risc

    Joined:
    Jul 23, 2004
    Location:
    Melbourne, Australia
    #9
    Yeah it is an insane app seems to be an OS all to itself.
     
  10. jhu macrumors 6502a

    jhu

    Joined:
    Apr 4, 2004
    #10
    hmmm... now there's an idea, tack on some boot code, video driver, keyboard driver, generic ide driver, and it becomes a full-fledged os!
     

Share This Page