Tiny client-side javascript chess game based on the program that won an International Obfuscation Code Contest.
The original author of the code is Oscar Toledo G.
This is an easy to use chess program which you can cf push to CF (Cloud Foundry) without any changes.
(1) Download index.php and manifest.yml from this repository to a new, empty directory on your PC or Mac
e.g. c:\Users\me\projects> git clone https://github.com/Pivotal-Field-Engineering/chess
c:\Users\me\projects> cd chess
c:\Users\me\projects\chess> dir /b
index.php
manifest.yml
README.md
(2) Install the CF CLI on your machine: https://docs.cloudfoundry.org/cf-cli/install-go-cli.html
(3) If you do not have a CF account, create a free account at https://run.pivotal.io
(4) Execute the cf api command to point to your CF installation API endpoint
e.g. c:\Users\me\projects\chess> cf api api.run.pivotal.io --skip-ssl-validation
n.b. You may not need to use the "--skip-ssl-validation" if your CF installation has the proper SSL Certs in place
(5) Execute the cf login command
e.g. c:\Users\me\projects\chess> cf login
n.b. You may be asked to select an Org and a Space if your administrator gave you access to more than one Org/Space combination
(6) Make sure you change to the directory where you downloaded chess.php and manifest.yml
e.g. c:\Users\me\projects> cd chess
c:\Users\me\projects\chess>
(7) Execute the cf push command to upload the chess.php code, install dependencies, create container, ... (all automatically)
e.g. c:\Users\me\projects\chess> cf push
(8) Once the command prompt is returned to you, look for the "urls:" line and try it out using a browser on your PC or Mac