From 862982b03835a66f8a68ca32fcdbc66224b92d4a Mon Sep 17 00:00:00 2001 From: 114789 Date: Fri, 9 Jun 2017 21:58:10 -0400 Subject: [PATCH 1/5] adding test.php --- test.php | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test.php diff --git a/test.php b/test.php new file mode 100644 index 0000000..24b968a --- /dev/null +++ b/test.php @@ -0,0 +1,3 @@ + From c7c5b859bbe205f3ff8a13acf4710c659dbdc7cc Mon Sep 17 00:00:00 2001 From: 114789 Date: Fri, 9 Jun 2017 23:08:26 -0400 Subject: [PATCH 2/5] addming 2 --- test2.php | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test2.php diff --git a/test2.php b/test2.php new file mode 100644 index 0000000..471f06d --- /dev/null +++ b/test2.php @@ -0,0 +1,2 @@ + From 4b1a1c4d839690084be3511543bed487bc7c5c0a Mon Sep 17 00:00:00 2001 From: 114789 Date: Fri, 9 Jun 2017 23:15:25 -0400 Subject: [PATCH 3/5] killing the file --- test.php | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 test.php diff --git a/test.php b/test.php deleted file mode 100644 index 24b968a..0000000 --- a/test.php +++ /dev/null @@ -1,3 +0,0 @@ - From a7bb6db824914719e68e99b9b9d05c5beb898f63 Mon Sep 17 00:00:00 2001 From: 114789 Date: Fri, 9 Jun 2017 23:47:12 -0400 Subject: [PATCH 4/5] clearing house --- test2.php | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 test2.php diff --git a/test2.php b/test2.php deleted file mode 100644 index 471f06d..0000000 --- a/test2.php +++ /dev/null @@ -1,2 +0,0 @@ - From e308f414e06f506e003d2e6cf43b54a431919f58 Mon Sep 17 00:00:00 2001 From: 114789 Date: Sat, 10 Jun 2017 00:07:40 -0400 Subject: [PATCH 5/5] just starting out --- cards.class.php | 36 ++++++++++++++++++++++++++++++++++++ game_controller.php | 5 +++++ index.php | 0 3 files changed, 41 insertions(+) create mode 100644 cards.class.php create mode 100644 game_controller.php create mode 100644 index.php diff --git a/cards.class.php b/cards.class.php new file mode 100644 index 0000000..8870ca2 --- /dev/null +++ b/cards.class.php @@ -0,0 +1,36 @@ +cards=array(); + } + function card_add($card) + { + array_push($this->cards,$card); + } + function deal($number_to_deal) + { + $this->number_in_deck=count($this->cards); + + } + function card_remove($position) + { + unset($this->cards[$position]); + } + } +class card + { + var $suit; + var $pip; + + function __construct($suit,$pip) + { + $this->suit=$suit; + $this->pip=$pip; + } + } +?> \ No newline at end of file diff --git a/game_controller.php b/game_controller.php new file mode 100644 index 0000000..95edde4 --- /dev/null +++ b/game_controller.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..e69de29