diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..f937a06 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. diff --git a/README.md b/README.md index 18a52f5..975c594 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # Probability and Random Numbers via Slotmachine -Probability Calculations with Random Numbers via Slot Machine Spin Simulation. Includes Probability Table and Results. Console App C#. +Slot Machine Spin Simulation with Probability Table and Results. Console App C#. Change spin count in program.cs. Set at 100,000. As you set to 1,000,000 + spins actual versus expected very close. Typically within 0.01%. diff --git a/SlotMachine/Program.cs b/SlotMachine/Program.cs index 80e69eb..3cf1725 100644 --- a/SlotMachine/Program.cs +++ b/SlotMachine/Program.cs @@ -16,7 +16,6 @@ class Program { static void Main(string[] args) { - SlotMachineApp myApp = new SlotMachineApp(); for (int i = 0; i<100000; i++) diff --git a/mintty.2021-09-11_15-20-54.png b/mintty.2021-09-11_15-20-54.png new file mode 100644 index 0000000..a99cde4 Binary files /dev/null and b/mintty.2021-09-11_15-20-54.png differ