The purpose of the following example is to get you acquainted with the Vector class in Java. We're going to create a program that simulates a deck of cards. The constraints are; you may only use Vectors and arrays. As you may know, Vectors only accept objects so your cards should be objects. The initial portion of the program display the cards and their suites in order (i.e. Ace of Diamonds, King of Diamonds, Queen of Diamonds ... 2 of Diamonds ... Ace of Hearts, King of Hearts ... ). You are to create your own shuffle algorithm; do not use Collections.shuffle(). Here's what I came up with.
This will get you started on getting your first React/Laravel application deployed to your server. We'll cover everything from installation to deployment. Start by reading the installation instructions on https://laravel.com/docs/6.x#installing-laravel . We'll cover those details below. Setting Up Laravel Check that you have the latest version of PHP installed on your computer. It must be >= 7.2.0. Open terminal to get the Laravel installation tool. Type in composer global require laravel/installer Type in laravel to verify installation. Navigate to a directory on your computer where you want to install your project on your terminal. Run the following command: laravel new project_name (replace project_name with your project name). Once complete, cd into your new project. Type the following command: php artisan serve. You'll get a message like the following if it's running successfully: Laravel development server started: http://127.0.0.1:8000 ...
Comments
Post a Comment