shahimian/yii2-aceydu

This is a simulation of the Acey Ducey card game.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

1.0.2 2020-09-09 14:07 UTC

This package is not auto-updated.

Last update: 2020-09-10 06:35:38 UTC


README

This is a simulation of the Acey Ducey card game. In the game, the dealer (the computer) deals two cards face up. You have an option to bet or not to bet depending on whether or not you feel the next card dealt will have a value between the first two. Your initial money is set to $100; you may alter Statement 170 if you want to start with more or less than $100. The game keeps going on until you lose all your money.

Setup

Enter composer shahimian\yii2-aceydu and installing it and able to be run this module with this expression in web.php and that's it. enjoy it!

$config = [
    'components' => [
    'modules' => [   
        'aceydu' => [
              'class' => 'shahimian\aceydu\Module',
              'layout' => 'main',
        ],
     ],
];

Notice: This introduction of description is from 101 BASIC Computer Games book at 1975 by Digital Equipment Corporation.