Step-­‐by-­‐step  guide  for  the     2048-­‐AI  (made  by  nneonneo)     1.  Download  Cygwin:     First  you  have  to  download  Cygwin:      

http://cygwin.com/setup-­‐x86.exe  -­‐  if  you  have  32  bit  OS   http://cygwin.com/setup-­‐x86_64.exe  -­‐  if  you  have  64  bit  OS.  

2.  Install  Cygwin:     First  you  have  to  select  where  do  you  want  to  download  the  parts  from.  I   recommend  choosing  the  Install  from  Internet  option.

    Click  Next,  then  select  the  install  folder  (use  the  default:  C:\cygwin  for  32-­‐ bit  systems  or  C:\cygwin64  for  64-­‐bit  systems)     Select  the  local  package  directory  (it's  completely  your  choice)     Then  select  your  internet  connection,  and  the  mirror  you  want  to  download   from.  Here  is  a  list  containing  the  locations  of  the  mirrors:   http://cygwin.com/mirrors.html  

 

In  the  next  window,  there  is  a  search  bar.

  Search  for:  -­‐  "g++"  -­‐  and  there  is  a  Devel  directory.  Set  it  to  Install  by   clicking  to  that  arrow.                        -­‐  "make"  -­‐  select  the  Devel  directory  again,  set  it  to  Install                        -­‐  "python"  -­‐  Select  the  Python  directory,  set  it  to  Install     Press  the  Next  button,  and  wait  until  it  finishes  the  install.  

3.  Add  Cygwin  to  Environment  Variables     Start  menu  -­‐>  Right-­‐click  to  "Computer"  -­‐>  Properties    

 

Click  to  "Advanced  system  settings".

 

 

  Select  "Environment  Variables..."  -­‐>  Under  the  system  variables,  search  for   PATH  -­‐>  Edit...  -­‐>  Go  to  the  end  of  the  "Variable  value"  box,  and  add  the  following   (without  the  quotation  marks):         ";C:\cygwin\bin"  -­‐  if  you  have  32  bit  OS       ";C:\cygwin64\bin"  -­‐  if  you  have  64  bit  OS     Hit  OK  and  you  are  done  with  this.     Launch  the  Cygwin  Terminal  from  the  desktop,  and  let  it  create  the   necessary  files  and  directories.  

  4.  Download  the  necessary  files:     https://github.com/nneonneo/2048-­‐ai  -­‐>  Download  ZIP.     After  you  downloaded  the  ZIP,  unzip  it  to  the  following  directory:       "C:\cygwin(64)\home\<>\"     <>  directory  should  exist  after  you  launched  the  Cygwin   Terminal.    

5.  Makefile     If  you  successfully  unzipped  the  files  to  the  directory,  open  the  Cygwin   Terminal,  and  write:  "make"  and  press  Enter  

 

  If  everything  is  installed  correctly,  and  put  to  the  correct  directory,  then  it   should  work,  so  it  will  create  a  subfolder:     "C:\cygwin\home\<>\bin\"     There  should  be  two  files:  2048.exe  and  2048.so     If  you  want  to  see  the  AI  in  action,  run  the  exe  file.    

6.  Install  Mozilla  Firefox  (v28.0)  and  Remote  Control  (v1.0)     First  install  Mozilla  Firefox,  and  after  you  open  it,  go  to  this  page,  and  install   the  plug-­‐in:  https://addons.mozilla.org/en-­‐US/firefox/addon/remote-­‐control/     You  have  to  add  it  to  the  toolbar  if  you  want  to  enable  it,  so  do  so.     Open  up  the  2048  website,  and  activate  the  Remote  Control  (do  not  open   new  tabs)  :  http://gabrielecirulli.github.io/2048/    

7.  Running  the  python     Open  up  the  Cygwin  Terminal,  and  write:  "python  2048.py"  and  press   Enter.  

  If  you  have  Firefox  running  with  enabled  Remote  Control  on  the  game's   site,  then  the  program  should  start  solving  the  game.  Have  fun!  

 

Step-by-step instructions for Cygwin - GitHub

2. Install Cygwin: First you have to select where do you want to download the parts from. I recommend choosing ... of the mirrors: http://cygwin.com/mirrors.html ...

427KB Sizes 0 Downloads 327 Views

Recommend Documents

Instructions for using FALCON - GitHub
Jul 11, 2014 - College of Life and Environmental Sciences, University of Exeter, ... used in FALCON is also available (see FALCON_Manuscript.pdf. ). ... couraged to read the accompanying technical document to learn ... GitHub is an online repository

Mendel90 Kit Instructions - GitHub
Jul 27, 2012 - 01/10/13 Updated remaining assembly views for black screws and red ...... Start by printing a paper template from the pdf drawing y_heatshield.pdf. ...... thick then you might want to re-slice the Android STL with the PLA 0.2mm.

Instructions for ACL-2013 Proceedings - GitHub
The Stream Manager supervises all streaming aspects of ... A player's “performance” in that one-minute in- terval is ..... Hypertext and social media (pp. 319-320) ...

Overview Instructions - GitHub
The build produces a kernel image, a root file system, and kernel header ... git1+973494766d7ca2401e3138f28b6257a5b899cf1d-r0/linux-lsisim-standard-build.

Monolase - Instructions - GitHub
STUFF. For any questions, comments, bugs, or feature requests contact me at [email protected]. Patch can be downloaded at my webpage:.

Overview Instructions - GitHub
With U-Boot as the boot loader, the above need to be put into a format that U-Boot understands. The following describes using the FIT format (see doc/uImage.

Overview Instructions - GitHub
Just the Linux kernel. • Linux and the device tree. • Linux, the device tree, and a root file system. The simulator only supports using separate images for Linux ...

Instructions for ACL-2013 Proceedings - GitHub
semi-final match of the UEFA Champions. League 2012 generated 13,684 tweets-per- second during the final stages of the match which was a record for the tweets-per-second generated for a sporting event.1. The generated tweets are mostly about events d

INSTRUCTIONS FOR EXAM ADMINISTRATORS INSTRUCTIONS 1 ...
For Online Examination, we have divided Candidates into three batches as per the maximum sitting capacity available for conducting ... The online test is divided into 3 sections equally distributed in 1 hour – each section is timed for 20 minutes.

INSTRUCTIONS FOR EXAM ADMINISTRATORS INSTRUCTIONS 1 ...
INSTRUCTIONS. 1. For Online Examination, we have divided Candidates into three batches as per the maximum ... The online test is divided into 3 sections equally distributed in 1 hour – each section is timed for 20 minutes. 4. .... of the test candi

pdf-1415\instructions-for-armourers-martini-henry-instructions-for ...
... the apps below to open or edit this item. pdf-1415\instructions-for-armourers-martini-henry-instru ... care-and-repair-of-martini-enfield-by-frederic-faust.pdf.

Instructions for ACL 2007 Proceedings
Jun 29, 2007 - will win'). The challenge lies in explaining this apparent contradiction. Given the highly produc- tive nature of inflection, why do paradigmatic gaps arise? Why do they persist? ... combined list of 96 gaps representing 68 distinct st

Instructions for authors - Revista Javeriana
Author must approve style and language suggestions (proof) and return the final version within 3 business days. ... Reviews: Collect, analyze, systematize and integrate the results of published and unpublished research (e.g., author's .... Previously

instructions for authors
segmentation accuracy (or performance) of 90.45% was achieved ... using such diagnostic tools, frequent referrals to alternate expensive tests such as echocardiography may be reduced. ... The automatic segmentation algorithm is based on.

Instructions for authors - Revista Javeriana
Articles lacking conclusive results or scientific significance that duplicate well-established knowledge within a field will not be published ... Upon the author's request, the journal will provide a list of expert English, Portuguese and Spanish tra

StarNet instructions for students.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. StarNet ...

(Contestant) INSTRUCTIONS FOR PARENT OR ... Developers
Dec 7, 2015 - of the form and have the contestant upload via the contest website. If there is more than one file, combine them into a zip archive for upload. 2.

(Contestant) INSTRUCTIONS FOR PARENT OR ... Developers
This form may also be filled out online. Ask the contestant to send you the link .... principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA. 1.2 Overview​. (a). The Contest is a ... (iv) otherwise prohibited by appl

Instructions for Waitlisted Candidates -
Jul 27, 2012 - Telefax: 040-23001830, Website: www.rgukt.in, email: [email protected]. RGUKT ... 10th Class Board Examination Hall Ticket. 2. 10 th.

Instructions for authors - Revista Javeriana - Universidad Javeriana
in the state of knowledge of an active area of research. ... are available on our Open Journal System; http://revistas.javeriana.edu.co/index.php/scientarium/ ..... permission issued by the holder of economic and moral rights of the material.

instructions for preparation of manuscripts -
The authors wish to express their acknowledgement to the Basque Government and the Provincial Council of. Gipuzkoa. This work has been funded by them as ...

Instructions for Disk Imaging -
Jun 30, 2015 - ... to 1) regenerate a bit-‐for-‐bit copy of a drive or disk and 2) mount the drive or disk as a read-‐only filesystem, from which staff can explore or ...

Instructions for Limited Regulation Permit Applications.pdf ...
Instructions for Limited Regulation Permit Applications.pdf. Instructions for Limited Regulation Permit Applications.pdf. Open. Extract. Open with. Sign In.

Instructions for ACL 2007 Proceedings
Internet Resources. Names were retrieved fur- ... Internet Resources. Names Databases .... corporation into the FAST ESP framework,. (FAST,_). FAST ESP is an ...