-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
28 lines (19 loc) · 1021 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
include_once( dirname( __FILE__ ) . '/lib/Card.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Suit.class.php' );
include_once( dirname( __FILE__ ) . '/lib/SuitedCard.class.php' );
include_once( dirname( __FILE__ ) . '/lib/CardSet.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Heart.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Diamond.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Spade.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Club.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Hand.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Player.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Deck.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Game.class.php' );
include_once( dirname( __FILE__ ) . '/lib/Round.class.php' );
include_once( dirname( __FILE__ ) . '/lib/War.class.php' );
$player_details = array('name' => "Jesse");
$settings = array('player1' => $player_details);
$game = new War($settings);
$game->play();