Closed

PHP Program

Few things to keep in mind before you start working on this:

Quality is important

We are looking for original/unique code (no Googling for the answer whole or in part)

I cannot stress enough Object Oriented

We need to get a simple PHP program written. Below is the description.

War is a card game involving two players. The deck is divided evenly among the two players, giving each

a down stack. In unison, each player reveals the top card on his deck (a "battle"), and the player with the

higher card takes both the cards played and moves them to the bottom of their stack. If the two cards

played are of equal value, each player lays down three face-down cards and picks one of the cards out of

the three (a "war"), and the higher-valued card wins all of the cards on the table, which are then added

to the bottom of the player's stack. If one of the players has no more cards in a battle that player wins

that battle. In the case of another tie, the war process is repeated until there is no tie.

A player wins by collecting all the cards. If a player runs out of cards while dealing the face-down cards

of a war, they may play the last card in his deck as their face-up card and still have a chance to stay in

the game.

Given these rules, define the classes you would implement to build a War simulator, which would log

results for each game and each round of each game in a database. The database must also catalog the

winner of each round and the winner of each game. Provide the following details of the system:

· The SQL schema for the database.

· The classes and the methods you would implement for the system. You do not need to code

the body of the class methods. However, please code the framework in valid PHP code, and provide

PHPDoc documentation for the classes and methods that include a 1-4 sentence explanation of the

purpose of the class/method. Your documentation should include proper documentation of variables,

properties, author, versioning, etc.

JavaScript

Given an HTML unordered list of elements (<ul><li>element 1</li> … </ul>) in a web page, using only

native JavaScript and the jQuery library (jQueryUI and any other libraries are not allowed), write a script

that will allow a user to use drag and drop operations within the browser to reorder the list. Please

provide a single file to be loaded and tested using the Chrome browser. This file should include the

JavaScript Script, any CSS rules, and the HTML code necessary. Please use the Google web resource for

the most recent version of jQuery.

Skills: PHP, Software Architecture

See more: you may not need jquery, this class jquery, purpose of use case, php program code, jquery libraries, google web chrome, google system architecture, define system architecture, define chance, code war, code html css and php program, chrome properties, architecture define, all php program, sql simulator, resource description framework, play web framework, object oriented php, object oriented css, may li, is php object oriented, google javascript framework, google css framework, build a chrome, write a software for library

About the Employer:
( 0 reviews ) Gwalior, Canada

Project ID: #5468094

6 freelancers are bidding on average ₹30703 for this job

renardpaul

Hello, expert in JavaScript and PHP programming here. I can implement for you both your programs (the one for list reordering in JavaScript/jQuery/HTML/CSS and the one that will use PHP for a War card game). Than More

₹50000 INR in 21 days
(97 Reviews)
6.4
GNATECHNOLOGIES

Hello, It is our pleasure to bid on your project. GNA Infotech is a web design and Development Company. We will provide you high quality work which mention as per your job parameters within the timeline. We More

₹24742 INR in 5 days
(18 Reviews)
5.3
alexeyshentyakov

hi, I can help you -------------------------------------------------------------------------------------------------------------------

₹69200 INR in 14 days
(16 Reviews)
3.9
ppandare

We are '3stechmind' team of dedicated software professionals developing the web projects for our [url removed, login to view] area of expertise is design the web site and implement the functional aspects in software technolgies like ph More

₹1200 INR in 1 day
(2 Reviews)
1.3
namitak957

A proposal has not yet been provided

₹1300 INR in 1 day
(0 Reviews)
0.0
georgehussain

Iam glad to share with you our some latest ongoing wprk url given below: [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] [url removed, login to view] and many o More

₹37777 INR in 16 days
(0 Reviews)
0.0
WxdyEyqsOlcO

Hi we are a team of freelance software developers, if you contact me at our website we can discuss the details of the project. w w w . [url removed, login to view]

₹38333 INR in 1 day
(0 Reviews)
0.0