Giter Site home page Giter Site logo

jrobinsonvm / chess Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vmware-archive/chess

0.0 0.0 0.0 5 KB

Tiny client-side javascript chess game based on the program that won an International Obfuscation Code Contest. Very simple to cf push to Cloud Foundry.

PHP 100.00%

chess's Introduction

Chess

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.

Instructions for beginners

(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

chess's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.